|
|||||||||||
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.InstantiateIntegerAction
Action that will attempt to assign a value to an integer variable using the search tree. In this context "instantiate" is constraint satisfaction terminology for exploring possible values in the domain of a variable trying to find one that satisfies the constraints; it has nothing to do with the Java instantiation of a class.
Constructor Summary | |
InstantiateIntegerAction(jopt.csp.variable.CspIntVariable var)
Creates new instantiation action, using default selector |
|
InstantiateIntegerAction(jopt.csp.variable.CspIntVariable var,
jopt.csp.search.IntegerSelector selector)
Creates new instantiation 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 InstantiateIntegerAction(jopt.csp.variable.CspIntVariable var, jopt.csp.search.IntegerSelector selector)
var
- Variable to instantiateselector
- Selector to use in deciding which value in the domain of the
variable to try next, as we attempt to reduce the domain of the variable.
If none is given, the default is smallest value in domain first.public InstantiateIntegerAction(jopt.csp.variable.CspIntVariable var)
var
- Variable to instantiateMethod 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 |