FRAMES NO FRAMES

Class IloVisitor<,>

Definition file: ilsolver/iloselector.h
Include file: <ilsolver/iloselector.h>

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: