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

A evaluator of integer values is an object that is used by value
selectors (IloValueSelector)
to define instantiation strategies. An evaluator of integer
variable value assignments is defined by implementing the pure
virtual member function
IloNum IloIntValueEvalI::eval(IloCPEngine cp, IloIntVar x, IloInt value)
that returns an evaluation of the instantiation of x
to value.
| Method Summary | |
|---|---|
public virtual IloNum | eval(IloCPEngine cp, IloIntVar x, IloInt value) |
public | IloIntValueEvalI(IloEnv env) |
public | ~IloIntValueEvalI() |
| Method Detail |
|---|
This constructor creates an evaluator of integer variable value assignments. It should not be called directly because this is an abstract class but it must be called in the constructor of a sub-class.
As this class is abstract, a virtual destructor is provided.
This pure virtual member function should be define to return an
evaluation of the instantiation of x to
value.