This method returns an instance of transition distance of the specified size i. Initially, the transition distance between any two indices is 0. You need to fill the transition distance using the method setValue. You can specify a name of your own choice.

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

Syntax

C#
public ITransitionDistance TransitionDistance(
	int i,
	string name
)

Parameters

i
Type: System..::..Int32
name
Type: System..::..String

See Also