Uses of Class
com.google.ortools.sat.IntervalVar
-
Packages that use IntervalVar Package Description com.google.ortools.sat -
-
Uses of IntervalVar in com.google.ortools.sat
Methods in com.google.ortools.sat that return IntervalVar Modifier and Type Method Description IntervalVarCpModel. newFixedInterval(long start, long size, java.lang.String name)Creates a fixed interval from its start and its size.IntervalVarCpModel. newFixedSizeIntervalVar(LinearArgument start, long size, java.lang.String name)Creates an interval variable from an affine expression start, and a fixed size.IntervalVarCpModel. newIntervalVar(LinearArgument start, LinearArgument size, LinearArgument end, java.lang.String name)Creates an interval variable from three affine expressions start, size, and end.IntervalVarCpModel. newOptionalFixedInterval(long start, long size, Literal isPresent, java.lang.String name)Creates an optional fixed interval from start and size, and an isPresent literal.IntervalVarCpModel. newOptionalFixedSizeIntervalVar(LinearArgument start, long size, Literal isPresent, java.lang.String name)Creates an optional interval variable from an affine expression start, and a fixed size.IntervalVarCpModel. newOptionalIntervalVar(LinearArgument start, LinearArgument size, LinearArgument end, Literal isPresent, java.lang.String name)Creates an optional interval variable from three affine expressions start, size, end, and isPresent.Methods in com.google.ortools.sat with parameters of type IntervalVar Modifier and Type Method Description CumulativeConstraintCumulativeConstraint. addDemand(IntervalVar interval, long demand)CumulativeConstraintCumulativeConstraint. addDemand(IntervalVar interval, LinearArgument demand)CumulativeConstraintCumulativeConstraint. addDemands(IntervalVar[] intervals, int[] demands)Adds all pairs (intervals[i], demands[i]) to the constraint.CumulativeConstraintCumulativeConstraint. addDemands(IntervalVar[] intervals, long[] demands)Adds all pairs (intervals[i], demands[i]) to the constraint.CumulativeConstraintCumulativeConstraint. addDemands(IntervalVar[] intervals, LinearArgument[] demands)Adds all pairs (intervals[i], demands[i]) to the constraint.ConstraintCpModel. addNoOverlap(IntervalVar[] intervalVars)AddsNoOverlap(intervalVars).NoOverlap2dConstraintNoOverlap2dConstraint. addRectangle(IntervalVar xInterval, IntervalVar yInterval)Method parameters in com.google.ortools.sat with type arguments of type IntervalVar Modifier and Type Method Description ConstraintCpModel. addNoOverlap(java.lang.Iterable<IntervalVar> intervalVars)AddsNoOverlap(intervalVars).
-