story.scheherazade.verbalizer
Class PlannerRepository
java.lang.Object
story.scheherazade.verbalizer.PlannerRepository
public class PlannerRepository
- extends java.lang.Object
This class stores SymbolPlanners of various types. It can also
reconstruct a repository from plain text.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlannerRepository
public PlannerRepository()
throws Scheherexception
- Throws:
Scheherexception
auditCompleteness
public void auditCompleteness(StoryInterpreter story)
throws Scheherexception
- Audits the repository to make sure that it contains all the
planners it could need in dealing with a particular story.
- Throws:
Scheherexception
hasPlanner
public boolean hasPlanner(GenericScheherID ID)
throws Scheherexception
- Throws:
Scheherexception
getPlanner
public SymbolPlanner getPlanner(GenericScheherID ID)
throws Scheherexception
- Throws:
Scheherexception
addNounPlanner
public void addNounPlanner(NounPlanner planner)
throws Scheherexception
- Throws:
Scheherexception
getNounPlanner
public NounPlanner getNounPlanner(NounType noun)
throws Scheherexception
- Throws:
Scheherexception
hasNounPlanner
public boolean hasNounPlanner(NounType noun)
throws Scheherexception
- Throws:
Scheherexception
addActionPlanner
public void addActionPlanner(ActionPlanner planner)
getActionPlanner
public ActionPlanner getActionPlanner(ActionType type)
throws Scheherexception
- Throws:
Scheherexception
hasActionPlanner
public boolean hasActionPlanner(ActionType type)
throws Scheherexception
- Throws:
Scheherexception
addConditionPlanner
public void addConditionPlanner(ConditionPlanner planner)
getConditionPlanner
public ConditionPlanner getConditionPlanner(ConditionType type)
throws Scheherexception
- Throws:
Scheherexception
hasConditionPlanner
public boolean hasConditionPlanner(ConditionType type)
throws Scheherexception
- Throws:
Scheherexception
addModifierPlanner
public void addModifierPlanner(ModifierPlanner planner)
getModifierPlanner
public ModifierPlanner getModifierPlanner(ModifierType type)
throws Scheherexception
- Throws:
Scheherexception
hasModifierPlanner
public boolean hasModifierPlanner(ModifierType type)
throws Scheherexception
- Throws:
Scheherexception
Copyright © 2011 David K. Elson. All Rights Reserved.