Overview | Group | Tree | Graph | Index | Concepts |
An instance of this class traverses the list of IloActivity
instances that have been stored in an
IloSchedulerSolution
.
See Also:
IloActivity, IloSchedulerSolution, IloSchedulerSolution::ResourceConstraintIterator, IloSchedulerSolution::ResourceIterator
Constructor Summary | |
---|---|
public | ActivityIterator(IloSchedulerSolution sol) |
Method Summary | |
---|---|
public IloBool | ok() const |
public IloActivity | operator*() |
public ActivityIterator & | operator++() |
Constructor Detail |
---|
This constructor creates an iterator to traverse all the activities 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
activities have been scanned by the iterator.
This operator returns the current instance of IloActivity
,
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 IloActivity
.