#include <constraint_solver.h>
A Decision represents a choice point in the search tree. The two main methods are Apply() to go left, or Refute() to go right.
Definition at line 3451 of file constraint_solver.h.
◆ Decision() [1/2]
operations_research::Decision::Decision |
( |
| ) |
|
|
inline |
◆ Decision() [2/2]
operations_research::Decision::Decision |
( |
const Decision & | | ) |
|
|
delete |
This type is neither copyable nor movable.
◆ ~Decision()
operations_research::Decision::~Decision |
( |
| ) |
|
|
inlineoverride |
◆ Accept()
void operations_research::Decision::Accept |
( |
DecisionVisitor * | visitor | ) |
const |
|
virtual |
◆ Apply()
virtual void operations_research::Decision::Apply |
( |
Solver * | s | ) |
|
|
pure virtual |
Apply will be called first when the decision is executed.
◆ DebugString()
std::string operations_research::Decision::DebugString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ operator=()
◆ Refute()
virtual void operations_research::Decision::Refute |
( |
Solver * | s | ) |
|
|
pure virtual |
Refute will be called after a backtrack.
The documentation for this class was generated from the following files: