default Domains.Dom |
ProblemAPI.dom(int[] values,
FunctionalInterfaces.Intx1Predicate p) |
Returns an integer domain composed of the sorted distinct values that come from the specified array and that
respect the specified predicate.
|
default int |
ProblemAPIOnVals.firstFrom(Range r,
FunctionalInterfaces.Intx1Predicate p) |
Returns the first value in the specified range that satisfies the specified predicate.
|
default int |
ProblemAPIOnVals.firstFrom(Range r,
FunctionalInterfaces.Intx1Predicate p,
int defaultValue) |
Returns the first value in the specified range that satisfies the specified predicate, if one is found.
|
default CtrEntities.CtrEntity |
ProblemAPI.instantiation(IVar.Var[] list,
int[] values,
FunctionalInterfaces.Intx1Predicate p) |
Builds a constraint instantiation , assigning
each specified variable at index i with its corresponding value at index i , provided that the
specified predicate accepts i .
|
default int[] |
ProblemAPIOnVals.select(int[] t,
FunctionalInterfaces.Intx1Predicate p) |
Builds and returns a 1-dimensional array of integers, obtained by selecting from the specified array any value that satisfies the specified
predicate.
|
default int[] |
ProblemAPIOnVals.select(Range r,
FunctionalInterfaces.Intx1Predicate p) |
Builds and returns a 1-dimensional array of integers, obtained by selecting from the specified range any value that satisfies the specified
predicate.
|
default <T> T[] |
ProblemAPIOnVars.select(T[] vars,
FunctionalInterfaces.Intx1Predicate p) |
Builds and returns a 1-dimensional array of objects (e.g., variables), obtained by selecting from the specified array any object at an index
i that satisfies the specified predicate.
|
default int[] |
ProblemAPIOnVals.selectFromIndexing(int[] t,
FunctionalInterfaces.Intx1Predicate p) |
Builds and returns a 1-dimensional array of integers, obtained by selecting from the specified array any value at an index i that
satisfies the specified predicate.
|