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

Public Member Functions

 DoubleVectorEnumerator (DoubleVector collection)
 
bool MoveNext ()
 
void Reset ()
 
void Dispose ()
 

Properties

double 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 180 of file DoubleVector.cs.

Constructor & Destructor Documentation

◆ DoubleVectorEnumerator()

Google.OrTools.LinearSolver.DoubleVector.DoubleVectorEnumerator.DoubleVectorEnumerator ( DoubleVector collection)
inline

Definition at line 188 of file DoubleVector.cs.

Member Function Documentation

◆ Dispose()

void Google.OrTools.LinearSolver.DoubleVector.DoubleVectorEnumerator.Dispose ( )
inline

Definition at line 235 of file DoubleVector.cs.

◆ MoveNext()

bool Google.OrTools.LinearSolver.DoubleVector.DoubleVectorEnumerator.MoveNext ( )
inline

Definition at line 215 of file DoubleVector.cs.

◆ Reset()

void Google.OrTools.LinearSolver.DoubleVector.DoubleVectorEnumerator.Reset ( )
inline

Definition at line 227 of file DoubleVector.cs.

Property Documentation

◆ Current

double Google.OrTools.LinearSolver.DoubleVector.DoubleVectorEnumerator.Current
get

Type-safe iterator Current.

Definition at line 196 of file DoubleVector.cs.


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