C++ Reference

C++ Reference: Routing

IntVarElement

Detailed Description

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

◆ Activated()

bool Activated ( ) const
inlineinherited

Definition at line 4557 of file constraint_solver.h.

◆ Bound()

bool Bound ( ) const
inline

Definition at line 4592 of file constraint_solver.h.

◆ Clone()

IntVarElement* Clone ( )

◆ Copy()

void Copy ( const IntVarElement element)

◆ Deactivate()

void Deactivate ( )
inlineinherited

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

◆ Min()

int64 Min ( ) const
inline

Definition at line 4583 of file constraint_solver.h.

◆ operator!=()

bool operator!= ( const IntVarElement element) const
inline

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

◆ SetMax()

void SetMax ( int64  m)
inline

Definition at line 4586 of file constraint_solver.h.

◆ SetMin()

void SetMin ( int64  m)
inline

Definition at line 4584 of file constraint_solver.h.

◆ SetRange()

void SetRange ( int64  l,
int64  u 
)
inline

Definition at line 4593 of file constraint_solver.h.

◆ SetValue()

void SetValue ( int64  v)
inline

Definition at line 4597 of file constraint_solver.h.

◆ Store()

void Store ( )
inline

Definition at line 4571 of file constraint_solver.h.

◆ Value()

int64 Value ( ) const
inline

Definition at line 4587 of file constraint_solver.h.

◆ Var()

IntVar* Var ( ) const
inline

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