|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjopt.csp.solution.FloatSolution
Solution to an float variable
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
float |
getMax()
Retrieves maximum value of solution |
float |
getMin()
Retrieves minimum value of solution |
float |
getValue()
Returns the value of the solution. |
CspVariable |
getVariable()
Returns variable solution is based upon |
int |
hashCode()
|
boolean |
isBound()
Returns true if variable is bound in solution |
void |
restore()
Restores (certain) recorded information to the associated variable. |
void |
setMax(float max)
Sets maximum value of solution |
void |
setMin(float min)
Sets minimum value of solution |
void |
setValue(float val)
Sets both the min / max value of solution to a single value |
void |
store()
Causes variable solution to capture certain information about it's variable and store it locally so that it can be restored later. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public CspVariable getVariable()
VariableSolution
getVariable
in interface VariableSolution
public boolean isBound()
VariableSolution
isBound
in interface VariableSolution
public float getMin()
public float getMax()
public void setMin(float min)
public void setMax(float max)
public void setValue(float val)
public float getValue()
public void store()
VariableSolution
store
in interface VariableSolution
public void restore() throws PropagationFailureException
VariableSolution
store()
was most recently
called.
restore
in interface VariableSolution
PropagationFailureException
public java.lang.String toString()
public java.lang.Object clone()
clone
in interface VariableSolution
public int hashCode()
public boolean equals(java.lang.Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |