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.Index
ProblemAPIBase. index(IVar.Var variable)
Returns an objectIndex
wrapping the specified variable (and the default value ANY).default ProblemAPIBase.Index
ProblemAPIBase. index(IVar.Var variable, Types.TypeRank rank)
Returns an objectIndex
wrapping 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.CtrEntity
ProblemAPI. element(int[] list, int startIndex, ProblemAPIBase.Index index, Condition condition)
default CtrEntities.CtrEntity
ProblemAPI. element(IVar.Var[] list, int startIndex, ProblemAPIBase.Index index, Condition condition)
default CtrEntities.CtrEntity
ProblemAPI. maximum(IVar.Var[] list, int startIndex, ProblemAPIBase.Index index, Condition condition)
Builds a constraintmaximum
from the specified arguments: the maximum of the values assigned to the variables oflist
must be the value assigned to the variable oflist
atindex.variable
and besides this value must respect the specified condition.default CtrEntities.CtrEntity
ProblemAPI. maximum(IVar.Var[] list, ProblemAPIBase.Index index)
Builds a constraintmaximum
from the specified arguments: the maximum of the values assigned to the variables oflist
must be the value assigned to the variable oflist
atindex.variable
.default CtrEntities.CtrEntity
ProblemAPI. minimum(IVar.Var[] list, int startIndex, ProblemAPIBase.Index index, Condition condition)
Builds a constraintminimum
from the specified arguments: the minimum of the values assigned to the variables oflist
must be the value assigned to the variable oflist
atindex.variable
and besides this value must respect the specified condition.default CtrEntities.CtrEntity
ProblemAPI. minimum(IVar.Var[] list, ProblemAPIBase.Index index)
Builds a constraintminimum
from the specified arguments: the minimum of the values assigned to the variables oflist
must be the value assigned to the variable oflist
atindex.variable
.
-