|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CspBooleanVariable | |
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 CspBooleanVariable in jopt.csp.solution |
Methods in jopt.csp.solution with parameters of type CspBooleanVariable | |
BooleanSolution |
SolverSolution.add(CspBooleanVariable var)
Adds a boolean variable solution |
BooleanSolution |
SolverSolution.getSolution(CspBooleanVariable var)
Returns a stored solution for a boolean variable |
boolean |
SolverSolution.isFalse(CspBooleanVariable var)
Returns true if boolean variable is NOT satisfied in solution |
boolean |
SolverSolution.isTrue(CspBooleanVariable var)
Returns true if boolean variable is satisfied in solution |
void |
SolverSolution.setTrue(CspBooleanVariable var)
Sets the value of the specified variable to true |
void |
SolverSolution.setFalse(CspBooleanVariable var)
Sets the value of the specified variable to false |
void |
SolverSolution.clear(CspBooleanVariable var)
Clears the isTrue / isFalse flag and sets variable to an unbound state |
Constructors in jopt.csp.solution with parameters of type CspBooleanVariable | |
BooleanSolution(CspBooleanVariable var)
Initializes internal solution information for variable |
Uses of CspBooleanVariable in jopt.csp.variable |
Methods in jopt.csp.variable that return CspBooleanVariable | |
CspBooleanVariable |
CspVariableFactory.booleanVar(java.lang.String name,
CspConstraint constraint)
Creates a boolean variable that wraps a constraint |
CspBooleanVariable |
CspVariableFactory.booleanVar(java.lang.String name,
CspBooleanExpr expr)
Creates an instance of a CspBooleanVariable object based on an expression. |
CspBooleanVariable |
CspVariableFactory.booleanVar(java.lang.String name)
Creates a boolean variable |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |