Google OR-Tools: operations_research::DelayedCallMethod2< T, P, Q

Low-priority demon proxy to a method on the constraint with two arguments. More...

template<class T, class P, class Q>
class operations_research::DelayedCallMethod2< T, P, Q >

Low-priority demon proxy to a method on the constraint with two arguments.

Definition at line 739 of file constraint_solveri.h.

#include <constraint_solveri.h>

operations_research::Demon operations_research::BaseObject

Public Member Functions

 DelayedCallMethod2 (T *const ct, void(T::*method)(P, Q), const std::string &name, P param1, Q param2)
 ~DelayedCallMethod2 () override
void Run (Solver *const) override
 This is the main callback of the demon.
Solver::DemonPriority priority () const override
std::string DebugString () const override
Public Member Functions inherited from operations_research::Demon
 Demon ()
 Demon (const Demon &)=delete
Demonoperator= (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
BaseObjectoperator= (const BaseObject &)=delete
virtual ~BaseObject ()=default

template<class T, class P, class Q>

◆ ~DelayedCallMethod2()

template<class T, class P, class Q>

◆ DebugString()

template<class T, class P, class Q>

◆ priority()

template<class T, class P, class Q>

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

◆ Run()

template<class T, class P, class Q>


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