Uses of Class
org.xcsp.common.domains.Domains.Dom
-
Packages that use Domains.Dom Package Description org.xcsp.common org.xcsp.common.domains org.xcsp.modeler.api org.xcsp.modeler.implementation org.xcsp.parser.entries -
-
Uses of Domains.Dom in org.xcsp.common
Methods in org.xcsp.common that return Domains.Dom Modifier and Type Method Description Domains.Dom
FunctionalInterfaces.IntToDom. apply(int i)
Returns an integer domain, computed from the specified integer.Domains.Dom
FunctionalInterfaces.Intx2ToDom. apply(int i, int j)
Returns an integer domain, computed from the specified integers.Domains.Dom
FunctionalInterfaces.Intx3ToDom. apply(int i, int j, int k)
Returns an integer domain, computed from the specified integers.Domains.Dom
FunctionalInterfaces.Intx4ToDom. apply(int i, int j, int k, int l)
Returns an integer domain, computed from the specified integers.Domains.Dom
FunctionalInterfaces.Intx5ToDom. apply(int i, int j, int k, int l, int m)
Returns an integer domain, computed from the specified integers. -
Uses of Domains.Dom in org.xcsp.common.domains
Methods in org.xcsp.common.domains that return Domains.Dom Modifier and Type Method Description Domains.Dom
Domains.Dom. when(boolean condition)
Returns this object if the condition is evaluated totrue
,null
otherwise. -
Uses of Domains.Dom in org.xcsp.modeler.api
Methods in org.xcsp.modeler.api that return Domains.Dom Modifier and Type Method Description default Domains.Dom
ProblemAPI. dom(int[] values)
Returns an integer domain composed of the sorted distinct values that come from the specified array.default Domains.Dom
ProblemAPI. dom(int[][] m)
Returns an integer domain composed of the sorted distinct values that come from the specified array.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 Domains.Dom
ProblemAPI. dom(int value, int... otherValues)
Returns an integer domain composed of the sorted distinct values that come from the specified values.default Domains.Dom
ProblemAPI. dom(Collection<Integer> values)
Returns an integer domain composed of the sorted distinct values that come from the specified collection.default Domains.Dom
ProblemAPI. dom(java.util.stream.IntStream values)
Returns an integer domain composed of the sorted distinct values that come from the specified streamdefault Domains.Dom
ProblemAPI. dom(Range range)
Returns an integer domain composed of the values contained in the specified range.Methods in org.xcsp.modeler.api with parameters of type Domains.Dom Modifier and Type Method Description default IVar.Var[]
ProblemAPI. array(String id, Size.Size1D size, Domains.Dom dom, String note, Types.TypeClass... classes)
Builds a 1-dimensional array of integer variables with the specified id, size, domain, note and classes.default IVar.Var[]
ProblemAPI. array(String id, Size.Size1D size, Domains.Dom dom, Types.TypeClass... classes)
Builds a 1-dimensional array of integer variables with the specified id, size, domain, and classes.default IVar.Var[][]
ProblemAPI. array(String id, Size.Size2D size, Domains.Dom dom, String note, Types.TypeClass... classes)
Builds a 2-dimensional array of integer variables with the specified id, size, domain, note (short comment) and classes.default IVar.Var[][]
ProblemAPI. array(String id, Size.Size2D size, Domains.Dom dom, Types.TypeClass... classes)
Builds a 2-dimensional array of integer variables with the specified id, size, domain, and classes.default IVar.Var[][][]
ProblemAPI. array(String id, Size.Size3D size, Domains.Dom dom, String note, Types.TypeClass... classes)
Builds a 3-dimensional array of integer variables with the specified id, size, domain, note (short comment) and classes.default IVar.Var[][][]
ProblemAPI. array(String id, Size.Size3D size, Domains.Dom dom, Types.TypeClass... classes)
Builds a 3-dimensional array of integer variables with the specified id, size, domain, and classes.default IVar.Var[][][][]
ProblemAPI. array(String id, Size.Size4D size, Domains.Dom dom, String note, Types.TypeClass... classes)
Builds a 4-dimensional array of integer variables with the specified id, size, domain, note (short comment) and classes.default IVar.Var[][][][]
ProblemAPI. array(String id, Size.Size4D size, Domains.Dom dom, Types.TypeClass... classes)
Builds a 4-dimensional array of integer variables with the specified id, size, domain, and classes.default IVar.Var[][][][][]
ProblemAPI. array(String id, Size.Size5D size, Domains.Dom dom, String note, Types.TypeClass... classes)
Builds a 5-dimensional array of integer variables with the specified id, size, domain, note (short comment) and classes.default IVar.Var[][][][][]
ProblemAPI. array(String id, Size.Size5D size, Domains.Dom dom, Types.TypeClass... classes)
Builds a 5-dimensional array of integer variables with the specified id, size, domain, note (short comment) and classes.default IVar.Var
ProblemAPI. var(String id, Domains.Dom dom, String note, Types.TypeClass... classes)
Builds a stand-alone integer variable with the specified id, domain, note (short comment) and classes.default IVar.Var
ProblemAPI. var(String id, Domains.Dom dom, Types.TypeClass... classes)
Builds a stand-alone integer variable with the specified id, domain and classes. -
Uses of Domains.Dom in org.xcsp.modeler.implementation
Methods in org.xcsp.modeler.implementation with parameters of type Domains.Dom Modifier and Type Method Description abstract IVar.Var
ProblemIMP. buildVarInteger(String id, Domains.Dom dom)
Managing VariablesProblemIMP3.MVariable.MVarInteger
ProblemIMP3. buildVarInteger(String id, Domains.Dom dom)
Constructors in org.xcsp.modeler.implementation with parameters of type Domains.Dom Constructor Description MVarInteger(String id, Domains.Dom dom)
-
Uses of Domains.Dom in org.xcsp.parser.entries
Methods in org.xcsp.parser.entries that return Domains.Dom Modifier and Type Method Description Domains.Dom
XVariables.XArray. domAt(int... indexes)
Returns the domain of the variable at the position given by the multi-dimensional index.
-