Uses of Class
org.xcsp.common.Range.Rangesx2
-
Packages that use Range.Rangesx2 Package Description org.xcsp.common org.xcsp.common.structures org.xcsp.modeler.api org.xcsp.modeler.implementation -
-
Uses of Range.Rangesx2 in org.xcsp.common
Methods in org.xcsp.common that return Range.Rangesx2 Modifier and Type Method Description Range.Rangesx2
Range. range(int length)
Returns a double range obtained by combining this range with a range built from the specified length (using implicitly a lower bound equal to 0 and a step equal to 1).Range.Rangesx2
Range. range(int startInclusive, int endExclusive)
Returns a double range obtained by combining this range with a range built from the specified bounds (using implicitly a step equal to 1).Range.Rangesx2
Range. range(int startInclusive, int endExclusive, int step)
Returns a double range obtained by combining this range with a range built from the specified bounds and step.Range.Rangesx2
Range. rangeClosed(int startInclusive, int endInclusive)
Returns a double range obtained by combining this range with a range built from the specified bounds (using implicitly a step equal to 1).Range.Rangesx2
Range. rangeClosed(int startInclusive, int endInclusive, int step)
Returns a double range obtained by combining this range with a range built from the specified bounds and step. -
Uses of Range.Rangesx2 in org.xcsp.common.structures
Methods in org.xcsp.common.structures with parameters of type Range.Rangesx2 Modifier and Type Method Description Table
Table. addFrom(Range.Rangesx2 r2, java.util.function.BiFunction<Integer,Integer,int[]> f)
-
Uses of Range.Rangesx2 in org.xcsp.modeler.api
Methods in org.xcsp.modeler.api with parameters of type Range.Rangesx2 Modifier and Type Method Description default CtrEntities.CtrArray
ProblemAPIBase. forall(Range.Rangesx2 rangesx2, FunctionalInterfaces.Intx2Consumer c2)
Builds a group of constraints by executing the specified consumer on each double value of the specified double range.default <T> T[]
ProblemAPIOnVars. select(T[][] vars, Range.Rangesx2 rangesx2)
Builds and returns a 1-dimensional array of objects (e.g., variables), obtained by selecting from the specified array any object, at index(i,j)
, that belongs to the specified double range.default int[]
ProblemAPIOnVals. valuesFrom(Range.Rangesx2 r2, java.util.function.BiFunction<Integer,Integer,Object> f)
Builds and returns a 1-dimensional array of integers from the specified double range. -
Uses of Range.Rangesx2 in org.xcsp.modeler.implementation
Methods in org.xcsp.modeler.implementation with parameters of type Range.Rangesx2 Modifier and Type Method Description CtrEntities.CtrArray
ProblemIMP. forall(Range.Rangesx2 rangesx2, FunctionalInterfaces.Intx2Consumer c2)
Builds constraints by considering the specified ranges and soliciting the specified function.
-