Package jadex.bdiv3.runtime
Interface IBeliefListener<T>
-
public interface IBeliefListener<T>
Listener for observing beliefs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beliefChanged(jadex.rules.eca.ChangeInfo<T> info)
Invoked when a belief has been changed.void
factAdded(jadex.rules.eca.ChangeInfo<T> info)
Invoked when a fact has been added.void
factChanged(jadex.rules.eca.ChangeInfo<T> info)
Invoked when a fact in a belief set has changed (i.e.void
factRemoved(jadex.rules.eca.ChangeInfo<T> info)
Invoked when a fact has been removed.
-
-
-
Method Detail
-
beliefChanged
void beliefChanged(jadex.rules.eca.ChangeInfo<T> info)
Invoked when a belief has been changed.- Parameters:
event
- The change event.
-
factAdded
void factAdded(jadex.rules.eca.ChangeInfo<T> info)
Invoked when a fact has been added. The new fact is contained in the agent event.- Parameters:
event
- The change event.
-
factRemoved
void factRemoved(jadex.rules.eca.ChangeInfo<T> info)
Invoked when a fact has been removed. The removed fact is contained in the agent event.- Parameters:
event
- The change event.
-
factChanged
void factChanged(jadex.rules.eca.ChangeInfo<T> info)
Invoked when a fact in a belief set has changed (i.e. bean event).- Parameters:
value
- The new value.oldvalue
- The old value.info
- Extra info (such as the index of the element if applicable).
-
-