This method returns a constraint that states that whenever both interval variables pred and succ are present, interval variable pred must be ordered before interval variable succ (but not necessarily immediately before) in the sequence variable seq.

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

Syntax

C#
public IConstraint Before(
	IIntervalSequenceVar seq,
	IIntervalVar pred,
	IIntervalVar succ
)
Visual Basic
Public Function Before ( _
	seq As IIntervalSequenceVar, _
	pred As IIntervalVar, _
	succ As IIntervalVar _
) As IConstraint

Remarks

Note: This constraint cannot be used in a logical constraint.

See Also