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: ILOG.CP (in ILOG.CP.dll)

Syntax

C#
public virtual IIntValueEval ExplicitValueEval(
	int[] vals,
	double[] evaluation,
	double defaultEval
)
Visual Basic
Public Overridable Function ExplicitValueEval ( _
	vals As Integer(), _
	evaluation As Double(), _
	defaultEval As Double _
) As IIntValueEval

Parameters

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

See Also