OR-Tools  8.2
CallMethod3< T, P, Q, R >

Detailed Description

template<class T, class P, class Q, class R>
class operations_research::CallMethod3< T, P, Q, R >

Demon proxy to a method on the constraint with three arguments.

Definition at line 613 of file constraint_solveri.h.

Public Member Functions

 CallMethod3 (T *const ct, void(T::*method)(P, Q, R), const std::string &name, P param1, Q param2, R param3)
 
 ~CallMethod3 () 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

◆ CallMethod3()

CallMethod3 ( T *const  ct,
void(T::*)(P, Q, R)  method,
const std::string &  name,
param1,
param2,
param3 
)
inline

Definition at line 615 of file constraint_solveri.h.

◆ ~CallMethod3()

~CallMethod3 ( )
inlineoverride

Definition at line 624 of file constraint_solveri.h.

Member Function Documentation

◆ DebugString()

std::string DebugString ( ) const
inlineoverridevirtual

Reimplemented from Demon.

Definition at line 630 of file constraint_solveri.h.

◆ desinhibit()

void desinhibit ( Solver *const  s)
inherited

This method un-inhibits the demon that was previously inhibited.

Definition at line 205 of file constraint_solver.cc.

◆ inhibit()

void inhibit ( Solver *const  s)
inherited

This method inhibits the demon in the search tree below the current position.

Definition at line 199 of file constraint_solver.cc.

◆ priority()

Solver::DemonPriority priority ( ) const
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 DelayedCallMethod2< T, P, Q >, DelayedCallMethod1< T, P >, and DelayedCallMethod0< T >.

Definition at line 193 of file constraint_solver.cc.

◆ Run()

void Run ( Solver *const  s)
inlineoverridevirtual

This is the main callback of the demon.

Implements Demon.

Definition at line 626 of file constraint_solveri.h.


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