Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.IntervalVarVector.IntervalVarVectorEnumerator Class Referencesealed
Inheritance diagram for Google.OrTools.ConstraintSolver.IntervalVarVector.IntervalVarVectorEnumerator:

Public Member Functions

 IntervalVarVectorEnumerator (IntervalVarVector collection)
 
bool MoveNext ()
 
void Reset ()
 
void Dispose ()
 

Properties

IntervalVar Current [get]
 Type-safe iterator Current.
 

Detailed Description

Type-safe enumerator

Note
the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified. This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.

Definition at line 185 of file IntervalVarVector.cs.

Constructor & Destructor Documentation

◆ IntervalVarVectorEnumerator()

Google.OrTools.ConstraintSolver.IntervalVarVector.IntervalVarVectorEnumerator.IntervalVarVectorEnumerator ( IntervalVarVector collection)
inline

Definition at line 193 of file IntervalVarVector.cs.

Member Function Documentation

◆ Dispose()

void Google.OrTools.ConstraintSolver.IntervalVarVector.IntervalVarVectorEnumerator.Dispose ( )
inline

Definition at line 240 of file IntervalVarVector.cs.

◆ MoveNext()

bool Google.OrTools.ConstraintSolver.IntervalVarVector.IntervalVarVectorEnumerator.MoveNext ( )
inline

Definition at line 220 of file IntervalVarVector.cs.

◆ Reset()

void Google.OrTools.ConstraintSolver.IntervalVarVector.IntervalVarVectorEnumerator.Reset ( )
inline

Definition at line 232 of file IntervalVarVector.cs.

Property Documentation

◆ Current

IntervalVar Google.OrTools.ConstraintSolver.IntervalVarVector.IntervalVarVectorEnumerator.Current
get

Type-safe iterator Current.

Definition at line 201 of file IntervalVarVector.cs.


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