|
|||||||||||
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.InstantiateDoubleAction
Action that will attempt to assign a value to an real-number based 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 | |
InstantiateDoubleAction(jopt.csp.variable.CspDoubleVariable var,
double precision)
Creates new instantiation action |
|
InstantiateDoubleAction(jopt.csp.variable.CspDoubleVariable var,
double precision,
boolean minFirst)
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 InstantiateDoubleAction(jopt.csp.variable.CspDoubleVariable var, double precision)
var
- Variable to instantiateprecision
- Minimum precision to which variable domain will be reducedpublic InstantiateDoubleAction(jopt.csp.variable.CspDoubleVariable var, double precision, boolean minFirst)
var
- Variable to instantiateprecision
- Minimum precision to which variable domain will be reducedminFirst
- True if bottom half of domain should be used to restrict domain first,
false to use upper halfMethod 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 |