NOLINT.
The PropagationBaseObject is a subclass of BaseObject that is also friend to the Solver class. It allows accessing methods useful when writing new constraints or new expressions.
Definition at line 3104 of file constraint_solver.h.
◆ PropagationBaseObject()
| operations_research::PropagationBaseObject::PropagationBaseObject |
( |
Solver *const |
s | ) |
|
|
inlineexplicit |
◆ ~PropagationBaseObject()
| operations_research::PropagationBaseObject::~PropagationBaseObject |
( |
| ) |
|
|
inlineoverride |
◆ BaseName()
| virtual std::string operations_research::PropagationBaseObject::BaseName |
( |
| ) |
const |
|
virtual |
◆ DebugString()
| std::string operations_research::PropagationBaseObject::DebugString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ EnqueueAll()
| void operations_research::PropagationBaseObject::EnqueueAll |
( |
const SimpleRevFIFO< Demon * > & |
demons | ) |
|
◆ EnqueueDelayedDemon()
| void operations_research::PropagationBaseObject::EnqueueDelayedDemon |
( |
Demon *const |
d | ) |
|
|
inline |
This method pushes the demon onto the propagation queue.
It will be processed directly if the queue is empty. It will be enqueued according to its priority otherwise.
Definition at line 3129 of file constraint_solver.h.
◆ EnqueueVar()
| void operations_research::PropagationBaseObject::EnqueueVar |
( |
Demon *const |
d | ) |
|
|
inline |
◆ ExecuteAll()
| void operations_research::PropagationBaseObject::ExecuteAll |
( |
const SimpleRevFIFO< Demon * > & |
demons | ) |
|
◆ FreezeQueue()
| void operations_research::PropagationBaseObject::FreezeQueue |
( |
| ) |
|
|
inline |
This method freezes the propagation queue.
It is useful when you need to apply multiple modifications at once.
Definition at line 3120 of file constraint_solver.h.
◆ HasName()
| bool operations_research::PropagationBaseObject::HasName |
( |
| ) |
const |
Returns whether the object has been named or not.
◆ name()
| virtual std::string operations_research::PropagationBaseObject::name |
( |
| ) |
const |
|
virtual |
◆ reset_action_on_fail()
| void operations_research::PropagationBaseObject::reset_action_on_fail |
( |
| ) |
|
|
inline |
◆ set_action_on_fail()
| void operations_research::PropagationBaseObject::set_action_on_fail |
( |
Solver::Action |
a | ) |
|
|
inline |
◆ set_name()
| void operations_research::PropagationBaseObject::set_name |
( |
const std::string & |
name | ) |
|
◆ set_variable_to_clean_on_fail()
| void operations_research::PropagationBaseObject::set_variable_to_clean_on_fail |
( |
IntVar * |
v | ) |
|
|
inline |
◆ solver()
| Solver* operations_research::PropagationBaseObject::solver |
( |
| ) |
const |
|
inline |
◆ UnfreezeQueue()
| void operations_research::PropagationBaseObject::UnfreezeQueue |
( |
| ) |
|
|
inline |
This method unfreezes the propagation queue.
All modifications that happened when the queue was frozen will be processed.
Definition at line 3124 of file constraint_solver.h.
The documentation for this class was generated from the following file: