Uses of Class
org.xcsp.modeler.api.ProblemAPIBase.Index
-
Packages that use ProblemAPIBase.Index Package Description org.xcsp.modeler.api -
-
Uses of ProblemAPIBase.Index in org.xcsp.modeler.api
Methods in org.xcsp.modeler.api that return ProblemAPIBase.Index Modifier and Type Method Description default ProblemAPIBase.IndexProblemAPIBase. index(IVar.Var variable)Returns an objectIndexwrapping the specified variable (and the default value ANY).default ProblemAPIBase.IndexProblemAPIBase. index(IVar.Var variable, Types.TypeRank rank)Returns an objectIndexwrapping the specified variable and the specified rank type.Methods in org.xcsp.modeler.api with parameters of type ProblemAPIBase.Index Modifier and Type Method Description default CtrEntities.CtrEntityProblemAPI. element(int[] list, int startIndex, ProblemAPIBase.Index index, Condition condition)default CtrEntities.CtrEntityProblemAPI. element(IVar.Var[] list, int startIndex, ProblemAPIBase.Index index, Condition condition)default CtrEntities.CtrEntityProblemAPI. maximum(IVar.Var[] list, int startIndex, ProblemAPIBase.Index index, Condition condition)Builds a constraintmaximumfrom the specified arguments: the maximum of the values assigned to the variables oflistmust be the value assigned to the variable oflistatindex.variableand besides this value must respect the specified condition.default CtrEntities.CtrEntityProblemAPI. maximum(IVar.Var[] list, ProblemAPIBase.Index index)Builds a constraintmaximumfrom the specified arguments: the maximum of the values assigned to the variables oflistmust be the value assigned to the variable oflistatindex.variable.default CtrEntities.CtrEntityProblemAPI. minimum(IVar.Var[] list, int startIndex, ProblemAPIBase.Index index, Condition condition)Builds a constraintminimumfrom the specified arguments: the minimum of the values assigned to the variables oflistmust be the value assigned to the variable oflistatindex.variableand besides this value must respect the specified condition.default CtrEntities.CtrEntityProblemAPI. minimum(IVar.Var[] list, ProblemAPIBase.Index index)Builds a constraintminimumfrom the specified arguments: the minimum of the values assigned to the variables oflistmust be the value assigned to the variable oflistatindex.variable.
-