Uses of Interface
org.maxicp.cp.engine.constraints.scheduling.CPCumulFunction
Packages that use CPCumulFunction
Package
Description
Constraint Programming Solver Implementation
Constraints implementation for Scheduling over Interval Variables and Cumulative Functions
CP Instantiation of the Symbolic Modeling API
-
Uses of CPCumulFunction in org.maxicp.cp
Methods in org.maxicp.cp that return CPCumulFunctionModifier and TypeMethodDescriptionstatic CPCumulFunctionCPFactory.flat()Creates an elementary flat Cumulative Function.static CPCumulFunctionCPFactory.minus(CPCumulFunction fun1, CPCumulFunction fun2) Creates a cumulative Function that is the difference of two cumulative Functions.static CPCumulFunctionCPFactory.plus(CPCumulFunction fun1, CPCumulFunction fun2) Creates a cumulative Function that is the sum of two cumulative Functions.static CPCumulFunctionCPFactory.pulse(CPIntervalVar var, int h) Creates an elementary Cumulative Function that is a pulse of height h that happen when the Interval variable var is present.static CPCumulFunctionCPFactory.pulse(CPIntervalVar var, int hMin, int hMax) Creates an elementary Cumulative Function that is a pulse that happen when the Interval variable var is present.static CPCumulFunctionCreates an elementary Cumulative Function that is a pulse of height h that happen at time from.static CPCumulFunctionCreates an elementary Cumulative Function that is a step of height h that happen at time from.static CPCumulFunctionCPFactory.stepAtEnd(CPIntervalVar var, int h) Creates an elementary Cumulative Function that is a step of height h that happen at the end of the Interval variable var if it is present.static CPCumulFunctionCPFactory.stepAtEnd(CPIntervalVar var, int hMin, int hMax) Creates an elementary Cumulative Function that is a step that happen at the end of the Interval variable var if it is present.static CPCumulFunctionCPFactory.stepAtStart(CPIntervalVar var, int h) Creates an elementary Cumulative Function that is a step of height h that happen at the start of the Interval variable var if it is present.static CPCumulFunctionCPFactory.stepAtStart(CPIntervalVar var, int hMin, int hMax) Creates an elementary Cumulative Function that is a step that happen at the start of the Interval variable var if it is present.static CPCumulFunctionCPFactory.sum(CPCumulFunction... fun) Creates a cumulative Function that is the sum of zero or more cumulative Functions.Methods in org.maxicp.cp with parameters of type CPCumulFunctionModifier and TypeMethodDescriptionstatic CPConstraintCPFactory.alwaysIn(CPCumulFunction fun, int minValue, int maxValue) Requires a cumulative function to always be within the range [minValue..maxValue] on the execution range of the cumulative function.static CPConstraintCPFactory.alwaysIn(CPCumulFunction fun, int minValue, int maxValue, int from, int to) Requires a cumulative function to always be within the range [minValue..maxValue] on the execution range [from..to).static CPConstraintCPFactory.alwaysIn(CPCumulFunction fun, int minValue, int maxValue, int from, int to, Constants.CumulativeAlgo algo) Requires a cumulative function to always be within the range [minValue..maxValue] on the execution range [from..to).static CPConstraintCPFactory.alwaysIn(CPCumulFunction fun, int minValue, int maxValue, Constants.CumulativeAlgo algo) Requires a cumulative function to always be within the range [minValue..maxValue] on the execution range of the cumulative function.static CPConstraintCPFactory.le(CPCumulFunction fun, int maxValue) Requires a cumulative function to always be equal or lesser than a value on the execution range [0..Constants.HORIZON).static CPConstraintCPFactory.le(CPCumulFunction fun, int maxValue, Constants.CumulativeAlgo algo) Requires a cumulative function to always be equal or lesser than a value on the execution range [0..Constants.HORIZON).static CPCumulFunctionCPFactory.minus(CPCumulFunction fun1, CPCumulFunction fun2) Creates a cumulative Function that is the difference of two cumulative Functions.static CPCumulFunctionCPFactory.plus(CPCumulFunction fun1, CPCumulFunction fun2) Creates a cumulative Function that is the sum of two cumulative Functions.static CPCumulFunctionCPFactory.sum(CPCumulFunction... fun) Creates a cumulative Function that is the sum of zero or more cumulative Functions. -
Uses of CPCumulFunction in org.maxicp.cp.engine.constraints.scheduling
Classes in org.maxicp.cp.engine.constraints.scheduling that implement CPCumulFunctionModifier and TypeClassDescriptionclassCP implementation of a Flat Cumulative Functionfinal recordCP implementation of a Minus Cumulative Functionfinal recordCP implementation of a Plus Cumulative FunctionclassCP implementation of a Pulse Cumulative FunctionclassCP implementation of a Step at End Cumulative FunctionclassCP implementation of a Step at Start Cumulative Functionfinal recordCP implementation of a Sum Cumulative FunctionMethods in org.maxicp.cp.engine.constraints.scheduling that return CPCumulFunctionModifier and TypeMethodDescriptionCPSumCumulFunction.functions()Returns the value of thefunctionsrecord component.CPMinusCumulFunction.left()Returns the value of theleftrecord component.CPPlusCumulFunction.left()Returns the value of theleftrecord component.CPMinusCumulFunction.right()Returns the value of therightrecord component.CPPlusCumulFunction.right()Returns the value of therightrecord component.Constructors in org.maxicp.cp.engine.constraints.scheduling with parameters of type CPCumulFunctionModifierConstructorDescriptionCPMinusCumulFunction(CPCumulFunction left, CPCumulFunction right) Creates an instance of aCPMinusCumulFunctionrecord class.CPPlusCumulFunction(CPCumulFunction left, CPCumulFunction right) Creates an instance of aCPPlusCumulFunctionrecord class.CPSumCumulFunction(CPCumulFunction... functions) Creates an instance of aCPSumCumulFunctionrecord class. -
Uses of CPCumulFunction in org.maxicp.cp.modeling
Methods in org.maxicp.cp.modeling that return CPCumulFunction