![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Low-priority demon proxy to a method on the constraint with no arguments. More...
Low-priority demon proxy to a method on the constraint with no arguments.
These methods represents generic demons that will call back a method on the constraint during their Run method. This demon will have a priority DELAYED_PRIORITY.
Definition at line 672 of file constraint_solveri.h.
#include <constraint_solveri.h>
Public Member Functions | |
| DelayedCallMethod0 (T *const ct, void(T::*method)(), const std::string &name) | |
| ~DelayedCallMethod0 () override | |
| void | Run (Solver *const) override |
| This is the main callback of the demon. | |
| Solver::DemonPriority | priority () const override |
| ---------------— Demon class -------------— | |
| std::string | DebugString () const override |
| Public Member Functions inherited from operations_research::Demon | |
| Demon () | |
| Demon (const Demon &)=delete | |
| This type is neither copyable nor movable. | |
| Demon & | operator= (const Demon &)=delete |
| ~Demon () override | |
| std::string | DebugString () const override |
| void | inhibit (Solver *s) |
| void | desinhibit (Solver *s) |
| This method un-inhibits the demon that was previously inhibited. | |
| Public Member Functions inherited from operations_research::BaseObject | |
| BaseObject () | |
| BaseObject (const BaseObject &)=delete | |
| This type is neither copyable nor movable. | |
| BaseObject & | operator= (const BaseObject &)=delete |
| virtual | ~BaseObject ()=default |
|
inline |
Definition at line 674 of file constraint_solveri.h.
|
inlineoverride |
Definition at line 677 of file constraint_solveri.h.
|
inlineoverridevirtual |
Reimplemented from operations_research::BaseObject.
Definition at line 685 of file constraint_solveri.h.
|
inlineoverridevirtual |
---------------— Demon class -------------—
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 from operations_research::Demon.
Definition at line 681 of file constraint_solveri.h.
|
inlineoverridevirtual |
This is the main callback of the demon.
Implements operations_research::Demon.
Definition at line 679 of file constraint_solveri.h.