|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CspFloatVariable | |
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 CspFloatVariable in jopt.csp |
Methods in jopt.csp with parameters of type CspFloatVariable | |
boolean |
CspSolver.solve(CspFloatVariable[] vars,
float 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 CspFloatVariable in jopt.csp.search |
Methods in jopt.csp.search with parameters of type CspFloatVariable | |
SearchAction |
SearchActions.generate(CspFloatVariable[] vars,
float precision)
Creates an action that will instantiate an array of variables in order. |
SearchAction |
SearchActions.generate(CspFloatVariable[] vars,
float precision,
boolean minFirst)
Creates an action that will instantiate an array of variables in order. |
Uses of CspFloatVariable in jopt.csp.solution |
Methods in jopt.csp.solution with parameters of type CspFloatVariable | |
FloatSolution |
SolverSolution.add(CspFloatVariable var)
Adds a float variable solution |
FloatSolution |
SolverSolution.getSolution(CspFloatVariable var)
Returns a stored solution for a float variable |
float |
SolverSolution.getMin(CspFloatVariable var)
Retrieves minimum value of solution for the specified variable |
float |
SolverSolution.getMax(CspFloatVariable var)
Retrieves maximum value of solution for the specified variable |
float |
SolverSolution.getValue(CspFloatVariable var)
Returns the value of the solution. |
void |
SolverSolution.setMin(CspFloatVariable var,
float min)
Sets minimum value of solution for the specified variable |
void |
SolverSolution.setMax(CspFloatVariable var,
float max)
Sets maximum value of solution for the specified variable |
void |
SolverSolution.setValue(CspFloatVariable var,
float val)
Sets both the min / max value of solution to a single value |
Uses of CspFloatVariable in jopt.csp.variable |
Methods in jopt.csp.variable that return CspFloatVariable | |
CspFloatVariable |
CspVariableFactory.floatVar(java.lang.String name,
float min,
float max)
Creates an instance of a CspFloatVariable object; uses an interval-based domain by default |
CspFloatVariable |
CspVariableFactory.floatVar(java.lang.String name,
CspFloatVariable var)
Creates an instance of a CspFloatVariable object |
CspFloatVariable |
CspVariableFactory.floatVar(java.lang.String name,
CspFloatCast expr)
Creates an instance of a CspFloatVariable object based on an expression. |
Methods in jopt.csp.variable with parameters of type CspFloatVariable | |
CspFloatVariable |
CspVariableFactory.floatVar(java.lang.String name,
CspFloatVariable var)
Creates an instance of a CspFloatVariable object |
CspGenericFloatExpr |
CspVariableFactory.genericFloat(java.lang.String name,
CspGenericIndex index,
CspFloatVariable[] variables)
Produces a generic variable that wraps a set of nodes |
CspGenericFloatExpr |
CspVariableFactory.genericFloat(java.lang.String name,
CspGenericIndex[] indices,
CspFloatVariable[] variables)
Produces a generic variable that wraps a set of nodes |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |