Overview | Group | Tree | Graph | Index | Concepts |
An instance of this class traverses the list of IloResource
instances that have been stored in an
IloSchedulerSolution
.
See Also:
IloResource, IloSchedulerSolution, IloSchedulerSolution::ResourceConstraintIterator, IloSchedulerSolution::ActivityIterator
Constructor Summary | |
---|---|
public | ResourceIterator(IloSchedulerSolution sol) |
Method Summary | |
---|---|
public IloBool | ok() const |
public IloResource | operator*() |
public ResourceIterator & | operator++() |
Constructor Detail |
---|
This constructor creates an iterator to traverse all the resources that are stored in the given scheduler solution.
Method Detail |
---|
This member function returns IloTrue
if the current position
of the iterator is a valid one. It returns IloFalse
if all the
resources have been scanned by the iterator.
This operator returns the current instance of IloResource
, the one to which the invoking iterator points.
If the iterator is set past the end position, then this operator returns an
empty handle.
This left-increment operator shifts the current position of the iterator to the next
instance of IloResource
.