Package astra.core
Class EventBeliefManager
java.lang.Object
astra.core.EventBeliefManager
- All Implemented Interfaces:
Queryable
public class EventBeliefManager extends Object implements Queryable
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EventBeliefManager(Agent agent) -
Method Summary
Modifier and Type Method Description voidaddBelief(Predicate belief)voidaddMatchingFormulae(Queue<Formula> queue, Formula formula)voidaddScopedBelief(String scope, Predicate belief)List<Formula>beliefs()voiddropBelief(Predicate belief)voiddropScopedBelief(String scope, Predicate belief)voiddumpBeliefs()booleanhasUpdates()Iterator<Formula>iterator(Formula target)intsize()BeliefStorestore()voidupdate()
-
Constructor Details
-
Method Details
-
addBelief
-
dropBelief
-
update
public void update() -
size
public int size() -
beliefs
-
dumpBeliefs
public void dumpBeliefs() -
hasUpdates
public boolean hasUpdates() -
addScopedBelief
-
dropScopedBelief
-
store
-
addMatchingFormulae
- Specified by:
addMatchingFormulaein interfaceQueryable
-
iterator
-