Overview | Group | Tree | Graph | Index | Concepts |
A visitor IloVisitor<class IloObject,class IloContainer>
is a
class that allows you to traverse each of the elements of type IloObject
of a container class IloContainer
. For example, a visitor can be
used to specify how to traverse the set of variables (IloIntVar
) of
an array of variables (IloIntVarArray
).
An instance of visitor can be initialized using the macros
ILOVISITOR0
and
ILODEFAULTVISITOR
.
For more information, see Selectors.
See Also:
ILOVISITOR0, ILODEFAULTVISITOR, IloBestSelector