Java Reference
Java Reference
CumulativeConstraint.java
Go to the documentation of this file.
Exception thrown when parallel arrays have mismatched lengths.
Definition: CpModel.java:52
Specialized cumulative constraint.
Definition: CumulativeConstraint.java:24
CumulativeConstraint addDemands(IntervalVar[] intervals, long[] demands)
Adds all pairs (intervals[i], demands[i]) to the constraint.
Definition: CumulativeConstraint.java:73
CumulativeConstraint addDemands(IntervalVar[] intervals, LinearArgument[] demands)
Adds all pairs (intervals[i], demands[i]) to the constraint.
Definition: CumulativeConstraint.java:54
CumulativeConstraint addDemand(IntervalVar interval, LinearArgument demand)
Adds a pair (interval, demand) to the constraint.
Definition: CumulativeConstraint.java:31
CumulativeConstraint addDemands(IntervalVar[] intervals, int[] demands)
Adds all pairs (intervals[i], demands[i]) to the constraint.
Definition: CumulativeConstraint.java:92
CumulativeConstraint(CpModel model)
Definition: CumulativeConstraint.java:25
CumulativeConstraint addDemand(IntervalVar interval, long demand)
Adds a pair (interval, demand) to the constraint.
Definition: CumulativeConstraint.java:39
int getIndex()
Returns the index of the interval constraint in the model.
Definition: IntervalVar.java:56
A object that can build a LinearExpr object.
Definition: LinearArgument.java:21