This method returns an elementary cumul function expression that, whenever interval variable a is present, is equal to v between the start and the end of interval variable a and equal to 0 everywhere else. When interval variable a is absent, the function is the constant null function.

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

Syntax

C#
public ICumulFunctionExpr Pulse(
	IIntervalVar a,
	int v
)

Parameters

a
Type: ILOG.Concert..::..IIntervalVar
v
Type: System..::..Int32

Remarks

For more information on cumul function expressions, see the Concepts section of the C++ API Reference Manual.

See Also