C++ Reference
C++ Reference: Routing
Detailed Description
class operations_research::CallMethod1< T, P >
Demon proxy to a method on the constraint with one argument.
Definition at line 543 of file constraint_solveri.h.
Public Member Functions | |
CallMethod1 (T *const ct, void(T::*method)(P), const std::string &name, P param1) | |
~CallMethod1 () override | |
void | Run (Solver *const s) override |
This is the main callback of the demon. More... | |
std::string | DebugString () const override |
virtual Solver::DemonPriority | priority () const |
This method returns the priority of the demon. More... | |
void | inhibit (Solver *const s) |
This method inhibits the demon in the search tree below the current position. More... | |
void | desinhibit (Solver *const s) |
This method un-inhibits the demon that was previously inhibited. More... | |
Constructor & Destructor Documentation
◆ CallMethod1()
|
inline |
Definition at line 545 of file constraint_solveri.h.
◆ ~CallMethod1()
|
inlineoverride |
Definition at line 549 of file constraint_solveri.h.
Member Function Documentation
◆ DebugString()
|
inlineoverridevirtual |
Reimplemented from Demon.
Definition at line 553 of file constraint_solveri.h.
◆ desinhibit()
|
inherited |
This method un-inhibits the demon that was previously inhibited.
◆ inhibit()
|
inherited |
This method inhibits the demon in the search tree below the current position.
◆ priority()
|
virtualinherited |
This method returns the priority of the demon.
Usually a demon is fast, slow or normal. Immediate demons are reserved for internal use to maintain variables.
Reimplemented in DelayedCallMethod0< T >, DelayedCallMethod1< T, P >, and DelayedCallMethod2< T, P, Q >.
◆ Run()
|
inlineoverridevirtual |
This is the main callback of the demon.
Implements Demon.
Definition at line 551 of file constraint_solveri.h.
The documentation for this class was generated from the following file: