OR-Tools  9.3
Assignment

Detailed Description

An Assignment is a variable -> domains mapping, used to report solutions to the user.

Definition at line 5081 of file constraint_solver.h.

Public Types

typedef AssignmentContainer< IntVar, IntVarElementIntContainer
 
typedef AssignmentContainer< IntervalVar, IntervalVarElementIntervalContainer
 
typedef AssignmentContainer< SequenceVar, SequenceVarElementSequenceContainer
 

Public Member Functions

 Assignment (Solver *const s)
 
 Assignment (const Assignment *const copy)
 
 ~Assignment () override
 
void Clear ()
 
bool Empty () const
 
int Size () const
 
int NumIntVars () const
 
int NumIntervalVars () const
 
int NumSequenceVars () const
 
void Store ()
 
void Restore ()
 
bool Load (const std::string &filename)
 Loads an assignment from a file; does not add variables to the assignment (only the variables contained in the assignment are modified). More...
 
bool Load (File *file)
 
void Load (const AssignmentProto &assignment_proto)
 if !defined(SWIG) More...
 
bool Save (const std::string &filename) const
 Saves the assignment to a file. More...
 
bool Save (File *file) const
 
void Save (AssignmentProto *const assignment_proto) const
 
void AddObjective (IntVar *const v)
 
void ClearObjective ()
 
IntVarObjective () const
 
bool HasObjective () const
 
int64_t ObjectiveMin () const
 
int64_t ObjectiveMax () const
 
int64_t ObjectiveValue () const
 
bool ObjectiveBound () const
 
void SetObjectiveMin (int64_t m)
 
void SetObjectiveMax (int64_t m)
 
void SetObjectiveValue (int64_t value)
 
void SetObjectiveRange (int64_t l, int64_t u)
 
IntVarElementAdd (IntVar *const var)
 
void Add (const std::vector< IntVar * > &vars)
 
IntVarElementFastAdd (IntVar *const var)
 Adds without checking if variable has been previously added. More...
 
int64_t Min (const IntVar *const var) const
 
int64_t Max (const IntVar *const var) const
 
int64_t Value (const IntVar *const var) const
 
bool Bound (const IntVar *const var) const
 
void SetMin (const IntVar *const var, int64_t m)
 
void SetMax (const IntVar *const var, int64_t m)
 
void SetRange (const IntVar *const var, int64_t l, int64_t u)
 
void SetValue (const IntVar *const var, int64_t value)
 
IntervalVarElementAdd (IntervalVar *const var)
 
void Add (const std::vector< IntervalVar * > &vars)
 
IntervalVarElementFastAdd (IntervalVar *const var)
 Adds without checking if variable has been previously added. More...
 
int64_t StartMin (const IntervalVar *const var) const
 
int64_t StartMax (const IntervalVar *const var) const
 
int64_t StartValue (const IntervalVar *const var) const
 
int64_t DurationMin (const IntervalVar *const var) const
 
int64_t DurationMax (const IntervalVar *const var) const
 
int64_t DurationValue (const IntervalVar *const var) const
 
int64_t EndMin (const IntervalVar *const var) const
 
int64_t EndMax (const IntervalVar *const var) const
 
int64_t EndValue (const IntervalVar *const var) const
 
int64_t PerformedMin (const IntervalVar *const var) const
 
int64_t PerformedMax (const IntervalVar *const var) const
 
int64_t PerformedValue (const IntervalVar *const var) const
 
void SetStartMin (const IntervalVar *const var, int64_t m)
 
void SetStartMax (const IntervalVar *const var, int64_t m)
 
void SetStartRange (const IntervalVar *const var, int64_t mi, int64_t ma)
 
void SetStartValue (const IntervalVar *const var, int64_t value)
 
void SetDurationMin (const IntervalVar *const var, int64_t m)
 
void SetDurationMax (const IntervalVar *const var, int64_t m)
 
void SetDurationRange (const IntervalVar *const var, int64_t mi, int64_t ma)
 
void SetDurationValue (const IntervalVar *const var, int64_t value)
 
void SetEndMin (const IntervalVar *const var, int64_t m)
 
void SetEndMax (const IntervalVar *const var, int64_t m)
 
void SetEndRange (const IntervalVar *const var, int64_t mi, int64_t ma)
 
void SetEndValue (const IntervalVar *const var, int64_t value)
 
void SetPerformedMin (const IntervalVar *const var, int64_t m)
 
void SetPerformedMax (const IntervalVar *const var, int64_t m)
 
void SetPerformedRange (const IntervalVar *const var, int64_t mi, int64_t ma)
 
void SetPerformedValue (const IntervalVar *const var, int64_t value)
 
SequenceVarElementAdd (SequenceVar *const var)
 
void Add (const std::vector< SequenceVar * > &vars)
 
SequenceVarElementFastAdd (SequenceVar *const var)
 Adds without checking if the variable had been previously added. More...
 
const std::vector< int > & ForwardSequence (const SequenceVar *const var) const
 
const std::vector< int > & BackwardSequence (const SequenceVar *const var) const
 
const std::vector< int > & Unperformed (const SequenceVar *const var) const
 
void SetSequence (const SequenceVar *const var, const std::vector< int > &forward_sequence, const std::vector< int > &backward_sequence, const std::vector< int > &unperformed)
 
void SetForwardSequence (const SequenceVar *const var, const std::vector< int > &forward_sequence)
 
void SetBackwardSequence (const SequenceVar *const var, const std::vector< int > &backward_sequence)
 
void SetUnperformed (const SequenceVar *const var, const std::vector< int > &unperformed)
 
void Activate (const IntVar *const var)
 
void Deactivate (const IntVar *const var)
 
bool Activated (const IntVar *const var) const
 
void Activate (const IntervalVar *const var)
 
void Deactivate (const IntervalVar *const var)
 
bool Activated (const IntervalVar *const var) const
 
void Activate (const SequenceVar *const var)
 
void Deactivate (const SequenceVar *const var)
 
bool Activated (const SequenceVar *const var) const
 
void ActivateObjective ()
 
void DeactivateObjective ()
 
bool ActivatedObjective () const
 
std::string DebugString () const override
 
bool AreAllElementsBound () const
 
bool Contains (const IntVar *const var) const
 
bool Contains (const IntervalVar *const var) const
 
bool Contains (const SequenceVar *const var) const
 
void CopyIntersection (const Assignment *assignment)
 Copies the intersection of the two assignments to the current assignment. More...
 
void Copy (const Assignment *assignment)
 Copies 'assignment' to the current assignment, clearing its previous content. More...
 
const IntContainerIntVarContainer () const
 
IntContainerMutableIntVarContainer ()
 
const IntervalContainerIntervalVarContainer () const
 
IntervalContainerMutableIntervalVarContainer ()
 
const SequenceContainerSequenceVarContainer () const
 
SequenceContainerMutableSequenceVarContainer ()
 
bool operator== (const Assignment &assignment) const
 
bool operator!= (const Assignment &assignment) const
 
Solversolver () const
 
void FreezeQueue ()
 This method freezes the propagation queue. More...
 
void UnfreezeQueue ()
 This method unfreezes the propagation queue. More...
 
void EnqueueDelayedDemon (Demon *const d)
 This method pushes the demon onto the propagation queue. More...
 
void EnqueueVar (Demon *const d)
 
void ExecuteAll (const SimpleRevFIFO< Demon * > &demons)
 
void EnqueueAll (const SimpleRevFIFO< Demon * > &demons)
 
void set_action_on_fail (Solver::Action a)
 
void reset_action_on_fail ()
 This method clears the failure callback. More...
 
void set_variable_to_clean_on_fail (IntVar *v)
 Shortcut for variable cleaner. More...
 
virtual std::string name () const
 Object naming. More...
 
void set_name (const std::string &name)
 
bool HasName () const
 Returns whether the object has been named or not. More...
 
virtual std::string BaseName () const
 Returns a base name for automatic naming. More...
 

Member Typedef Documentation

◆ IntContainer

◆ IntervalContainer

◆ SequenceContainer

Constructor & Destructor Documentation

◆ Assignment() [1/2]

Assignment ( Solver *const  s)
explicit

Definition at line 416 of file constraint_solver/assignment.cc.

◆ Assignment() [2/2]

Assignment ( const Assignment *const  copy)
explicit

Definition at line 409 of file constraint_solver/assignment.cc.

◆ ~Assignment()

~Assignment ( )
override

Definition at line 419 of file constraint_solver/assignment.cc.

Member Function Documentation

◆ Activate() [1/3]

void Activate ( const IntervalVar *const  var)

Definition at line 949 of file constraint_solver/assignment.cc.

◆ Activate() [2/3]

void Activate ( const IntVar *const  var)

Definition at line 937 of file constraint_solver/assignment.cc.

◆ Activate() [3/3]

void Activate ( const SequenceVar *const  var)

Definition at line 961 of file constraint_solver/assignment.cc.

◆ Activated() [1/3]

bool Activated ( const IntervalVar *const  var) const

Definition at line 957 of file constraint_solver/assignment.cc.

◆ Activated() [2/3]

bool Activated ( const IntVar *const  var) const

Definition at line 945 of file constraint_solver/assignment.cc.

◆ Activated() [3/3]

bool Activated ( const SequenceVar *const  var) const

Definition at line 969 of file constraint_solver/assignment.cc.

◆ ActivatedObjective()

bool ActivatedObjective ( ) const

Definition at line 985 of file constraint_solver/assignment.cc.

◆ ActivateObjective()

void ActivateObjective ( )

Definition at line 973 of file constraint_solver/assignment.cc.

◆ Add() [1/6]

void Add ( const std::vector< IntervalVar * > &  vars)

Definition at line 692 of file constraint_solver/assignment.cc.

◆ Add() [2/6]

void Add ( const std::vector< IntVar * > &  vars)

Definition at line 644 of file constraint_solver/assignment.cc.

◆ Add() [3/6]

void Add ( const std::vector< SequenceVar * > &  vars)

Definition at line 825 of file constraint_solver/assignment.cc.

◆ Add() [4/6]

IntervalVarElement * Add ( IntervalVar *const  var)

Definition at line 688 of file constraint_solver/assignment.cc.

◆ Add() [5/6]

IntVarElement * Add ( IntVar *const  var)

Definition at line 640 of file constraint_solver/assignment.cc.

◆ Add() [6/6]

SequenceVarElement * Add ( SequenceVar *const  var)

Definition at line 821 of file constraint_solver/assignment.cc.

◆ AddObjective()

void AddObjective ( IntVar *const  v)

Definition at line 877 of file constraint_solver/assignment.cc.

◆ AreAllElementsBound()

bool AreAllElementsBound ( ) const
inline

Definition at line 5216 of file constraint_solver.h.

◆ BackwardSequence()

const std::vector< int > & BackwardSequence ( const SequenceVar *const  var) const

Definition at line 840 of file constraint_solver/assignment.cc.

◆ BaseName()

std::string BaseName ( ) const
virtualinherited

Returns a base name for automatic naming.

Reimplemented in BooleanVar.

Definition at line 2521 of file constraint_solver.cc.

◆ Bound()

bool Bound ( const IntVar *const  var) const

Definition at line 666 of file constraint_solver/assignment.cc.

◆ Clear()

void Clear ( )

Definition at line 421 of file constraint_solver/assignment.cc.

◆ ClearObjective()

void ClearObjective ( )
inline

Definition at line 5122 of file constraint_solver.h.

◆ Contains() [1/3]

bool Contains ( const IntervalVar *const  var) const

Definition at line 996 of file constraint_solver/assignment.cc.

◆ Contains() [2/3]

bool Contains ( const IntVar *const  var) const

Definition at line 992 of file constraint_solver/assignment.cc.

◆ Contains() [3/3]

bool Contains ( const SequenceVar *const  var) const

Definition at line 1000 of file constraint_solver/assignment.cc.

◆ Copy()

void Copy ( const Assignment assignment)

Copies 'assignment' to the current assignment, clearing its previous content.

Definition at line 1013 of file constraint_solver/assignment.cc.

◆ CopyIntersection()

void CopyIntersection ( const Assignment assignment)

Copies the intersection of the two assignments to the current assignment.

Definition at line 1004 of file constraint_solver/assignment.cc.

◆ Deactivate() [1/3]

void Deactivate ( const IntervalVar *const  var)

Definition at line 953 of file constraint_solver/assignment.cc.

◆ Deactivate() [2/3]

void Deactivate ( const IntVar *const  var)

Definition at line 941 of file constraint_solver/assignment.cc.

◆ Deactivate() [3/3]

void Deactivate ( const SequenceVar *const  var)

Definition at line 965 of file constraint_solver/assignment.cc.

◆ DeactivateObjective()

void DeactivateObjective ( )

Definition at line 979 of file constraint_solver/assignment.cc.

◆ DebugString()

std::string DebugString ( ) const
overridevirtual

Reimplemented from PropagationBaseObject.

Definition at line 626 of file constraint_solver/assignment.cc.

◆ DurationMax()

int64_t DurationMax ( const IntervalVar *const  var) const

Definition at line 718 of file constraint_solver/assignment.cc.

◆ DurationMin()

int64_t DurationMin ( const IntervalVar *const  var) const

Definition at line 714 of file constraint_solver/assignment.cc.

◆ DurationValue()

int64_t DurationValue ( const IntervalVar *const  var) const

Definition at line 722 of file constraint_solver/assignment.cc.

◆ Empty()

bool Empty ( ) const
inline

Definition at line 5094 of file constraint_solver.h.

◆ EndMax()

int64_t EndMax ( const IntervalVar *const  var) const

Definition at line 730 of file constraint_solver/assignment.cc.

◆ EndMin()

int64_t EndMin ( const IntervalVar *const  var) const

Definition at line 726 of file constraint_solver/assignment.cc.

◆ EndValue()

int64_t EndValue ( const IntervalVar *const  var) const

Definition at line 734 of file constraint_solver/assignment.cc.

◆ EnqueueAll()

void EnqueueAll ( const SimpleRevFIFO< Demon * > &  demons)
inherited

Definition at line 2527 of file constraint_solver.cc.

◆ EnqueueDelayedDemon()

void EnqueueDelayedDemon ( Demon *const  d)
inlineinherited

This method pushes the demon onto the propagation queue.

It will be processed directly if the queue is empty. It will be enqueued according to its priority otherwise.

Definition at line 3209 of file constraint_solver.h.

◆ EnqueueVar()

void EnqueueVar ( Demon *const  d)
inlineinherited

Definition at line 3210 of file constraint_solver.h.

◆ ExecuteAll()

void ExecuteAll ( const SimpleRevFIFO< Demon * > &  demons)
inherited

Definition at line 2523 of file constraint_solver.cc.

◆ FastAdd() [1/3]

IntervalVarElement * FastAdd ( IntervalVar *const  var)

Adds without checking if variable has been previously added.

Definition at line 698 of file constraint_solver/assignment.cc.

◆ FastAdd() [2/3]

IntVarElement * FastAdd ( IntVar *const  var)

Adds without checking if variable has been previously added.

Definition at line 650 of file constraint_solver/assignment.cc.

◆ FastAdd() [3/3]

SequenceVarElement * FastAdd ( SequenceVar *const  var)

Adds without checking if the variable had been previously added.

Definition at line 831 of file constraint_solver/assignment.cc.

◆ ForwardSequence()

const std::vector< int > & ForwardSequence ( const SequenceVar *const  var) const

Definition at line 835 of file constraint_solver/assignment.cc.

◆ FreezeQueue()

void FreezeQueue ( )
inlineinherited

This method freezes the propagation queue.

It is useful when you need to apply multiple modifications at once.

Definition at line 3200 of file constraint_solver.h.

◆ HasName()

bool HasName ( ) const
inherited

Returns whether the object has been named or not.

Definition at line 2519 of file constraint_solver.cc.

◆ HasObjective()

bool HasObjective ( ) const
inline

Definition at line 5124 of file constraint_solver.h.

◆ IntervalVarContainer()

const IntervalContainer & IntervalVarContainer ( ) const
inline

Definition at line 5234 of file constraint_solver.h.

◆ IntVarContainer()

const IntContainer & IntVarContainer ( ) const
inline

Definition at line 5232 of file constraint_solver.h.

◆ Load() [1/3]

void Load ( const AssignmentProto &  assignment_proto)

if !defined(SWIG)

Definition at line 530 of file constraint_solver/assignment.cc.

◆ Load() [2/3]

bool Load ( const std::string &  filename)

Loads an assignment from a file; does not add variables to the assignment (only the variables contained in the assignment are modified).

Definition at line 484 of file constraint_solver/assignment.cc.

◆ Load() [3/3]

bool Load ( File file)

Definition at line 493 of file constraint_solver/assignment.cc.

◆ Max()

int64_t Max ( const IntVar *const  var) const

Definition at line 658 of file constraint_solver/assignment.cc.

◆ Min()

int64_t Min ( const IntVar *const  var) const

Definition at line 654 of file constraint_solver/assignment.cc.

◆ MutableIntervalVarContainer()

IntervalContainer * MutableIntervalVarContainer ( )
inline

Definition at line 5237 of file constraint_solver.h.

◆ MutableIntVarContainer()

IntContainer * MutableIntVarContainer ( )
inline

Definition at line 5233 of file constraint_solver.h.

◆ MutableSequenceVarContainer()

SequenceContainer * MutableSequenceVarContainer ( )
inline

Definition at line 5243 of file constraint_solver.h.

◆ name()

std::string name ( ) const
virtualinherited

Object naming.

Reimplemented in PiecewiseLinearExpr.

Definition at line 2511 of file constraint_solver.cc.

◆ NumIntervalVars()

int NumIntervalVars ( ) const
inline

Definition at line 5102 of file constraint_solver.h.

◆ NumIntVars()

int NumIntVars ( ) const
inline

Definition at line 5101 of file constraint_solver.h.

◆ NumSequenceVars()

int NumSequenceVars ( ) const
inline

Definition at line 5103 of file constraint_solver.h.

◆ Objective()

IntVar * Objective ( ) const

Definition at line 883 of file constraint_solver/assignment.cc.

◆ ObjectiveBound()

bool ObjectiveBound ( ) const

Definition at line 906 of file constraint_solver/assignment.cc.

◆ ObjectiveMax()

int64_t ObjectiveMax ( ) const

Definition at line 892 of file constraint_solver/assignment.cc.

◆ ObjectiveMin()

int64_t ObjectiveMin ( ) const

Definition at line 885 of file constraint_solver/assignment.cc.

◆ ObjectiveValue()

int64_t ObjectiveValue ( ) const

Definition at line 899 of file constraint_solver/assignment.cc.

◆ operator!=()

bool operator!= ( const Assignment assignment) const
inline

Definition at line 5252 of file constraint_solver.h.

◆ operator==()

bool operator== ( const Assignment assignment) const
inline

Definition at line 5246 of file constraint_solver.h.

◆ PerformedMax()

int64_t PerformedMax ( const IntervalVar *const  var) const

Definition at line 742 of file constraint_solver/assignment.cc.

◆ PerformedMin()

int64_t PerformedMin ( const IntervalVar *const  var) const

Definition at line 738 of file constraint_solver/assignment.cc.

◆ PerformedValue()

int64_t PerformedValue ( const IntervalVar *const  var) const

Definition at line 746 of file constraint_solver/assignment.cc.

◆ reset_action_on_fail()

void reset_action_on_fail ( )
inlineinherited

This method clears the failure callback.

Definition at line 3223 of file constraint_solver.h.

◆ Restore()

void Restore ( )

Definition at line 437 of file constraint_solver/assignment.cc.

◆ Save() [1/3]

void Save ( AssignmentProto *const  assignment_proto) const

Definition at line 590 of file constraint_solver/assignment.cc.

◆ Save() [2/3]

bool Save ( const std::string &  filename) const

Saves the assignment to a file.

Definition at line 560 of file constraint_solver/assignment.cc.

◆ Save() [3/3]

bool Save ( File file) const

Definition at line 569 of file constraint_solver/assignment.cc.

◆ SequenceVarContainer()

const SequenceContainer & SequenceVarContainer ( ) const
inline

Definition at line 5240 of file constraint_solver.h.

◆ set_action_on_fail()

void set_action_on_fail ( Solver::Action  a)
inlineinherited

Definition at line 3217 of file constraint_solver.h.

◆ set_name()

void set_name ( const std::string &  name)
inherited

Definition at line 2515 of file constraint_solver.cc.

◆ set_variable_to_clean_on_fail()

void set_variable_to_clean_on_fail ( IntVar v)
inlineinherited

Shortcut for variable cleaner.

Definition at line 3226 of file constraint_solver.h.

◆ SetBackwardSequence()

void SetBackwardSequence ( const SequenceVar *const  var,
const std::vector< int > &  backward_sequence 
)

Definition at line 864 of file constraint_solver/assignment.cc.

◆ SetDurationMax()

void SetDurationMax ( const IntervalVar *const  var,
int64_t  m 
)

Definition at line 771 of file constraint_solver/assignment.cc.

◆ SetDurationMin()

void SetDurationMin ( const IntervalVar *const  var,
int64_t  m 
)

Definition at line 767 of file constraint_solver/assignment.cc.

◆ SetDurationRange()

void SetDurationRange ( const IntervalVar *const  var,
int64_t  mi,
int64_t  ma 
)

Definition at line 775 of file constraint_solver/assignment.cc.

◆ SetDurationValue()

void SetDurationValue ( const IntervalVar *const  var,
int64_t  value 
)

Definition at line 780 of file constraint_solver/assignment.cc.

◆ SetEndMax()

void SetEndMax ( const IntervalVar *const  var,
int64_t  m 
)

Definition at line 788 of file constraint_solver/assignment.cc.

◆ SetEndMin()

void SetEndMin ( const IntervalVar *const  var,
int64_t  m 
)

Definition at line 784 of file constraint_solver/assignment.cc.

◆ SetEndRange()

void SetEndRange ( const IntervalVar *const  var,
int64_t  mi,
int64_t  ma 
)

Definition at line 792 of file constraint_solver/assignment.cc.

◆ SetEndValue()

void SetEndValue ( const IntervalVar *const  var,
int64_t  value 
)

Definition at line 797 of file constraint_solver/assignment.cc.

◆ SetForwardSequence()

void SetForwardSequence ( const SequenceVar *const  var,
const std::vector< int > &  forward_sequence 
)

Definition at line 858 of file constraint_solver/assignment.cc.

◆ SetMax()

void SetMax ( const IntVar *const  var,
int64_t  m 
)

Definition at line 674 of file constraint_solver/assignment.cc.

◆ SetMin()

void SetMin ( const IntVar *const  var,
int64_t  m 
)

Definition at line 670 of file constraint_solver/assignment.cc.

◆ SetObjectiveMax()

void SetObjectiveMax ( int64_t  m)

Definition at line 919 of file constraint_solver/assignment.cc.

◆ SetObjectiveMin()

void SetObjectiveMin ( int64_t  m)

Definition at line 913 of file constraint_solver/assignment.cc.

◆ SetObjectiveRange()

void SetObjectiveRange ( int64_t  l,
int64_t  u 
)

Definition at line 925 of file constraint_solver/assignment.cc.

◆ SetObjectiveValue()

void SetObjectiveValue ( int64_t  value)

Definition at line 931 of file constraint_solver/assignment.cc.

◆ SetPerformedMax()

void SetPerformedMax ( const IntervalVar *const  var,
int64_t  m 
)

Definition at line 805 of file constraint_solver/assignment.cc.

◆ SetPerformedMin()

void SetPerformedMin ( const IntervalVar *const  var,
int64_t  m 
)

Definition at line 801 of file constraint_solver/assignment.cc.

◆ SetPerformedRange()

void SetPerformedRange ( const IntervalVar *const  var,
int64_t  mi,
int64_t  ma 
)

Definition at line 809 of file constraint_solver/assignment.cc.

◆ SetPerformedValue()

void SetPerformedValue ( const IntervalVar *const  var,
int64_t  value 
)

Definition at line 814 of file constraint_solver/assignment.cc.

◆ SetRange()

void SetRange ( const IntVar *const  var,
int64_t  l,
int64_t  u 
)

Definition at line 678 of file constraint_solver/assignment.cc.

◆ SetSequence()

void SetSequence ( const SequenceVar *const  var,
const std::vector< int > &  forward_sequence,
const std::vector< int > &  backward_sequence,
const std::vector< int > &  unperformed 
)

Definition at line 850 of file constraint_solver/assignment.cc.

◆ SetStartMax()

void SetStartMax ( const IntervalVar *const  var,
int64_t  m 
)

Definition at line 754 of file constraint_solver/assignment.cc.

◆ SetStartMin()

void SetStartMin ( const IntervalVar *const  var,
int64_t  m 
)

Definition at line 750 of file constraint_solver/assignment.cc.

◆ SetStartRange()

void SetStartRange ( const IntervalVar *const  var,
int64_t  mi,
int64_t  ma 
)

Definition at line 758 of file constraint_solver/assignment.cc.

◆ SetStartValue()

void SetStartValue ( const IntervalVar *const  var,
int64_t  value 
)

Definition at line 763 of file constraint_solver/assignment.cc.

◆ SetUnperformed()

void SetUnperformed ( const SequenceVar *const  var,
const std::vector< int > &  unperformed 
)

Definition at line 870 of file constraint_solver/assignment.cc.

◆ SetValue()

void SetValue ( const IntVar *const  var,
int64_t  value 
)

Definition at line 682 of file constraint_solver/assignment.cc.

◆ Size()

int Size ( ) const
inline

Definition at line 5098 of file constraint_solver.h.

◆ solver()

Solver * solver ( ) const
inlineinherited

Definition at line 3196 of file constraint_solver.h.

◆ StartMax()

int64_t StartMax ( const IntervalVar *const  var) const

Definition at line 706 of file constraint_solver/assignment.cc.

◆ StartMin()

int64_t StartMin ( const IntervalVar *const  var) const

Definition at line 702 of file constraint_solver/assignment.cc.

◆ StartValue()

int64_t StartValue ( const IntervalVar *const  var) const

Definition at line 710 of file constraint_solver/assignment.cc.

◆ Store()

void Store ( )

Definition at line 428 of file constraint_solver/assignment.cc.

◆ UnfreezeQueue()

void UnfreezeQueue ( )
inlineinherited

This method unfreezes the propagation queue.

All modifications that happened when the queue was frozen will be processed.

Definition at line 3204 of file constraint_solver.h.

◆ Unperformed()

const std::vector< int > & Unperformed ( const SequenceVar *const  var) const

Definition at line 845 of file constraint_solver/assignment.cc.

◆ Value()

int64_t Value ( const IntVar *const  var) const

Definition at line 662 of file constraint_solver/assignment.cc.


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