C++ Reference

C++ Reference: Routing

Detailed Description

Definition at line 4651 of file constraint_solver.h.

Public Member Functions

 IntVarElement ()
 
 IntVarElement (IntVar *const var)
 
void Reset (IntVar *const var)
 
IntVarElementClone ()
 
void Copy (const IntVarElement &element)
 
IntVarVar () const
 
void Store ()
 
void Restore ()
 
void LoadFromProto (const IntVarAssignment &int_var_assignment_proto)
 
void WriteToProto (IntVarAssignment *int_var_assignment_proto) const
 
int64 Min () const
 
void SetMin (int64 m)
 
int64 Max () const
 
void SetMax (int64 m)
 
int64 Value () const
 
bool Bound () const
 
void SetRange (int64 l, int64 u)
 
void SetValue (int64 v)
 
std::string DebugString () const
 
bool operator== (const IntVarElement &element) const
 
bool operator!= (const IntVarElement &element) const
 
void Activate ()
 
void Deactivate ()
 
bool Activated () const
 

Constructor & Destructor Documentation

◆ IntVarElement() [1/2]

◆ IntVarElement() [2/2]

IntVarElement ( IntVar *const  var)
explicit

Member Function Documentation

◆ Activate()

void Activate ( )
inlineinherited

Definition at line 4643 of file constraint_solver.h.

◆ Activated()

bool Activated ( ) const
inlineinherited

Definition at line 4645 of file constraint_solver.h.

◆ Bound()

bool Bound ( ) const
inline

Definition at line 4680 of file constraint_solver.h.

◆ Clone()

IntVarElement* Clone ( )

◆ Copy()

void Copy ( const IntVarElement element)

◆ Deactivate()

void Deactivate ( )
inlineinherited

Definition at line 4644 of file constraint_solver.h.

◆ DebugString()

std::string DebugString ( ) const

◆ LoadFromProto()

void LoadFromProto ( const IntVarAssignment &  int_var_assignment_proto)

◆ Max()

int64 Max ( ) const
inline

Definition at line 4673 of file constraint_solver.h.

◆ Min()

int64 Min ( ) const
inline

Definition at line 4671 of file constraint_solver.h.

◆ operator!=()

bool operator!= ( const IntVarElement element) const
inline

Definition at line 4692 of file constraint_solver.h.

◆ operator==()

bool operator== ( const IntVarElement element) const

◆ Reset()

void Reset ( IntVar *const  var)

◆ Restore()

void Restore ( )
inline

Definition at line 4663 of file constraint_solver.h.

◆ SetMax()

void SetMax ( int64  m)
inline

Definition at line 4674 of file constraint_solver.h.

◆ SetMin()

void SetMin ( int64  m)
inline

Definition at line 4672 of file constraint_solver.h.

◆ SetRange()

void SetRange ( int64  l,
int64  u 
)
inline

Definition at line 4681 of file constraint_solver.h.

◆ SetValue()

void SetValue ( int64  v)
inline

Definition at line 4685 of file constraint_solver.h.

◆ Store()

void Store ( )
inline

Definition at line 4659 of file constraint_solver.h.

◆ Value()

int64 Value ( ) const
inline

Definition at line 4675 of file constraint_solver.h.

◆ Var()

IntVar* Var ( ) const
inline

Definition at line 4658 of file constraint_solver.h.

◆ WriteToProto()

void WriteToProto ( IntVarAssignment *  int_var_assignment_proto) const

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