jopt.csp.spi.search.actions
Class AssignDoubleAction
java.lang.Object
jopt.csp.spi.search.actions.AssignDoubleAction
- All Implemented Interfaces:
- jopt.csp.search.SearchAction
- public class AssignDoubleAction
- extends java.lang.Object
- implements jopt.csp.search.SearchAction
Action that assigns a single value to a numeric variable
Constructor Summary |
AssignDoubleAction(jopt.csp.variable.CspDoubleVariable var,
double val)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AssignDoubleAction
public AssignDoubleAction(jopt.csp.variable.CspDoubleVariable var,
double val)
performAction
public jopt.csp.search.SearchAction performAction()
throws jopt.csp.variable.PropagationFailureException
- Specified by:
performAction
in interface jopt.csp.search.SearchAction
- Throws:
jopt.csp.variable.PropagationFailureException
toString
public java.lang.String toString()