Skip to main content
FRAMES NO FRAMES

IlcEndBeforeEnd

public void IlcEndBeforeEnd(const IlcIntervalVar x1, const IlcIntervalVar x2, const IlcInt z=0)
Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
End before end precedence between interval variables.

This function adds a precedence between the two instances of IlcIntervalVar, x1 and x2. The precedence states that whenever both interval variables x1 and x2 are present, the distance end(x2)-end(x1) between the end of interval x1 and the end of interval x2 must be greater than or equal to the integer argument z. This function is intended for making binary decisions relative to the end points of two intervals.

See Also: