jopt.csp.spi.search.actions
Class AssignDoubleAction

java.lang.Object
  extended byjopt.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)
           
 
Method Summary
 jopt.csp.search.SearchAction performAction()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssignDoubleAction

public AssignDoubleAction(jopt.csp.variable.CspDoubleVariable var,
                          double val)
Method Detail

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()