vs.characteragent
Class ExecutionState
java.lang.Object
vs.characteragent.ExecutionState
public class ExecutionState
- extends java.lang.Object
Maintains execution state of actions, events, framing operators, so the agent knows "what it's doing"
TODO: move (at least partially) to Prolog (unification creates overhead)
- Author:
- swartjes
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ExecutionState getInstance()
currentAction
public StoryAction currentAction()
performingOperator
public boolean performingOperator(Operator o)
performingOperatorIterator
public java.util.Iterator<Operator> performingOperatorIterator()
executionHistoryIterator
public java.util.Iterator<Operator> executionHistoryIterator()
registerOperatorResult
public void registerOperatorResult(OperatorResult or)
registerPerformingOperator
public void registerPerformingOperator(Operator o)