|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CspIntVariable | |
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 CspIntVariable in jopt.csp |
Methods in jopt.csp with parameters of type CspIntVariable | |
boolean |
CspSolver.solve(CspIntVariable[] vars)
Resets the solver and locates a solution for an array of variables within the problem contained by the solver |
boolean |
CspSolver.solve(CspIntVariable[] vars,
boolean reset)
Locates a solution for an array of variables within the problem contained by the solver |
Uses of CspIntVariable in jopt.csp.search |
Methods in jopt.csp.search with parameters of type CspIntVariable | |
SearchAction |
SearchActions.generate(CspIntVariable[] vars)
Creates an action that will instantiate an array of variables in order. |
SearchAction |
SearchActions.generate(CspIntVariable[] vars,
IntegerSelector selector)
Creates an action that will instantiate an array of variables in order. |
SearchAction |
SearchActions.generateNonBinary(CspIntVariable[] vars)
Creates an action that will instantiate an array of variables in order. |
SearchAction |
SearchActions.splitGenerate(CspIntVariable[] vars)
Creates an action that will instantiate an array of variables in order. |
SearchAction |
SearchActions.splitGenerate(CspIntVariable[] vars,
boolean minFirst)
Creates an action that will instantiate an array of variables in order. |
Neighborhood |
LocalSearch.flipNeighborhood(CspIntVariable[] vars)
Creates a neighborhood that is useful for flipping 0 and 1 values on binary variables. |
Neighborhood |
LocalSearch.swapNeighborhood(CspIntVariable[] vars)
Creates a neighborhood where each neighbor selects two variables from the initial solution and swaps their values |
int |
IntegerSelector.select(CspIntVariable var)
|
Uses of CspIntVariable in jopt.csp.solution |
Methods in jopt.csp.solution with parameters of type CspIntVariable | |
IntSolution |
SolverSolution.add(CspIntVariable var)
Adds an integer variable solution |
IntSolution |
SolverSolution.getSolution(CspIntVariable var)
Returns a stored solution for an integer variable |
boolean |
SolverSolution.isBound(CspIntVariable var)
Returns true if variable is bound in this SolverSolution |
int |
SolverSolution.getMin(CspIntVariable var)
Retrieves minimum value of solution |
int |
SolverSolution.getMax(CspIntVariable var)
Retrieves maximum value of solution |
int |
SolverSolution.getValue(CspIntVariable var)
Returns the value of the solution for the specified variable. |
void |
SolverSolution.setMin(CspIntVariable var,
int min)
Sets minimum value of solution for the specified variable |
void |
SolverSolution.setMax(CspIntVariable var,
int max)
Sets maximum value of solution for the specified variable |
void |
SolverSolution.setValue(CspIntVariable var,
int val)
Sets both the min / max value of solution to a single value |
Uses of CspIntVariable in jopt.csp.variable |
Methods in jopt.csp.variable that return CspIntVariable | |
CspIntVariable |
CspVariableFactory.intVar(java.lang.String name,
int min,
int max)
Creates an instance of a CspIntVariable object; uses an interval-based domain by default |
CspIntVariable |
CspVariableFactory.intVar(java.lang.String name,
IntSparseSet vals)
Creates an instance of a CspIntVariable object; uses an interval domain by default |
CspIntVariable |
CspVariableFactory.intVar(java.lang.String name,
int min,
int max,
boolean sparse)
Creates an instance of a CspIntVariable object |
CspIntVariable |
CspVariableFactory.intVar(java.lang.String name,
CspIntVariable var)
Creates an instance of a CspIntVariable object |
CspIntVariable |
CspVariableFactory.intVar(java.lang.String name,
CspIntExpr expr)
Creates an instance of a CspIntVariable object based on an expression. |
Methods in jopt.csp.variable with parameters of type CspIntVariable | |
CspIntVariable |
CspVariableFactory.intVar(java.lang.String name,
CspIntVariable var)
Creates an instance of a CspIntVariable object |
CspGenericIntExpr |
CspVariableFactory.genericInt(java.lang.String name,
CspGenericIndex index,
CspIntVariable[] variables)
Produces a generic variable that wraps a set of nodes |
CspGenericIntExpr |
CspVariableFactory.genericInt(java.lang.String name,
CspGenericIndex[] indices,
CspIntVariable[] variables)
Produces a generic variable that wraps a set of nodes |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |