Reference

C++

Python

DotNET

Java Documentation

C++ Reference: Routing

IntVarElement

#include <constraint_solver.h>

Inheritance diagram for IntVarElement:
Collaboration diagram for IntVarElement:

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
 

Detailed Description

Definition at line 4553 of file constraint_solver.h.

Constructor & Destructor Documentation

◆ IntVarElement() [1/2]

◆ IntVarElement() [2/2]

IntVarElement ( IntVar *const  var)
explicit

Member Function Documentation

◆ Activate()

void Activate ( )
inlineinherited

Definition at line 4545 of file constraint_solver.h.

◆ Activated()

bool Activated ( ) const
inlineinherited

Definition at line 4547 of file constraint_solver.h.

◆ Bound()

bool Bound ( ) const
inline

Definition at line 4582 of file constraint_solver.h.

◆ Clone()

IntVarElement* Clone ( )

◆ Copy()

void Copy ( const IntVarElement element)

◆ Deactivate()

void Deactivate ( )
inlineinherited

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

◆ Min()

int64 Min ( ) const
inline

Definition at line 4573 of file constraint_solver.h.

◆ operator!=()

bool operator!= ( const IntVarElement element) const
inline

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

◆ SetMax()

void SetMax ( int64  m)
inline

Definition at line 4576 of file constraint_solver.h.

◆ SetMin()

void SetMin ( int64  m)
inline

Definition at line 4574 of file constraint_solver.h.

◆ SetRange()

void SetRange ( int64  l,
int64  u 
)
inline

Definition at line 4583 of file constraint_solver.h.

◆ SetValue()

void SetValue ( int64  v)
inline

Definition at line 4587 of file constraint_solver.h.

◆ Store()

void Store ( )
inline

Definition at line 4561 of file constraint_solver.h.

◆ Value()

int64 Value ( ) const
inline

Definition at line 4577 of file constraint_solver.h.

◆ Var()

IntVar* Var ( ) const
inline

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