![]() |
OR-Tools
9.6
|
Definition at line 43 of file subsolver.h.
Public Types | |
| enum | SubsolverType { FULL_PROBLEM , FIRST_SOLUTION , INCOMPLETE , HELPER } |
Public Member Functions | |
| SubSolver (const std::string &name, SubsolverType type) | |
| virtual | ~SubSolver () |
| virtual bool | TaskIsAvailable ()=0 |
| virtual std::function< void()> | GenerateTask (int64_t task_id)=0 |
| virtual void | Synchronize ()=0 |
| double | score () const |
| double | deterministic_time () const |
| std::string | name () const |
| SubsolverType | type () const |
| virtual std::string | StatisticsString () const |
Protected Attributes | |
| const std::string | name_ |
| const SubsolverType | type_ |
| double | score_ = 0.0 |
| double | deterministic_time_ = 0.0 |
| enum SubsolverType |
| Enumerator | |
|---|---|
| FULL_PROBLEM | |
| FIRST_SOLUTION | |
| INCOMPLETE | |
| HELPER | |
Definition at line 45 of file subsolver.h.
|
inline |
Definition at line 47 of file subsolver.h.
|
inlinevirtual |
Definition at line 49 of file subsolver.h.
|
inline |
Definition at line 86 of file subsolver.h.
|
pure virtual |
Implemented in NeighborhoodGeneratorHelper, and SynchronizationPoint.
|
inline |
Definition at line 89 of file subsolver.h.
|
inline |
Definition at line 82 of file subsolver.h.
|
inlinevirtual |
Definition at line 95 of file subsolver.h.
|
pure virtual |
Implemented in NeighborhoodGeneratorHelper, and SynchronizationPoint.
|
pure virtual |
Implemented in NeighborhoodGeneratorHelper, and SynchronizationPoint.
|
inline |
Definition at line 92 of file subsolver.h.
|
protected |
Definition at line 101 of file subsolver.h.
|
protected |
Definition at line 98 of file subsolver.h.
|
protected |
Definition at line 100 of file subsolver.h.
|
protected |
Definition at line 99 of file subsolver.h.