Overview
Package
Class
Use
Tree
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
S
saveProblem()
- Method in class javax.constraints.impl.search.
AbstractSolver
Creates a copy of the problem in its current state
saveProblem()
- Method in interface javax.constraints.
Solver
Creates a copy of the problem in its current state
scalProd(int[], VarList)
- Method in class javax.constraints.impl.
AbstractProblem
scalProd(int[], Var[])
- Method in interface javax.constraints.
Problem
Returns a constrained variable equal to the scalar product of an array of values "arrayOfValues" and an array of variables "arrayOfVariables".
scalProd(int[], VarList)
- Method in interface javax.constraints.
Problem
scalProd(int[], Var[])
- Method in class javax.constraints.
ProblemDelegator
scalProd(int[], VarList)
- Method in class javax.constraints.
ProblemDelegator
SearchStrategy
- Interface in
javax.constraints
SearchStrategy.SearchStrategyType
- Enum in
javax.constraints
select()
- Method in class javax.constraints.impl.search.selectors.
AbstractVarSelector
Returns the index of the selected variable in the array of constrained variables passed to the selector as a constructor parameter.
select(Var)
- Method in class javax.constraints.impl.search.selectors.
ValueSelectorMax
select(Var)
- Method in class javax.constraints.impl.search.selectors.
ValueSelectorMin
select(Var)
- Method in class javax.constraints.impl.search.selectors.
ValueSelectorMinMaxAlternate
select()
- Method in class javax.constraints.impl.search.selectors.
VarSelectorInputOrder
Returns the index of the selected variable in the array of constrained variables in order of definition.
select()
- Method in class javax.constraints.impl.search.selectors.
VarSelectorMinDomain
Returns the index of the selected variable: "min size of domain, random tie break".
select()
- Method in class javax.constraints.impl.search.selectors.
VarSelectorMinDomainMinValue
Selects the unbound variable with the smallest domain.
select()
- Method in class javax.constraints.impl.search.selectors.
VarSelectorRandom
Returns the index of a randomly selected variable.
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 class javax.constraints.impl.
AbstractProblem
setDomainType(DomainType)
- Method in class javax.constraints.impl.
AbstractVar
Changes the domain type of this variable.
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 class javax.constraints.impl.
BasicVarSet
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.
setGoals(Var[])
- Method in class javax.constraints.impl.search.goal.
GoalAssignValues
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 class javax.constraints.impl.
CommonBase
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 class javax.constraints.impl.search.
AbstractSolver
Sets the limit on the maximal number of solutions any search can look for.
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 class javax.constraints.impl.
AbstractProblem
Sets the problem name
setName(String)
- Method in class javax.constraints.impl.
CommonBase
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 class javax.constraints.impl.
CommonBase
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 class javax.constraints.impl.search.
AbstractSolver
setOptimizationTolerance(int)
- Method in interface javax.constraints.
Solver
Specifies a tolerance for the method findOptimalSolution().
setProblem(Problem)
- Method in class javax.constraints.impl.search.
AbstractSolver
setProblem(Problem)
- Method in interface javax.constraints.
Solver
Set the Problem with which this solver should work
setRealPrecision(double)
- Method in class javax.constraints.impl.
AbstractProblem
Sets the precision for VarReals
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 class javax.constraints.impl.search.
AbstractSolver
Define a searchStrategy that will be used by find solutions methods
setSearchStrategy(Var[], VarSelector, ValueSelector)
- Method in class javax.constraints.impl.search.
AbstractSolver
Define a searchStrategy that will be used by find solutions methods.
setSearchStrategy(Var[], VarSelector)
- Method in class javax.constraints.impl.search.
AbstractSolver
Define a searchStrategy that will be used by find solutions methods.
setSearchStrategy(Var[], ValueSelector)
- Method in class javax.constraints.impl.search.
AbstractSolver
Define a searchStrategy that will be used by find solutions methods.
setSearchStrategy(Var[])
- Method in class javax.constraints.impl.search.
AbstractSolver
Define a searchStrategy that will be used by find solutions methods.
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 class javax.constraints.impl.search.
BasicSolution
setSolutionNumber(int)
- Method in interface javax.constraints.
Solution
Sets the number identifying this Solution.
setSolver(Solver)
- Method in class javax.constraints.impl.
AbstractProblem
Associates a "solver" with the problem making it available through the method "getSolver()".
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
setSolverStartTime(long)
- Method in class javax.constraints.impl.search.
AbstractSolver
setTimeLimit(int)
- Method in class javax.constraints.impl.search.
AbstractSolver
Sets the duration, in milliseconds, of the time limit on searches.
setTimeLimit(int)
- Method in interface javax.constraints.
Solver
Sets the duration, in milliseconds, of the time limit on search of one solution.
setTimeLimitExceeded(boolean)
- Method in class javax.constraints.impl.search.
AbstractSolver
Sets whether or not the time limit has expired.
setTimeLimitGlobal(int)
- Method in class javax.constraints.impl.search.
AbstractSolver
Sets the duration, in milliseconds, of the time limit on global search of all solutions or an optimal 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 class javax.constraints.impl.search.
AbstractSolver
Sets the start time as the system current time, for counting milliseconds to the time limit.
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 class javax.constraints.impl.search.
AbstractSearchStrategy
setType(SearchStrategy.SearchStrategyType)
- Method in interface javax.constraints.
SearchStrategy
Sets a type of this Search Strategy
setValue(int)
- Method in class javax.constraints.extra.
AbstractReversible
setValue(int)
- Method in interface javax.constraints.extra.
Reversible
setValue(Set)
- Method in class javax.constraints.impl.
BasicVarSet
setValue(Set<Integer>)
- Method in interface javax.constraints.
VarSet
Instantiates this set variable with the constant "set" of integers.
setValueSelector(ValueSelector)
- Method in class javax.constraints.impl.search.
AbstractSearchStrategy
setValueSelector(ValueSelector)
- Method in class javax.constraints.impl.search.goal.
GoalAssignValues
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 class javax.constraints.impl.search.
AbstractSearchStrategy
Sets a value selector type to be used 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 class javax.constraints.impl.search.
AbstractSearchStrategy
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 class javax.constraints.impl.search.
AbstractSearchStrategy
setVars(VarList)
- Method in class javax.constraints.impl.search.
AbstractSearchStrategy
Defines an array of integer variables that may be used (or not) by this strategy
setVars(VarSet[])
- Method in class javax.constraints.impl.search.
AbstractSearchStrategy
Defines an array of set variables that may be used (or not) by this strategy.
setVars(Var[])
- Method in class javax.constraints.impl.search.goal.
GoalAssignValues
setVars(VarList)
- Method in class javax.constraints.impl.search.goal.
GoalAssignValues
setVars(Var[])
- Method in class javax.constraints.impl.search.goal.
GoalAssignValuesTimeLimit
setVars(VarList)
- Method in class javax.constraints.impl.search.goal.
GoalAssignValuesTimeLimit
setVars(Var[])
- Method in interface javax.constraints.
SearchStrategy
Defines an array of integer variables that may be used (or not) by this strategy
setVars(VarList)
- 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 class javax.constraints.impl.search.
AbstractSearchStrategy
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 class javax.constraints.impl.search.
AbstractSearchStrategy
Sets a variable selector type to be used 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()
- Method in class javax.constraints.impl.search.
AbstractSolver
Creates a solution iterator that allows a user to search and navigate through multiple solutions.
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.
SolverWithGoals
- Class in
javax.constraints.impl.search.goal
SolverWithGoals(Problem)
- Constructor for class javax.constraints.impl.search.goal.
SolverWithGoals
sqr()
- Method in class javax.constraints.impl.
AbstractVar
Returns a new Var that is constrained to be the product of this variable and itself, i.e.
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
StrategyAsGoal
- Class in
javax.constraints.impl.search.goal
StrategyAsGoal(Solver, SearchStrategy)
- Constructor for class javax.constraints.impl.search.goal.
StrategyAsGoal
StrategyLogVar
- Class in
javax.constraints.impl.search
StrategyLogVar(String, Var)
- Constructor for class javax.constraints.impl.search.
StrategyLogVar
StrategyLogVariables
- Class in
javax.constraints.impl.search
StrategyLogVariables(Var[])
- Constructor for class javax.constraints.impl.search.
StrategyLogVariables
StrategyLogVariables(Solver)
- Constructor for class javax.constraints.impl.search.
StrategyLogVariables
sum(Var[])
- Method in class javax.constraints.impl.
AbstractProblem
Returns a constrained integer variable that is constrained to be the sum of the variables in the array "vars".
sum(VarList)
- Method in class javax.constraints.impl.
AbstractProblem
Returns a constrained integer variable that is constrained to be the sum of the variables in the VarList "vars".
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(VarList)
- Method in interface javax.constraints.
Problem
Returns a constrained integer variable that is constrained to be the sum of the variables in the VarList "vars".
sum(Var[])
- Method in class javax.constraints.
ProblemDelegator
sum(VarList)
- Method in class javax.constraints.
ProblemDelegator
Overview
Package
Class
Use
Tree
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V