Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::IntervalVarElement Class Reference

#include <constraint_solver.h>

Inheritance diagram for operations_research::IntervalVarElement:
operations_research::AssignmentElement

Public Member Functions

 IntervalVarElement ()
 --— IntervalVarElement --—
 
 IntervalVarElement (IntervalVar *var)
 
void Reset (IntervalVar *var)
 
IntervalVarElementClone ()
 
void Copy (const IntervalVarElement &element)
 
IntervalVarVar () const
 
void Store ()
 
void Restore ()
 
void LoadFromProto (const IntervalVarAssignment &interval_var_assignment_proto)
 
void WriteToProto (IntervalVarAssignment *interval_var_assignment_proto) const
 
int64_t StartMin () const
 
int64_t StartMax () const
 
int64_t StartValue () const
 
int64_t DurationMin () const
 
int64_t DurationMax () const
 
int64_t DurationValue () const
 
int64_t EndMin () const
 
int64_t EndMax () const
 
int64_t EndValue () const
 
int64_t PerformedMin () const
 
int64_t PerformedMax () const
 
int64_t PerformedValue () const
 
void SetStartMin (int64_t m)
 
void SetStartMax (int64_t m)
 
void SetStartRange (int64_t mi, int64_t ma)
 
void SetStartValue (int64_t v)
 
void SetDurationMin (int64_t m)
 
void SetDurationMax (int64_t m)
 
void SetDurationRange (int64_t mi, int64_t ma)
 
void SetDurationValue (int64_t v)
 
void SetEndMin (int64_t m)
 
void SetEndMax (int64_t m)
 
void SetEndRange (int64_t mi, int64_t ma)
 
void SetEndValue (int64_t v)
 
void SetPerformedMin (int64_t m)
 
void SetPerformedMax (int64_t m)
 
void SetPerformedRange (int64_t mi, int64_t ma)
 
void SetPerformedValue (int64_t v)
 
bool Bound () const
 
std::string DebugString () const
 
bool operator== (const IntervalVarElement &element) const
 
bool operator!= (const IntervalVarElement &element) const
 
- Public Member Functions inherited from operations_research::AssignmentElement
 AssignmentElement ()
 
void Activate ()
 
void Deactivate ()
 
bool Activated () const
 

Detailed Description

Definition at line 5096 of file constraint_solver.h.

Constructor & Destructor Documentation

◆ IntervalVarElement() [1/2]

operations_research::IntervalVarElement::IntervalVarElement ( )

--— IntervalVarElement --—

Definition at line 114 of file assignment.cc.

◆ IntervalVarElement() [2/2]

operations_research::IntervalVarElement::IntervalVarElement ( IntervalVar * var)
explicit

Definition at line 116 of file assignment.cc.

Member Function Documentation

◆ Bound()

bool operations_research::IntervalVarElement::Bound ( ) const
inline

Definition at line 5174 of file constraint_solver.h.

◆ Clone()

IntervalVarElement * operations_research::IntervalVarElement::Clone ( )

Definition at line 130 of file assignment.cc.

◆ Copy()

void operations_research::IntervalVarElement::Copy ( const IntervalVarElement & element)

Definition at line 136 of file assignment.cc.

◆ DebugString()

std::string operations_research::IntervalVarElement::DebugString ( ) const

Definition at line 204 of file assignment.cc.

◆ DurationMax()

int64_t operations_research::IntervalVarElement::DurationMax ( ) const
inline

Definition at line 5117 of file constraint_solver.h.

◆ DurationMin()

int64_t operations_research::IntervalVarElement::DurationMin ( ) const
inline

Definition at line 5116 of file constraint_solver.h.

◆ DurationValue()

int64_t operations_research::IntervalVarElement::DurationValue ( ) const
inline

Definition at line 5118 of file constraint_solver.h.

◆ EndMax()

int64_t operations_research::IntervalVarElement::EndMax ( ) const
inline

Definition at line 5123 of file constraint_solver.h.

◆ EndMin()

int64_t operations_research::IntervalVarElement::EndMin ( ) const
inline

Definition at line 5122 of file constraint_solver.h.

◆ EndValue()

int64_t operations_research::IntervalVarElement::EndValue ( ) const
inline

Definition at line 5124 of file constraint_solver.h.

◆ LoadFromProto()

void operations_research::IntervalVarElement::LoadFromProto ( const IntervalVarAssignment & interval_var_assignment_proto)

Definition at line 173 of file assignment.cc.

◆ operator!=()

bool operations_research::IntervalVarElement::operator!= ( const IntervalVarElement & element) const
inline

Definition at line 5180 of file constraint_solver.h.

◆ operator==()

bool operations_research::IntervalVarElement::operator== ( const IntervalVarElement & element) const

If both elements are deactivated, then they are equal, regardless of their other fields.

Definition at line 226 of file assignment.cc.

◆ PerformedMax()

int64_t operations_research::IntervalVarElement::PerformedMax ( ) const
inline

Definition at line 5129 of file constraint_solver.h.

◆ PerformedMin()

int64_t operations_research::IntervalVarElement::PerformedMin ( ) const
inline

Definition at line 5128 of file constraint_solver.h.

◆ PerformedValue()

int64_t operations_research::IntervalVarElement::PerformedValue ( ) const
inline

Definition at line 5130 of file constraint_solver.h.

◆ Reset()

void operations_research::IntervalVarElement::Reset ( IntervalVar * var)

Definition at line 118 of file assignment.cc.

◆ Restore()

void operations_research::IntervalVarElement::Restore ( )

Definition at line 162 of file assignment.cc.

◆ SetDurationMax()

void operations_research::IntervalVarElement::SetDurationMax ( int64_t m)
inline

Definition at line 5145 of file constraint_solver.h.

◆ SetDurationMin()

void operations_research::IntervalVarElement::SetDurationMin ( int64_t m)
inline

Definition at line 5144 of file constraint_solver.h.

◆ SetDurationRange()

void operations_research::IntervalVarElement::SetDurationRange ( int64_t mi,
int64_t ma )
inline

Definition at line 5146 of file constraint_solver.h.

◆ SetDurationValue()

void operations_research::IntervalVarElement::SetDurationValue ( int64_t v)
inline

Definition at line 5150 of file constraint_solver.h.

◆ SetEndMax()

void operations_research::IntervalVarElement::SetEndMax ( int64_t m)
inline

Definition at line 5155 of file constraint_solver.h.

◆ SetEndMin()

void operations_research::IntervalVarElement::SetEndMin ( int64_t m)
inline

Definition at line 5154 of file constraint_solver.h.

◆ SetEndRange()

void operations_research::IntervalVarElement::SetEndRange ( int64_t mi,
int64_t ma )
inline

Definition at line 5156 of file constraint_solver.h.

◆ SetEndValue()

void operations_research::IntervalVarElement::SetEndValue ( int64_t v)
inline

Definition at line 5160 of file constraint_solver.h.

◆ SetPerformedMax()

void operations_research::IntervalVarElement::SetPerformedMax ( int64_t m)
inline

Definition at line 5165 of file constraint_solver.h.

◆ SetPerformedMin()

void operations_research::IntervalVarElement::SetPerformedMin ( int64_t m)
inline

Definition at line 5164 of file constraint_solver.h.

◆ SetPerformedRange()

void operations_research::IntervalVarElement::SetPerformedRange ( int64_t mi,
int64_t ma )
inline

Definition at line 5166 of file constraint_solver.h.

◆ SetPerformedValue()

void operations_research::IntervalVarElement::SetPerformedValue ( int64_t v)
inline

Definition at line 5170 of file constraint_solver.h.

◆ SetStartMax()

void operations_research::IntervalVarElement::SetStartMax ( int64_t m)
inline

Definition at line 5135 of file constraint_solver.h.

◆ SetStartMin()

void operations_research::IntervalVarElement::SetStartMin ( int64_t m)
inline

Definition at line 5134 of file constraint_solver.h.

◆ SetStartRange()

void operations_research::IntervalVarElement::SetStartRange ( int64_t mi,
int64_t ma )
inline

Definition at line 5136 of file constraint_solver.h.

◆ SetStartValue()

void operations_research::IntervalVarElement::SetStartValue ( int64_t v)
inline

Definition at line 5140 of file constraint_solver.h.

◆ StartMax()

int64_t operations_research::IntervalVarElement::StartMax ( ) const
inline

Definition at line 5111 of file constraint_solver.h.

◆ StartMin()

int64_t operations_research::IntervalVarElement::StartMin ( ) const
inline

Definition at line 5110 of file constraint_solver.h.

◆ StartValue()

int64_t operations_research::IntervalVarElement::StartValue ( ) const
inline

Definition at line 5112 of file constraint_solver.h.

◆ Store()

void operations_research::IntervalVarElement::Store ( )

Definition at line 149 of file assignment.cc.

◆ Var()

IntervalVar * operations_research::IntervalVarElement::Var ( ) const
inline

Definition at line 5103 of file constraint_solver.h.

◆ WriteToProto()

void operations_research::IntervalVarElement::WriteToProto ( IntervalVarAssignment * interval_var_assignment_proto) const

Definition at line 190 of file assignment.cc.


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