| Overview | Group | Tree | Graph | Index | Concepts |

An instance of this class traverses the set of alternative resource constraints defined on an environment.
IloIterator<IloAltResConstraint> class of Scheduler 5.0. In the current
version of the library the class IloAltResConstraint does not exist and
therefore IloIterator<IloAltResConstraint> is not a well-formed
iterator.For more information, see IloIterator<IloResourceConstraint>
in the Concert Reference Manual.
See Also:
| Constructor Summary | |
|---|---|
public | IloAltResConstraintIterator(const IloEnv env) |
| Method Summary | |
|---|---|
public IloBool | ok() |
public IloResourceConstraint | operator*() |
public void | operator++() |
| Constructor Detail |
|---|
This constructor creates an iterator to traverse all the alternative
resource constraints that are defined on the environment
env.
| Method Detail |
|---|
This member function returns IloTrue if the current position of the iterator is a
valid one. It returns IloFalse if all the alternative resource constraints have been
scanned by the iterator.
This operator returns the current instance of
IloResourceConstraint,
the one to which the invoking iterator points. This operator must not be
called if the iterator does not point to a valid position,
that is, one to which the member function IloAltResConstraintIterator::ok
returns IloFalse.
This left-increment operator shifts the current position of the iterator to the next instance of
IloResourceConstraint
with alternatives.