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

Solver lets you control the order in which the values in the domain of a constrained variable are tried during the search for a solution.
This class is the implementation class for IlcIntSelect, the
class of the object that chooses the value to try when the constrained
variable under consideration is a constrained integer variable (that is, an
instance of IlcIntVar).
The virtual member function in IlcIntSelectI chooses a value
in the domain of the constrained integer variable under consideration.
To define new selection criteria, you can define a subclass of
IlcIntSelectI. If those criteria can be expressed by an
evaluation function, then you can use the predefined subclass
IlcIntSelectEvalI for that purpose.
See Also:
IlcEvalInt, IlcIntSelect, IlcIntSelectEvalI, IloIntValueSelector, IloIntValueSelectorI
| Constructor and Destructor Summary | |
|---|---|
public | IlcIntSelectI() |
public | ~IlcIntSelectI() |
| Method Summary | |
|---|---|
public virtual IlcInt | select(IlcIntVar var) |
| Constructor and Destructor Detail |
|---|
This constructor creates an implementation object.
As this class is to be subclassed, a virtual destructor is provided.
| Method Detail |
|---|
This virtual member function returns one of the values of the domain of the
constrained integer variable var. Its default implementation for the
class IlcIntSelectI returns the minimum of the domain.