Package astra.core
Class Agent.Promise
java.lang.Object
astra.core.Agent.Promise
- Enclosing class:
- Agent
public abstract static class Agent.Promise extends Object
Promises are used to implement WAIT statements. When one of these statements is
executed, the agent creates a promise and suspends the intention. Promises are
evaluated on each iteration. When a promise is fulfilled (i.e. the associated
formula is matched), the agent executes the associated act(ion) which typically
resumes the intention.
- Author:
- Rem