- save() - Method in interface javax.constraints.Solution
-
Saves the found results back to the constrained variables included into the solution
- saveProblem() - Method in interface javax.constraints.Solver
-
Creates a copy of the problem in its current state
- scalProd(int[], Var[]) - Method in interface javax.constraints.Problem
-
Returns an integer constrained variable equal to the scalar product of an array of values "arrayOfValues"
and an array of variables "arrayOfVariables".
- scalProd(int[], ArrayList<Var>) - Method in interface javax.constraints.Problem
-
- scalProd(double[], VarReal[]) - Method in interface javax.constraints.Problem
-
Returns a real constrained variable equal to the scalar product of an array of values "arrayOfValues"
and an array of variables "arrayOfVariables".
- scalProd(double[], ConstrainedVariable[]) - Method in interface javax.constraints.Problem
-
Returns a real constrained variable equal to the scalar product of an array of values "arrayOfValues"
and an array of variables "arrayOfVariables".
- scalProd(int[], Var[]) - Method in class javax.constraints.ProblemDelegator
-
- scalProd(int[], ArrayList<Var>) - Method in class javax.constraints.ProblemDelegator
-
- scalProd(double[], VarReal[]) - Method in class javax.constraints.ProblemDelegator
-
- scalProd(double[], ConstrainedVariable[]) - Method in class javax.constraints.ProblemDelegator
-
- SearchStrategy - Interface in javax.constraints
-
- SearchStrategy.SearchStrategyType - Enum in javax.constraints
-
- select(Var) - Method in interface javax.constraints.ValueSelector
-
- select() - Method in interface javax.constraints.VarRealSelector
-
Returns the index of the selected variable in the array of constrained
real variables upon which this selector was defined.
- select() - Method in interface javax.constraints.VarSelector
-
Returns the index of the selected variable in the array of constrained
variables upon which this selector was defined.
- setDomainType(DomainType) - Method in interface javax.constraints.Problem
-
Sets the domain type that will be used as the default for subsequent creation
of variables using addVar-methods
- setDomainType(DomainType) - Method in class javax.constraints.ProblemDelegator
-
- setDomainType(DomainType) - Method in interface javax.constraints.Var
-
Changes the domain type of this variable.
- setEmpty(boolean) - Method in interface javax.constraints.VarSet
-
Sets the cardinality of this set variable to be equals 0 if
the flag is true, and to be more or equal 1 if the flag is false.
- setImpl(Object) - Method in interface javax.constraints.ConstrainedVariable
-
This method defines an Object that represents an actual
implementation of this object inside a concrete solver.
- setImpl(Object) - Method in interface javax.constraints.Constraint
-
This method defines an Object that represents an actual
implementation of this object inside a concrete solver.
- setImpl(Object) - Method in interface javax.constraints.SearchStrategy
-
This method defines an Object that represents an actual
implementation of this strategy inside a selected solver.
- setMaxNumberOfSolutions(int) - Method in interface javax.constraints.Solver
-
Sets the limit on the maximal number of solutions any search can look for.
- setName(String) - Method in interface javax.constraints.ConstrainedVariable
-
Sets the name of this object.
- setName(String) - Method in interface javax.constraints.Constraint
-
Sets the name of this object.
- setName(String) - Method in interface javax.constraints.Problem
-
Sets the problem name
- setName(String) - Method in class javax.constraints.ProblemDelegator
-
- setName(String) - Method in interface javax.constraints.SearchStrategy
-
Sets the name of this strategy.
- setObject(Object) - Method in interface javax.constraints.ConstrainedVariable
-
This method may be used to attach a business object to this
object.
- setObject(Object) - Method in interface javax.constraints.Constraint
-
This method may be used to attach a business object to this
object.
- setObject(Object) - Method in interface javax.constraints.SearchStrategy
-
This method may be used to attach a business object to this
object.
- setOptimizationTolerance(int) - Method in interface javax.constraints.Solver
-
Specifies a tolerance for the method findOptimalSolution().
- setProblem(Problem) - Method in interface javax.constraints.Solver
-
Set the Problem with which this solver should work
- setRealPrecision(double) - Method in interface javax.constraints.Problem
-
Sets the precision for VarReals
- setRealPrecision(double) - Method in class javax.constraints.ProblemDelegator
-
- setSearchStrategy(SearchStrategy) - Method in interface javax.constraints.Solver
-
Define a search strategy that will be used by the solver to solve the problem.
- setSearchStrategy(Var[], VarSelector, ValueSelector) - Method in interface javax.constraints.Solver
-
Define a searchStrategy that will be used by find solutions methods.
- setSearchStrategy(Var[], VarSelector) - Method in interface javax.constraints.Solver
-
Define a searchStrategy that will be used by find solutions methods.
- setSearchStrategy(Var[]) - Method in interface javax.constraints.Solver
-
Define a searchStrategy that will be used by find solutions methods.
- setSearchStrategy(Var[], ValueSelector) - Method in interface javax.constraints.Solver
-
Define a searchStrategy that will be used by find solutions methods.
- setSolutionNumber(int) - Method in interface javax.constraints.Solution
-
Sets the number identifying this Solution.
- setSolver(Solver) - Method in interface javax.constraints.Problem
-
Associates a "solver" with the problem
making it available through the method "getSolver()".
- setSolver(Solver) - Method in class javax.constraints.ProblemDelegator
-
- setTimeLimit(int) - Method in interface javax.constraints.Solver
-
Sets the duration, in milliseconds, of the time limit on search of one solution.
- setTimeLimitGlobal(int) - Method in interface javax.constraints.Solver
-
Sets the duration, in milliseconds, of the time limit
on global search of all solutions or an optimal solution.
- setTimeLimitStart() - Method in interface javax.constraints.Solver
-
Sets the start time as the system current time, for counting milliseconds to the time limit.
- setType(SearchStrategy.SearchStrategyType) - Method in interface javax.constraints.SearchStrategy
-
Sets a type of this Search Strategy
- setValue(Set<Integer>) - Method in interface javax.constraints.VarSet
-
Instantiates this set variable with the constant "set" of integers.
- setValueSelector(ValueSelector) - Method in interface javax.constraints.SearchStrategy
-
Sets a value selector that may be used (or not) by this strategy
- setValueSelectorType(ValueSelectorType) - Method in interface javax.constraints.SearchStrategy
-
Sets a value selector type to be used by this strategy
- setVarReals(VarReal[]) - Method in interface javax.constraints.SearchStrategy
-
Defines an array of real variables that may be used (or not) by this strategy
- setVars(Var[]) - Method in interface javax.constraints.SearchStrategy
-
Defines an array of integer variables that may be used (or not) by this strategy
- setVars(ArrayList<Var>) - Method in interface javax.constraints.SearchStrategy
-
Defines an array of integer variables that may be used (or not) by this strategy
- setVars(VarSet[]) - Method in interface javax.constraints.SearchStrategy
-
Defines an array of integer variables that may be used (or not) by this strategy.
- setVarSelector(VarSelector) - Method in interface javax.constraints.SearchStrategy
-
Sets a variable selector that may be used (or not) by this strategy
- setVarSelectorType(VarSelectorType) - Method in interface javax.constraints.SearchStrategy
-
Sets a variable selector type to be used by this strategy
- Solution - Interface in javax.constraints
-
This interface defines a solution of a Problem.
- SolutionIterator - Interface in javax.constraints
-
This is an interface that allows a user to search and to iterate through multiple solutions.
- solutionIterator() - Method in interface javax.constraints.Solver
-
Creates a solution iterator that allows a user to find and navigate
through solutions using the default search strategy.
- Solver - Interface in javax.constraints
-
The interface Solver is used for Problem Resolution and utilizes concepts
of Search Strategies and Solutions.
- sqr() - Method in interface javax.constraints.Var
-
Returns a new Var that is constrained to be the product of this
variable and itself, i.e.
- sqr() - Method in interface javax.constraints.VarReal
-
Adds and returns a new VarReal that is constrained to be the product of this variable
and itself, i.e.
- storeToXML(OutputStream, String) - Method in interface javax.constraints.Problem
-
Emits an XML document representing this instance of the Problem.
- storeToXML(OutputStream, String) - Method in class javax.constraints.ProblemDelegator
-
- sum(Var[]) - Method in interface javax.constraints.Problem
-
Returns a constrained integer variable that is constrained to be
the sum of the variables in the array "vars".
- sum(ArrayList<Var>) - Method in interface javax.constraints.Problem
-
Returns a constrained integer variable that is constrained to be
the sum of the variables in the ArrayList of Var "vars".
- sum(Var, Var) - Method in interface javax.constraints.Problem
-
Returns a constrained integer variable that is constrained to be
the sum of the variables var1 and var2.
- sum(Var, Var, Var) - Method in interface javax.constraints.Problem
-
Returns a constrained integer variable that is constrained to be
the sum of the variables var1, var2, and var3.
- sum(VarReal[]) - Method in interface javax.constraints.Problem
-
Returns a constrained integer variable that is constrained to be
the sum of the variables in the array "vars".
- sum(VarReal, VarReal) - Method in interface javax.constraints.Problem
-
Returns a constrained real variable that is constrained to be
the sum of the variables var1 and var2.
- sum(VarReal, VarReal, VarReal) - Method in interface javax.constraints.Problem
-
Returns a constrained real variable that is constrained to be
the sum of the variables var1, var2, and var3.
- sum(Var[]) - Method in class javax.constraints.ProblemDelegator
-
- sum(ArrayList<Var>) - Method in class javax.constraints.ProblemDelegator
-
- sum(Var, Var) - Method in class javax.constraints.ProblemDelegator
-
- sum(Var, Var, Var) - Method in class javax.constraints.ProblemDelegator
-
- sum(VarReal[]) - Method in class javax.constraints.ProblemDelegator
-
- sum(VarReal, VarReal) - Method in class javax.constraints.ProblemDelegator
-
- sum(VarReal, VarReal, VarReal) - Method in class javax.constraints.ProblemDelegator
-