vs.characteragent
Class EpisodicMemoryCollector

java.lang.Object
  extended by vs.fabula.FabulaCollector
      extended by vs.characteragent.EpisodicMemoryCollector
All Implemented Interfaces:
IExplainable

public class EpisodicMemoryCollector
extends FabulaCollector

Fabula collector for Character Agents' episodic memory. Decorates it to make sure that whenever fabula enters the collector, the agent immediately stores it in its own episodic memory KB as well. This is necessary for querying episodic context in the reasoning processes of the character, as well as for further explanation purposes (e.g., retrieving the beliefs that enabled a goal)

Author:
swartjes

Constructor Summary
EpisodicMemoryCollector(EpisodicMemory em)
           
 
Method Summary
 void addFabulaCausality(FabulaCausality fc)
           
 void addFabulaElement(FabulaElement fe)
           
 
Methods inherited from class vs.fabula.FabulaCollector
explainCausalities, explainElements, resetFabulaCausalities, resetFabulaElements
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpisodicMemoryCollector

public EpisodicMemoryCollector(EpisodicMemory em)
Method Detail

addFabulaCausality

public void addFabulaCausality(FabulaCausality fc)
Overrides:
addFabulaCausality in class FabulaCollector

addFabulaElement

public void addFabulaElement(FabulaElement fe)
Overrides:
addFabulaElement in class FabulaCollector