FRAMES NO FRAMES

Class IlcAnyDeltaRequiredIterator

Definition file: ilsolver/ilcset.h
Include file: <ilsolver/ilosolver.h>

An instance of the class IlcAnyDeltaRequiredIterator is an iterator that traverses the elements of the required delta set of an instance of IlcAnySetVar (a constrained set variable). The order in which the iterator traverses the required delta set is not predictable.

For more information, see the concepts Propagation, Domain-Delta, and Iterator.

See Also:

Constructor Summary
public IlcAnyDeltaRequiredIterator(IlcAnySetVar var)
Method Summary
public IlcBoolok() const
public IlcAnyoperator*() const
public IlcAnyDeltaRequiredIterator &operator++()
Constructor Detail

IlcAnyDeltaRequiredIterator

public IlcAnyDeltaRequiredIterator(IlcAnySetVar var)

This constructor creates an iterator associated with var to traverse the values belonging to its required delta set.


Method Detail

ok

public IlcBool ok() const

This member function returns IlcTrue if there is a current element and the iterator points to it. Otherwise, it returns IlcFalse.


operator*

public IlcAny operator*() const

This operator returns the current element, the one to which the invoking iterator points.


operator++

public IlcAnyDeltaRequiredIterator & operator++()

This operator advances the iterator to point to the next value in the required delta set.