Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::CallMethod3< T, P, Q, R > Class Template Reference

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

#include <constraint_solveri.h>

Inheritance diagram for operations_research::CallMethod3< T, P, Q, R >:
operations_research::Demon operations_research::BaseObject

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.
 
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.
 
Demonoperator= (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.
 
BaseObjectoperator= (const BaseObject &)=delete
 
virtual ~BaseObject ()
 

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

Constructor & Destructor Documentation

◆ CallMethod3()

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

Definition at line 620 of file constraint_solveri.h.

◆ ~CallMethod3()

template<class T , class P , class Q , class R >
operations_research::CallMethod3< T, P, Q, R >::~CallMethod3 ( )
inlineoverride

Definition at line 629 of file constraint_solveri.h.

Member Function Documentation

◆ DebugString()

template<class T , class P , class Q , class R >
std::string operations_research::CallMethod3< T, P, Q, R >::DebugString ( ) const
inlineoverridevirtual

Reimplemented from operations_research::BaseObject.

Definition at line 635 of file constraint_solveri.h.

◆ Run()

template<class T , class P , class Q , class R >
void operations_research::CallMethod3< T, P, Q, R >::Run ( Solver *const s)
inlineoverridevirtual

This is the main callback of the demon.

Implements operations_research::Demon.

Definition at line 631 of file constraint_solveri.h.


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