OR-Tools  8.2
DelayedCallMethod1< T, P >

Detailed Description

template<class T, class P>
class operations_research::DelayedCallMethod1< T, P >

Low-priority demon proxy to a method on the constraint with one argument.

Definition at line 696 of file constraint_solveri.h.

Public Member Functions

 DelayedCallMethod1 (T *const ct, void(T::*method)(P), const std::string &name, P param1)
 
 ~DelayedCallMethod1 () override
 
void Run (Solver *const s) override
 This is the main callback of the demon. More...
 
Solver::DemonPriority priority () const override
 This method returns the priority of the demon. More...
 
std::string DebugString () const override
 
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

◆ DelayedCallMethod1()

DelayedCallMethod1 ( T *const  ct,
void(T::*)(P)  method,
const std::string &  name,
param1 
)
inline

Definition at line 698 of file constraint_solveri.h.

◆ ~DelayedCallMethod1()

~DelayedCallMethod1 ( )
inlineoverride

Definition at line 702 of file constraint_solveri.h.

Member Function Documentation

◆ DebugString()

std::string DebugString ( ) const
inlineoverridevirtual

Reimplemented from Demon.

Definition at line 710 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
inlineoverridevirtual

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 Demon.

Definition at line 706 of file constraint_solveri.h.

◆ Run()

void Run ( Solver *const  s)
inlineoverridevirtual

This is the main callback of the demon.

Implements Demon.

Definition at line 704 of file constraint_solveri.h.


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