C++ Reference

C++ Reference: Routing

CallMethod1< T, P >

Detailed Description

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

Demon proxy to a method on the constraint with one argument.

Definition at line 550 of file constraint_solveri.h.

Public Member Functions

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

Constructor & Destructor Documentation

◆ CallMethod1()

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

Definition at line 552 of file constraint_solveri.h.

◆ ~CallMethod1()

~CallMethod1 ( )
inlineoverride

Definition at line 556 of file constraint_solveri.h.

Member Function Documentation

◆ DebugString()

std::string DebugString ( ) const
inlineoverride

Definition at line 560 of file constraint_solveri.h.

◆ Run()

void Run ( Solver *const  s)
inlineoverride

Definition at line 558 of file constraint_solveri.h.


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