|  | Google OR-Tools v9.14
    a fast and portable software suite for combinatorial optimization | 
Demon proxy to a method on the constraint with no arguments. More...
Demon proxy to a method on the constraint with no arguments.
These methods represent generic demons that will call back a method on the constraint during their Run method. This way, all propagation methods are members of the constraint class, and demons are just proxies with a priority of NORMAL_PRIORITY.
Definition at line 515 of file constraint_solveri.h.
#include <constraint_solveri.h>
 
  
| Public Member Functions | |
| CallMethod0 (T *const ct, void(T::*method)(), const std::string &name) | |
| ~CallMethod0 () override | |
| void | Run (Solver *const) override | 
| This is the main callback of the demon. | |
| 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 | |
| virtual Solver::DemonPriority | priority () const | 
| ---------------— Demon class -------------— | |
| 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 517 of file constraint_solveri.h.
| 
 | inlineoverride | 
Definition at line 520 of file constraint_solveri.h.
| 
 | inlineoverridevirtual | 
Reimplemented from operations_research::BaseObject.
Definition at line 524 of file constraint_solveri.h.
| 
 | inlineoverridevirtual | 
This is the main callback of the demon.
Implements operations_research::Demon.
Definition at line 522 of file constraint_solveri.h.