This method returns a value evaluator. The evaluations of elements of vals are explicitly defined in the array of floating-point values evaluation; that is, the evaluation of vals[i] is evaluation[i]. The arrays vals and evaluation must have the same size. The evaluation of a value that does not appear in vals is given by defaultEval.

Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)

Syntax

C#
public virtual IIntValueEval ExplicitValueEval(
	int[] vals,
	double[] evaluation,
	double defaultEval
)

Parameters

vals
Type: array<System..::..Int32>[]()[][]
evaluation
Type: array<System..::..Double>[]()[][]
defaultEval
Type: System..::..Double

See Also