C++ Reference
C++ Reference: Routing
Detailed Description
Definition at line 3391 of file constraint_solver.h.
Public Member Functions | |
| ProfiledDecisionBuilder (DecisionBuilder *db) | |
| ~ProfiledDecisionBuilder () override | |
| const std::string & | name () const |
| double | seconds () const |
| Decision * | Next (Solver *const solver) override |
| This is the main method of the decision builder class. More... | |
| std::string | DebugString () const override |
| void | AppendMonitors (Solver *const solver, std::vector< SearchMonitor * > *const extras) override |
| This method will be called at the start of the search. More... | |
| void | Accept (ModelVisitor *const visitor) const override |
| void | set_name (const std::string &name) |
| std::string | GetName () const |
Constructor & Destructor Documentation
◆ ProfiledDecisionBuilder()
|
explicit |
◆ ~ProfiledDecisionBuilder()
|
inlineoverride |
Definition at line 3394 of file constraint_solver.h.
Member Function Documentation
◆ Accept()
|
overridevirtual |
Reimplemented from DecisionBuilder.
◆ AppendMonitors()
|
overridevirtual |
This method will be called at the start of the search.
It asks the decision builder if it wants to append search monitors to the list of active monitors for this search. Please note there are no checks at this point for duplication.
Reimplemented from DecisionBuilder.
◆ DebugString()
|
overridevirtual |
Reimplemented from DecisionBuilder.
◆ GetName()
|
inherited |
◆ name()
|
inline |
Definition at line 3395 of file constraint_solver.h.
◆ Next()
This is the main method of the decision builder class.
It must return a decision (an instance of the class Decision). If it returns nullptr, this means that the decision builder has finished its work.
Implements DecisionBuilder.
◆ seconds()
|
inline |
Definition at line 3396 of file constraint_solver.h.
◆ set_name()
|
inlineinherited |
Definition at line 3382 of file constraint_solver.h.
The documentation for this class was generated from the following file: