java.lang.Object
org.maxicp.modeling.algebra.scheduling.StepAtStartCumulFunction
- All Implemented Interfaces:
CumulFunction
Step at Start Elementary Cumul Function
- Author:
- Pierre Schaus, Charles Thomas, Augustin Delecluse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionheightAtEnd(IntervalVar interval) Returns anIntExpressionrepresenting the height of the cumul function at the end of the interval variable given in parameter.heightAtStart(IntervalVar interval) Returns anIntExpressionrepresenting the height of the cumul function at the start of the interval variable given in parameter.booleaninScope(IntervalVar interval) Returns whether the interval var given in parameter contributes to the cumul function
-
Field Details
-
interval
-
hMin
public final int hMin -
hMax
public final int hMax
-
-
Constructor Details
-
StepAtStartCumulFunction
-
-
Method Details
-
heightAtStart
Description copied from interface:CumulFunctionReturns anIntExpressionrepresenting the height of the cumul function at the start of the interval variable given in parameter.- Specified by:
heightAtStartin interfaceCumulFunction- Parameters:
interval- anIntervalVar- Returns:
- an int expression representing the height of the cumul function at the start of interval
-
heightAtEnd
Description copied from interface:CumulFunctionReturns anIntExpressionrepresenting the height of the cumul function at the end of the interval variable given in parameter.- Specified by:
heightAtEndin interfaceCumulFunction- Parameters:
interval- anIntervalVar- Returns:
- an int expression representing the height of the cumul function at the end of interval
-
inScope
Description copied from interface:CumulFunctionReturns whether the interval var given in parameter contributes to the cumul function- Specified by:
inScopein interfaceCumulFunction- Parameters:
interval- anIntervalVar- Returns:
- a boolean that indicates if interval contributes to the cumul function.
-