org.kahina.tralesld.behavior
Class TraleSLDTreeBehavior
java.lang.Object
org.kahina.core.behavior.KahinaBehavior<KahinaTree>
org.kahina.core.behavior.KahinaTreeBehavior
org.kahina.lp.behavior.LogicProgrammingTreeBehavior
org.kahina.tralesld.behavior.TraleSLDTreeBehavior
- All Implemented Interfaces:
- KahinaListener
public class TraleSLDTreeBehavior
- extends LogicProgrammingTreeBehavior
This is supposed to contain the logic by which TraleSLD handles its step trees.
| Fields inherited from class org.kahina.lp.behavior.LogicProgrammingTreeBehavior |
creepPoints, failPoints, lastActiveID, newStepIDByLastStepID, primaryBreakpoints, primaryWarnPoints, secondaryBreakpoints, secondaryTree, secondaryWarnPoints, skipPoints, stepBeingRedone |
|
Method Summary |
void |
initializeCreepPoints()
overwrite this to fill the creepPoints list with node patterns describing
for which nodes the bridge is to automatically hand over a creep command
to the logic programming system |
void |
initializeSkipPoints()
overwrite this to fill the skipPoints list with node patterns describing
for which nodes the bridge is to hand over a skip command to the logic
programming system |
void |
processEvent(KahinaEvent e)
Does not react to any event by default; is overridden by implementations. |
void |
processEvent(TraleSLDBridgeEvent e)
|
void |
processRuleApplication(int stepID,
int externalID,
String ruleName)
|
void |
processStepFinished(int stepID)
registers and reacts to a finished step |
| Methods inherited from class org.kahina.lp.behavior.LogicProgrammingTreeBehavior |
breakpointCheck, compileCreepPoints, compileFailPoints, compilePrimaryBreakpoints, compilePrimaryWarnPoints, compileSecondaryBreakpoints, compileSecondaryWarnPoints, compileSkipPoints, exceptionBreakpointCheck, failureBreakpointCheck, getMaxNodeLabelLength, initializeFailPoints, initializePrimaryBreakpoints, initializePrimaryWarnPoints, initializeSecondaryBreakpoints, initializeSecondaryWarnPoints, integrateIncomingNode, processLogicProgrammingBridgeEvent, processStepDescriptionEvent, processStepException, processStepExit, processStepFail, processStepInformation, processStepRedo, processSystemEvent, setMaxNodeLabelLength |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraleSLDTreeBehavior
public TraleSLDTreeBehavior(KahinaTree tree,
KahinaInstance<?,?,?> kahina,
KahinaTree secondaryTree)
initializeSkipPoints
public void initializeSkipPoints()
- Description copied from class:
LogicProgrammingTreeBehavior
- overwrite this to fill the skipPoints list with node patterns describing
for which nodes the bridge is to hand over a skip command to the logic
programming system
- Overrides:
initializeSkipPoints in class LogicProgrammingTreeBehavior
initializeCreepPoints
public void initializeCreepPoints()
- Description copied from class:
LogicProgrammingTreeBehavior
- overwrite this to fill the creepPoints list with node patterns describing
for which nodes the bridge is to automatically hand over a creep command
to the logic programming system
- Overrides:
initializeCreepPoints in class LogicProgrammingTreeBehavior
processRuleApplication
public void processRuleApplication(int stepID,
int externalID,
String ruleName)
processStepFinished
public void processStepFinished(int stepID)
- registers and reacts to a finished step
- Parameters:
stepID - - the ID of the step that was finished in the monitored logic programming system
processEvent
public void processEvent(KahinaEvent e)
- Description copied from class:
KahinaBehavior
- Does not react to any event by default; is overridden by implementations.
- Specified by:
processEvent in interface KahinaListener- Overrides:
processEvent in class LogicProgrammingTreeBehavior
processEvent
public void processEvent(TraleSLDBridgeEvent e)