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.DomFunctionalInterfaces.IntToDom. apply(int i)Returns an integer domain, computed from the specified integer.Domains.DomFunctionalInterfaces.Intx2ToDom. apply(int i, int j)Returns an integer domain, computed from the specified integers.Domains.DomFunctionalInterfaces.Intx3ToDom. apply(int i, int j, int k)Returns an integer domain, computed from the specified integers.Domains.DomFunctionalInterfaces.Intx4ToDom. apply(int i, int j, int k, int l)Returns an integer domain, computed from the specified integers.Domains.DomFunctionalInterfaces.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.DomDomains.Dom. when(boolean condition)Returns this object if the condition is evaluated totrue,nullotherwise. -
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.DomProblemAPI. dom(int[] values)Returns an integer domain composed of the sorted distinct values that come from the specified array.default Domains.DomProblemAPI. dom(int[][] m)Returns an integer domain composed of the sorted distinct values that come from the specified array.default Domains.DomProblemAPI. 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.DomProblemAPI. dom(int value, int... otherValues)Returns an integer domain composed of the sorted distinct values that come from the specified values.default Domains.DomProblemAPI. dom(Collection<Integer> values)Returns an integer domain composed of the sorted distinct values that come from the specified collection.default Domains.DomProblemAPI. dom(java.util.stream.IntStream values)Returns an integer domain composed of the sorted distinct values that come from the specified streamdefault Domains.DomProblemAPI. 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.VarProblemAPI. 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.VarProblemAPI. 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.VarProblemIMP. buildVarInteger(String id, Domains.Dom dom)Managing VariablesProblemIMP3.MVariable.MVarIntegerProblemIMP3. 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.DomXVariables.XArray. domAt(int... indexes)Returns the domain of the variable at the position given by the multi-dimensional index.
-