C++ Reference

C++ Reference: Routing

IntVarElement

Detailed Description

Definition at line 4544 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 4536 of file constraint_solver.h.

◆ Activated()

bool Activated ( ) const
inlineinherited

Definition at line 4538 of file constraint_solver.h.

◆ Bound()

bool Bound ( ) const
inline

Definition at line 4573 of file constraint_solver.h.

◆ Clone()

IntVarElement* Clone ( )

◆ Copy()

void Copy ( const IntVarElement element)

◆ Deactivate()

void Deactivate ( )
inlineinherited

Definition at line 4537 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 4566 of file constraint_solver.h.

◆ Min()

int64 Min ( ) const
inline

Definition at line 4564 of file constraint_solver.h.

◆ operator!=()

bool operator!= ( const IntVarElement element) const
inline

Definition at line 4585 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 4556 of file constraint_solver.h.

◆ SetMax()

void SetMax ( int64  m)
inline

Definition at line 4567 of file constraint_solver.h.

◆ SetMin()

void SetMin ( int64  m)
inline

Definition at line 4565 of file constraint_solver.h.

◆ SetRange()

void SetRange ( int64  l,
int64  u 
)
inline

Definition at line 4574 of file constraint_solver.h.

◆ SetValue()

void SetValue ( int64  v)
inline

Definition at line 4578 of file constraint_solver.h.

◆ Store()

void Store ( )
inline

Definition at line 4552 of file constraint_solver.h.

◆ Value()

int64 Value ( ) const
inline

Definition at line 4568 of file constraint_solver.h.

◆ Var()

IntVar* Var ( ) const
inline

Definition at line 4551 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: