|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.retro.gis.tools.BasicActionNode
org.retro.gis.tools.BranchActionNode
org.retro.gis.tools.AttachTreeAction
This class should be attached to parent ActionNodes, contained in their action tree.
NullActionImpl,
BasicActionNode| Constructor Summary | |
AttachTreeAction(double p,
double pass,
double fail)
|
|
| Method Summary | |
void |
attachObject(java.lang.Object t)
|
void |
performActionCheck()
Based on the current key, should I run this action? |
protected boolean |
performScoreHitPass()
Note; the value returned needs to be saved, we need to save the value, the best place to save this result is in the calling method, for example getPoints. |
protected void |
runActionInternal()
To use this method, call runAction, and the this will be called internally. |
protected void |
runDecisionMatrix(int level)
The decision matrix will typically be simple, run through all the nodes in the internal tree, and find maximize the current score if the node, can be run |
| Methods inherited from class org.retro.gis.tools.BasicActionNode |
checkSchemeObject, countActionPerformed, evalObject, evalString, getCanRunAgain, getCommandList, getKey, getLastPassFail, getLastScore, getLevel, getLevelThreshold, getMaxScoreThreshold, getMinScoreThreshold, getMultipleRunsFlag, getPoints, runAction, setForceRunFlag, setKey, setLevel, setMultipleRunsFlag, setProcessThreadNode, setRunFlag, setSchemeObject, setScoreHitSet, setScoreRangeSet, travelNullSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttachTreeAction(double p,
double pass,
double fail)
throws InvalidScoreException
| Method Detail |
protected void runDecisionMatrix(int level)
BasicActionNode
runDecisionMatrix in class BasicActionNodepublic void attachObject(java.lang.Object t)
protected boolean performScoreHitPass()
getPoints.
performScoreHitPass in class BranchActionNodeBranchActionNode,
#BasicActionNode.getPoints()public void performActionCheck()
performActionCheck in class BranchActionNode
protected void runActionInternal()
throws java.lang.Exception
runActionInternal in class BasicActionNodejava.lang.Exception#BasicActionNode.runAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||