Modifier and Type | Method and Description |
---|---|
VarSet |
ProblemDelegator.element(java.util.Set<java.lang.Integer>[] sets,
Var indexVar) |
VarSet |
Problem.element(java.util.Set<java.lang.Integer>[] sets,
Var indexVar)
Creates a set variable that corresponds to sets[index]
|
VarSet |
VarSet.intersection(VarSet varSet)
Creates a new set variable that is an intersection of this set variable
with the "varSet" passed as a parameter.
|
VarSet |
VarSet.union(VarSet varSet)
Creates a new set variable that is an union of this set variable
with the "varSet" passed as a parameter.
|
VarSet |
ProblemDelegator.variableSet(java.lang.String name,
int[] values) |
VarSet |
Problem.variableSet(java.lang.String name,
int[] values)
Creates a constrained set variable VarSet with the name "name"
and which domain consists of integer values from the array "value".
|
VarSet |
ProblemDelegator.variableSet(java.lang.String name,
int min,
int max) |
VarSet |
Problem.variableSet(java.lang.String name,
int min,
int max)
Creates a constrained set variable VarSet with the name "name"
and domain of integer values from "min" to "max" inclusive.
|
VarSet |
ProblemDelegator.variableSet(java.lang.String name,
java.util.Set set) |
VarSet |
Problem.variableSet(java.lang.String name,
java.util.Set set)
Creates a constrained set variable VarSet with the name "name" and which
domain consists of integer values from the Set "set".
|
Modifier and Type | Method and Description |
---|---|
VarSet |
VarSet.intersection(VarSet varSet)
Creates a new set variable that is an intersection of this set variable
with the "varSet" passed as a parameter.
|
Constraint |
ProblemDelegator.postElement(java.util.Set[] arrayOfSets,
Var indexVar,
java.lang.String oper,
VarSet var) |
Constraint |
Problem.postElement(java.util.Set[] arrayOfSets,
Var indexVar,
java.lang.String oper,
VarSet var)
Creates and posts a constraint: arrayOfSets[indexVar] 'oper' setVar
Here "arrayOfSets[indexVar]" denotes a constrained set variable, which domain
consists of sets of integers arrayOfSets[i] where i is within domain of the "indexVar".
|
void |
SearchStrategy.setVars(VarSet[] setVars)
Defines an array of integer variables that may be used (or not) by this strategy.
|
void |
Solver.trace(VarSet setVar)
This method forces to trace (to log) all modification events for
the variable "setVar".
|
VarSet |
VarSet.union(VarSet varSet)
Creates a new set variable that is an union of this set variable
with the "varSet" passed as a parameter.
|