C++ Reference

C++ Reference: Routing

CallMethod0< T >

Detailed Description

template<class T>
class operations_research::CallMethod0< T >

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 512 of file constraint_solveri.h.

Public Member Functions

 CallMethod0 (T *const ct, void(T::*method)(), const std::string &name)
 
 ~CallMethod0 () override
 
void Run (Solver *const s) override
 
std::string DebugString () const override
 

Constructor & Destructor Documentation

◆ CallMethod0()

CallMethod0 ( T *const  ct,
void(T::*)()  method,
const std::string &  name 
)
inline

Definition at line 514 of file constraint_solveri.h.

◆ ~CallMethod0()

~CallMethod0 ( )
inlineoverride

Definition at line 517 of file constraint_solveri.h.

Member Function Documentation

◆ DebugString()

std::string DebugString ( ) const
inlineoverride

Definition at line 521 of file constraint_solveri.h.

◆ Run()

void Run ( Solver *const  s)
inlineoverride

Definition at line 519 of file constraint_solveri.h.


The documentation for this class was generated from the following file: