|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CspDoubleVariable | |
jopt.csp | |
jopt.csp.search | The interfaces to all your searching needs. |
jopt.csp.solution | Defines structures for storing solutions to constraint satisfaction problems |
jopt.csp.variable | The interfaces for building, combining, and constraining variables and expressions |
Uses of CspDoubleVariable in jopt.csp |
Methods in jopt.csp with parameters of type CspDoubleVariable | |
boolean |
CspSolver.solve(CspDoubleVariable[] vars,
double precision)
Resets the solver and locates a solution for an array of variables within the problem contained by the solver Since real numbers can be divided an infinite number of times, a precision value must be specified to indicate when the range of the variable is small enough to consider the variable completely instantiated. |
Uses of CspDoubleVariable in jopt.csp.search |
Methods in jopt.csp.search with parameters of type CspDoubleVariable | |
SearchAction |
SearchActions.generate(CspDoubleVariable[] vars,
double precision)
Creates an action that will instantiate an array of variables in order. |
SearchAction |
SearchActions.generate(CspDoubleVariable[] vars,
double precision,
boolean minFirst)
Creates an action that will instantiate an array of variables in order. |
Uses of CspDoubleVariable in jopt.csp.solution |
Methods in jopt.csp.solution with parameters of type CspDoubleVariable | |
DoubleSolution |
SolverSolution.add(CspDoubleVariable var)
Adds a double variable solution |
DoubleSolution |
SolverSolution.getSolution(CspDoubleVariable var)
Returns a stored solution for a double variable |
double |
SolverSolution.getMin(CspDoubleVariable var)
Retrieves minimum value of solution for the specified variable |
double |
SolverSolution.getMax(CspDoubleVariable var)
Retrieves maximum value of solution for the specified variable |
double |
SolverSolution.getValue(CspDoubleVariable var)
Returns the value of the solution. |
void |
SolverSolution.setMin(CspDoubleVariable var,
double min)
Sets minimum value of solution for the specified variable |
void |
SolverSolution.setMax(CspDoubleVariable var,
double max)
Sets maximum value of solution for the specified variable |
void |
SolverSolution.setValue(CspDoubleVariable var,
double val)
Sets both the min / max value of solution to a single value |
Uses of CspDoubleVariable in jopt.csp.variable |
Methods in jopt.csp.variable that return CspDoubleVariable | |
CspDoubleVariable |
CspVariableFactory.doubleVar(java.lang.String name,
double min,
double max)
Creates an instance of a CspDoubleVariable object; uses an interval domain by default |
CspDoubleVariable |
CspVariableFactory.doubleVar(java.lang.String name,
CspDoubleVariable var)
Creates an instance of a CspDoubleVariable object |
CspDoubleVariable |
CspVariableFactory.doubleVar(java.lang.String name,
CspDoubleCast expr)
Creates an instance of a CspDoubleVariable object based on an expression. |
Methods in jopt.csp.variable with parameters of type CspDoubleVariable | |
CspDoubleVariable |
CspVariableFactory.doubleVar(java.lang.String name,
CspDoubleVariable var)
Creates an instance of a CspDoubleVariable object |
CspGenericDoubleExpr |
CspVariableFactory.genericDouble(java.lang.String name,
CspGenericIndex index,
CspDoubleVariable[] variables)
Produces a generic variable that wraps a set of nodes |
CspGenericDoubleExpr |
CspVariableFactory.genericDouble(java.lang.String name,
CspGenericIndex[] indices,
CspDoubleVariable[] variables)
Produces a generic variable that wraps a set of nodes |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |