|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jopt.csp.spi.search.tree.AbstractSearchNodeAction jopt.csp.spi.search.actions.GenerateLongAction
Action that will generate values for an array of variables. It tries to bind each variable to a single value such that all constraints are satisfied and finishes searching upon finding the first consistent assignment.
Constructor Summary | |
GenerateLongAction(jopt.csp.variable.CspLongVariable[] vars)
Creates new generation action |
|
GenerateLongAction(jopt.csp.variable.CspLongVariable[] vars,
jopt.csp.search.LongSelector selector)
Creates new generation action |
Method Summary | |
jopt.csp.search.SearchAction |
performAction()
Called by search tree to execute this action. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GenerateLongAction(jopt.csp.variable.CspLongVariable[] vars)
vars
- Variable to instantiatepublic GenerateLongAction(jopt.csp.variable.CspLongVariable[] vars, jopt.csp.search.LongSelector selector)
vars
- Variable to instantiateselector
- Used to select next value to reduce domain of variableMethod Detail |
public jopt.csp.search.SearchAction performAction() throws jopt.csp.variable.PropagationFailureException
jopt.csp.variable.PropagationFailureException
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |