vs.fabula
Class BasicFabulaBuilder
java.lang.Object
vs.fabula.BasicFabulaBuilder
- All Implemented Interfaces:
- IFabulaBuilder, IAgentModule
- Direct Known Subclasses:
- BroadcastingFabulaBuilder, EpisodicMemory
public class BasicFabulaBuilder
- extends java.lang.Object
- implements IFabulaBuilder
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultGraphURI
public static java.lang.String defaultGraphURI
defaultGraphName
public static java.lang.String defaultGraphName
BasicFabulaBuilder
public BasicFabulaBuilder(IRationalAgent owner)
addFabulaCausality
public void addFabulaCausality(FabulaCausality fc)
- Specified by:
addFabulaCausality
in interface IFabulaBuilder
addFabulaElement
public void addFabulaElement(FabulaElement fe)
- Specified by:
addFabulaElement
in interface IFabulaBuilder
getAgent
public IRationalAgent getAgent()
- Description copied from interface:
IAgentModule
- To get the Agent
- Specified by:
getAgent
in interface IAgentModule
- Returns:
- an Agent that owns this module
getAllFabulaKnowledgeBase
public java.util.Set<FabulaKnowledgeBase> getAllFabulaKnowledgeBase()
- Specified by:
getAllFabulaKnowledgeBase
in interface IFabulaBuilder
registerFabulaKnowledgeBase
public void registerFabulaKnowledgeBase(FabulaKnowledgeBase storage)
- Specified by:
registerFabulaKnowledgeBase
in interface IFabulaBuilder
saveFabula
public void saveFabula(java.io.File filename,
java.lang.String language)
- Description copied from interface:
IFabulaBuilder
- Saves the fabula to a file using a certain language
- Specified by:
saveFabula
in interface IFabulaBuilder
- Parameters:
filename
- the filename of the fabula filelanguage
- the language (see Jena)