story.scheherazade.admin
Class StoryInterpreter

java.lang.Object
  extended by story.scheherazade.admin.StoryInterpreter

public class StoryInterpreter
extends java.lang.Object

Provides easy accessibility for issuing commands to StoryListener or StoryTelling. (Analogous to DBCAccessor.)


Constructor Summary
StoryInterpreter(HearsStoryPoints listener)
           
 
Method Summary
 AssignedAction assignAction(TimelineID timelineID, TransitionTime time, Action action)
          STORY POINTS *
 AssignedAction assignAction(TimelineID timelineID, TransitionTime time, Action action, InterpNodeID interpKey)
           
 AssignedAction assignAction(TimelineID timelineID, TransitionTime time, Action action, TextSpan sourceSpan)
           
 AssignedAction assignAction(TimelineID timelineID, TransitionTime time, ActionType actionType, SCHArguments arguments)
           
 AssignedCondition assignCondition(TimelineID timelineID, StateTime time, Condition condition)
           
 AssignedCondition assignCondition(TimelineID timelineID, StateTime time, Condition condition, InterpNodeID key)
           
 AssignedInterpNode assignInterpNode(TimelineID timelineID, InterpretativeNodeType interpNodeType, NounName character, AssignedInterpNode parent, InterpNodeID key)
           
 AssignedModifier assignModifier(AssignedPredicate modified, ValidModifier modifier, ModifierScope scope)
           
 void attachInterpPredicate(AssignedPredicate predicate, AssignedInterpNode interpNode)
           
 IntersectionPyramid compareNarratives(StorySet stories)
           
 void declareAction(TimelineID timelineID, ActionType actionType, StoryAssertion parameters, WordNetOffset offset)
           
 void declareAction(TimelineID timelineID, ActionType actionType, StoryAssertion parameters, WordNetOffset offset, ActionType superAction)
           
 void declareAntonymy(TimelineID timelineID, ActionType action1, ActionType action2)
           
 void declareCondition(TimelineID timelineID, ConditionType conditionType, StoryAssertion parameters)
           
 void declareCondition(TimelineID timelineID, ConditionType conditionType, StoryAssertion parameters, ConditionType superCondition)
           
 void declareModifier(TimelineID timelineID, ModifierType modifierType, ModifiablePredicates modifiables, StoryAssertion parameters)
           
 void declareModifier(TimelineID timelineID, ModifierType modifierType, ModifiablePredicates modifiables, StoryAssertion parameters, ModifierType superModifier)
           
 void declareMorphologicalRelation(TimelineID timelineID, ConditionType condition, ModifierType modifier)
           
 void declareNounType(TimelineID timelineID, NounType nounType, StoryAssertion parameters, WordNetOffset offset, NounType superNoun, java.lang.String menuName, java.lang.String pluralForm, boolean proper, PropDiscreteness discreteness, CharacterGender gender)
           
 NounName defineNoun(TimelineID timelineID, NamedNoun noun)
           
 NounName defineNoun(TimelineID timelineID, Noun noun)
           
 NounName defineNoun(TimelineID timelineID, Noun noun, NounName nounName)
           
 ValidNoun findNounDefinition(TimelineID timelineID, NounName name)
          Switchboard for running the three findDefinition functions.
 StoryTelling generateRandomNarrative(TimelineID timelineID, int numPredicates, LanguageModel model)
           
 StoryAssertion getActionParameters(TimelineID timelineID, ActionType actionType)
           
 AssignedActionSet getActionsBeginningAt(TimelineID timelineID, StateTime time)
           
 AssignedActionSet getActionsEndingAt(TimelineID timelineID, StateTime time)
           
 AssignedActionSet getActionsInTransition(TimelineID timelineID, TransitionTime time)
           
 AssignedActionSet getAllActions(TimelineID timelineID)
           
 AssignedConditionSet getAllConditions(TimelineID timelineID)
           
 AssignedInterpNodeSet getAllInterpNodes(TimelineID timelineID, boolean topLevelOnly)
           
 TimelineIDSet getAllTimelines()
           
 AssignedAction getAssignedActionFromNode(NodeProxy node)
           
 AssignedCondition getAssignedConditionFromNode(NodeProxy node)
           
 AssignedModifier getAssignedModifierFromNode(NodeProxy node)
           
 AssignedCondition getAssignedPersistentCondition(AssignedAction aa)
           
 AssignedPredicate getAssignedPredicateFromAddress(TimelineID timelineID, AssignedPredicateAddress apa)
           
 AssignedPredicate getAssignedPredicateFromNode(NodeProxy node)
           
 TimelineTime getAttachmentPoint(TimelineID timelineID)
           
 InterpChainSet getChainsOfInterpNode(TimelineID timelineID, AssignedInterpNode node, boolean allowNestedHeads)
           
 AssignedAction getConditionBeginsAction(TimelineID timelineID, AssignedCondition condition)
           
 StoryAssertion getConditionParameters(TimelineID timelineID, ConditionType conditionType)
           
 AssignedConditionSet getConditionsInState(TimelineID timelineID, StateTime time, boolean localOnly)
          Get all the Conditions that are associated with some State.
 ConditionSet getConditionsOfCharInState(TimelineID timelineID, StateTime time, boolean localOnly, NounName character, SemanticRole role)
          Get all the Conditions that are associated with some State and some Character via some semantic role.
 ActionTypeSet getDeclaredActions(TimelineID timelineID, boolean inherit)
           
 ConditionTypeSet getDeclaredConditions(TimelineID timelineID, boolean inherit)
           
 ModifierTypeSet getDeclaredModifiers(TimelineID timelineID, boolean inherit)
           
 NounTypeSet getDeclaredNounTypes(TimelineID timelineID, boolean inherit, NounFlavor flavor)
           
 NounNameSet getDefinedNouns(TimelineID timelineID, boolean inherit, NounFlavor flavor)
           
 InterpChainLink getInterpChain(InterpElement interpElement)
           
 AssignedInterpNodeSet getInterpLineage(InterpElement interpElement)
           
 StateTimeSet getInvokedStatesInTimeline(TimelineID timelineID)
           
 InterpArcSet getLinkedInterpElements(TimelineID timelineID, InterpElement interpElement, InterpretativeArcType linkType, LinkDirection linkDirection)
           
 HearsStoryPoints getListener()
           
 ModifiablePredicates getModifiablePredicates(TimelineID timelineID, ModifierType modifierType)
           
 StoryAssertion getModifierParameters(TimelineID timelineID, ModifierType modifierType)
           
 AssignedModifierSet getModifiersOfPredicate(AssignedPredicate modified)
           
 StoryAssertion getNounParameters(TimelineID timelineID, NounType nounType)
           
 NarrativeID getTitle()
           
 void initializeNarrative(NarrativeID title)
           
 SCHIntersection intersectPairwise(SCHIntersection pred1, SCHIntersection pred2)
           
 void launchDebugger()
           
 void linkInterpElements(TimelineID timeline, InterpElement from, InterpretativeArcType arcType, InterpElement to)
           
 ValidAction makeValidAction(TimelineID timelineID, ActionType actionType, SCHArguments arguments)
           
 ValidAction makeValidAction(TimelineID timelineID, ActionType actionType, SCHArguments arguments, boolean truthAssertion, PredicateMode mode)
           
 ValidAction makeValidAction(TimelineID timelineID, ActionType actionType, SCHArguments arguments, PredicateMode mode)
           
 ValidAction makeValidAction(TimelineID timelineID, CoreAction action, SCHArguments arguments, boolean truthAssertion, PredicateMode mode)
           
 ValidAction makeValidAction(TimelineID timelineID, CoreAction action, SCHArguments arguments, PredicateMode mode)
           
 ValidCondition makeValidCondition(TimelineID timelineID, ConditionType conditionType, SCHArguments arguments, boolean truthAssertion, PredicateMode mode)
           
 ValidCondition makeValidCondition(TimelineID timelineID, ConditionType conditionType, SCHArguments arguments, DegreeCategory degree, PredicateMode mode)
           
 ValidCondition makeValidCondition(TimelineID timelineID, ConditionType conditionType, SCHArguments arguments, java.lang.Integer degree, PredicateMode mode)
           
 ValidCondition makeValidCondition(TimelineID timelineID, ConditionType conditionType, SCHArguments arguments, int degree, PredicateMode mode)
           
 ValidModifier makeValidModifier(TimelineID timelineID, CoreModifier modifier, SCHArguments arguments)
           
 ValidModifier makeValidModifier(TimelineID timelineID, ModifierType modifierType, SCHArguments arguments)
           
 ValidNoun makeValidNoun(TimelineID timelineID, NounType nounType, SCHArguments arguments)
           
 void newTimeline(TimelineID newTimelineID, TimelineType type)
           
 void newTimeline(TimelineID newTimelineID, TimelineType type, TimelineID referentTimelineID)
           
 AssignedPredicate normalizeAssignedPredicate(AssignedPredicate predicate)
           
 SCHQueryResultSet query(StoryQuery query)
           
 AssignedAction reassignAction(AssignedAction action, TimelineTime newTransition)
           
 void reassignTransition(TimelineID timelineID, TransitionTime oldTime, TransitionTime newTime)
           
 void reassignTransitionsAroundState(TimelineID timelineID, StateTime currentState, StateTime newState, boolean starting)
           
 void reattachInterpNode(TimelineID timelineID, AssignedInterpNode interp, AssignedInterpNode newParent)
           
 void redefineAction(TimelineID timelineID, AssignedAction oldAction, ValidAction newAction)
           
 void redefineCondition(TimelineID timelineID, AssignedCondition oldCondition, ValidCondition newCondition)
           
 NounName redefineNoun(TimelineID timelineID, NounName oldName, NounName newName, ValidNoun newDefinition)
           
 HistoryFrameID redo()
           
 HistoryFrameID redoTo(HistoryFrameID targetFrame)
           
 void removeAssignedAction(AssignedAction aa)
           
 void removeAssignedAction(Timeline timelineID, AssignedActionAddress aaa)
           
 void removeAssignedCondition(AssignedCondition ac)
           
 void removeAssignedCondition(Timeline timelineID, AssignedConditionAddress aca)
           
 void removeAssignedModifier(AssignedModifier am)
           
 void removeAssignedModifier(Timeline timelineID, AssignedModifierAddress ama)
           
 void removeAssignedPredicate(Timeline timelienID, AssignedPredicate ap)
           
 void removeInterpNode(Timeline timelineID, InterpNodeID key)
           
 HistoryFrameID revert(HistoryFrameID targetFrame)
           
 void setAttachmentPoint(TimelineID timelineID, TimelineTime time)
           
 AssignedPredicate setConditionality(AssignedPredicate predicate, Conditionality conditionality)
           
 void setInterpPosition(TimelineID timelineID, InterpElement element, SCHPoint point)
           
 void setNoInterpretation(TimelineID timelineID, AssignedPredicate ap, java.lang.Boolean noInterpretation)
           
 void swapActionCreationTimes(AssignedAction action1, AssignedAction action2)
           
 void switchToNarrative(NarrativeID title)
           
 void undefineNoun(TimelineID timelineID, NounName noun)
           
 HistoryFrameID undo()
           
 void undoTest()
           
 HistoryFrameID undoTo(HistoryFrameID targetFrame)
           
 void unlinkInterpElements(TimelineID timeline, InterpElement from, InterpretativeArcType arcType, InterpElement to)
           
 InterpValidationResult validateInterp(TimelineID timeline)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoryInterpreter

public StoryInterpreter(HearsStoryPoints listener)
Method Detail

getListener

public HearsStoryPoints getListener()

assignAction

public AssignedAction assignAction(TimelineID timelineID,
                                   TransitionTime time,
                                   Action action)
                            throws Scheherexception
STORY POINTS *

Throws:
Scheherexception

assignAction

public AssignedAction assignAction(TimelineID timelineID,
                                   TransitionTime time,
                                   Action action,
                                   InterpNodeID interpKey)
                            throws Scheherexception
Throws:
Scheherexception

assignAction

public AssignedAction assignAction(TimelineID timelineID,
                                   TransitionTime time,
                                   Action action,
                                   TextSpan sourceSpan)
                            throws Scheherexception
Throws:
Scheherexception

assignAction

public AssignedAction assignAction(TimelineID timelineID,
                                   TransitionTime time,
                                   ActionType actionType,
                                   SCHArguments arguments)
                            throws Scheherexception
Throws:
Scheherexception

assignInterpNode

public AssignedInterpNode assignInterpNode(TimelineID timelineID,
                                           InterpretativeNodeType interpNodeType,
                                           NounName character,
                                           AssignedInterpNode parent,
                                           InterpNodeID key)
                                    throws Scheherexception
Throws:
Scheherexception

attachInterpPredicate

public void attachInterpPredicate(AssignedPredicate predicate,
                                  AssignedInterpNode interpNode)
                           throws Scheherexception
Throws:
Scheherexception

reassignAction

public AssignedAction reassignAction(AssignedAction action,
                                     TimelineTime newTransition)
                              throws Scheherexception
Throws:
Scheherexception

assignModifier

public AssignedModifier assignModifier(AssignedPredicate modified,
                                       ValidModifier modifier,
                                       ModifierScope scope)
                                throws Scheherexception
Throws:
Scheherexception

compareNarratives

public IntersectionPyramid compareNarratives(StorySet stories)
                                      throws Scheherexception
Throws:
Scheherexception

swapActionCreationTimes

public void swapActionCreationTimes(AssignedAction action1,
                                    AssignedAction action2)
                             throws Scheherexception
Throws:
Scheherexception

assignCondition

public AssignedCondition assignCondition(TimelineID timelineID,
                                         StateTime time,
                                         Condition condition)
                                  throws Scheherexception
Throws:
Scheherexception

assignCondition

public AssignedCondition assignCondition(TimelineID timelineID,
                                         StateTime time,
                                         Condition condition,
                                         InterpNodeID key)
                                  throws Scheherexception
Throws:
Scheherexception

declareAction

public void declareAction(TimelineID timelineID,
                          ActionType actionType,
                          StoryAssertion parameters,
                          WordNetOffset offset)
                   throws Scheherexception
Throws:
Scheherexception

declareAction

public void declareAction(TimelineID timelineID,
                          ActionType actionType,
                          StoryAssertion parameters,
                          WordNetOffset offset,
                          ActionType superAction)
                   throws Scheherexception
Throws:
Scheherexception

declareAntonymy

public void declareAntonymy(TimelineID timelineID,
                            ActionType action1,
                            ActionType action2)
                     throws Scheherexception
Throws:
Scheherexception

declareCondition

public void declareCondition(TimelineID timelineID,
                             ConditionType conditionType,
                             StoryAssertion parameters,
                             ConditionType superCondition)
                      throws Scheherexception
Throws:
Scheherexception

declareCondition

public void declareCondition(TimelineID timelineID,
                             ConditionType conditionType,
                             StoryAssertion parameters)
                      throws Scheherexception
Throws:
Scheherexception

declareModifier

public void declareModifier(TimelineID timelineID,
                            ModifierType modifierType,
                            ModifiablePredicates modifiables,
                            StoryAssertion parameters)
                     throws Scheherexception
Throws:
Scheherexception

declareModifier

public void declareModifier(TimelineID timelineID,
                            ModifierType modifierType,
                            ModifiablePredicates modifiables,
                            StoryAssertion parameters,
                            ModifierType superModifier)
                     throws Scheherexception
Throws:
Scheherexception

declareMorphologicalRelation

public void declareMorphologicalRelation(TimelineID timelineID,
                                         ConditionType condition,
                                         ModifierType modifier)
                                  throws Scheherexception
Throws:
Scheherexception

declareNounType

public void declareNounType(TimelineID timelineID,
                            NounType nounType,
                            StoryAssertion parameters,
                            WordNetOffset offset,
                            NounType superNoun,
                            java.lang.String menuName,
                            java.lang.String pluralForm,
                            boolean proper,
                            PropDiscreteness discreteness,
                            CharacterGender gender)
                     throws Scheherexception
Throws:
Scheherexception

defineNoun

public NounName defineNoun(TimelineID timelineID,
                           NamedNoun noun)
                    throws Scheherexception
Throws:
Scheherexception

defineNoun

public NounName defineNoun(TimelineID timelineID,
                           Noun noun)
                    throws Scheherexception
Throws:
Scheherexception

defineNoun

public NounName defineNoun(TimelineID timelineID,
                           Noun noun,
                           NounName nounName)
                    throws Scheherexception
Throws:
Scheherexception

findNounDefinition

public ValidNoun findNounDefinition(TimelineID timelineID,
                                    NounName name)
                             throws Scheherexception
Switchboard for running the three findDefinition functions. TODO: Further consolidate these functions into one.

Throws:
Scheherexception

generateRandomNarrative

public StoryTelling generateRandomNarrative(TimelineID timelineID,
                                            int numPredicates,
                                            LanguageModel model)
                                     throws Scheherexception
Throws:
Scheherexception

getActionParameters

public StoryAssertion getActionParameters(TimelineID timelineID,
                                          ActionType actionType)
                                   throws Scheherexception
Throws:
Scheherexception

getModifierParameters

public StoryAssertion getModifierParameters(TimelineID timelineID,
                                            ModifierType modifierType)
                                     throws Scheherexception
Throws:
Scheherexception

getModifiablePredicates

public ModifiablePredicates getModifiablePredicates(TimelineID timelineID,
                                                    ModifierType modifierType)
                                             throws Scheherexception
Throws:
Scheherexception

getActionsBeginningAt

public AssignedActionSet getActionsBeginningAt(TimelineID timelineID,
                                               StateTime time)
                                        throws Scheherexception
Throws:
Scheherexception

getActionsEndingAt

public AssignedActionSet getActionsEndingAt(TimelineID timelineID,
                                            StateTime time)
                                     throws Scheherexception
Throws:
Scheherexception

getActionsInTransition

public AssignedActionSet getActionsInTransition(TimelineID timelineID,
                                                TransitionTime time)
                                         throws Scheherexception
Throws:
Scheherexception

getAllActions

public AssignedActionSet getAllActions(TimelineID timelineID)
                                throws Scheherexception
Throws:
Scheherexception

getAllConditions

public AssignedConditionSet getAllConditions(TimelineID timelineID)
                                      throws Scheherexception
Throws:
Scheherexception

getAllInterpNodes

public AssignedInterpNodeSet getAllInterpNodes(TimelineID timelineID,
                                               boolean topLevelOnly)
                                        throws Scheherexception
Throws:
Scheherexception

getModifiersOfPredicate

public AssignedModifierSet getModifiersOfPredicate(AssignedPredicate modified)
                                            throws Scheherexception
Throws:
Scheherexception

getAllTimelines

public TimelineIDSet getAllTimelines()
                              throws Scheherexception
Throws:
Scheherexception

getAssignedActionFromNode

public AssignedAction getAssignedActionFromNode(NodeProxy node)
                                         throws Scheherexception
Throws:
Scheherexception

getAssignedConditionFromNode

public AssignedCondition getAssignedConditionFromNode(NodeProxy node)
                                               throws Scheherexception
Throws:
Scheherexception

getAssignedModifierFromNode

public AssignedModifier getAssignedModifierFromNode(NodeProxy node)
                                             throws Scheherexception
Throws:
Scheherexception

getAssignedPredicateFromNode

public AssignedPredicate getAssignedPredicateFromNode(NodeProxy node)
                                               throws Scheherexception
Throws:
Scheherexception

getAssignedPredicateFromAddress

public AssignedPredicate getAssignedPredicateFromAddress(TimelineID timelineID,
                                                         AssignedPredicateAddress apa)
                                                  throws Scheherexception
Throws:
Scheherexception

getAssignedPersistentCondition

public AssignedCondition getAssignedPersistentCondition(AssignedAction aa)
                                                 throws Scheherexception
Throws:
Scheherexception

getChainsOfInterpNode

public InterpChainSet getChainsOfInterpNode(TimelineID timelineID,
                                            AssignedInterpNode node,
                                            boolean allowNestedHeads)
                                     throws Scheherexception
Throws:
Scheherexception

getConditionBeginsAction

public AssignedAction getConditionBeginsAction(TimelineID timelineID,
                                               AssignedCondition condition)
                                        throws Scheherexception
Throws:
Scheherexception

getConditionParameters

public StoryAssertion getConditionParameters(TimelineID timelineID,
                                             ConditionType conditionType)
                                      throws Scheherexception
Throws:
Scheherexception

getConditionsInState

public AssignedConditionSet getConditionsInState(TimelineID timelineID,
                                                 StateTime time,
                                                 boolean localOnly)
                                          throws Scheherexception
Get all the Conditions that are associated with some State.

Parameters:
timelineID - The timeline
time - The state
localOnly - Set true to only include Conditions that are attached directly to the state; false to also include "persistent" Conditions that may have "begun" previously
Throws:
Scheherexception

getConditionsOfCharInState

public ConditionSet getConditionsOfCharInState(TimelineID timelineID,
                                               StateTime time,
                                               boolean localOnly,
                                               NounName character,
                                               SemanticRole role)
                                        throws Scheherexception
Get all the Conditions that are associated with some State and some Character via some semantic role.

Parameters:
timelineID - The timeline
time - The state
localOnly - Set true to only include Conditions that are attached directly to the state; false to also include "persistent" Conditions that may have "begun" previously
character - The name of the character
role - The semantic role that should join the character and the Condition
Throws:
Scheherexception

getDeclaredActions

public ActionTypeSet getDeclaredActions(TimelineID timelineID,
                                        boolean inherit)
                                 throws Scheherexception
Throws:
Scheherexception

getDeclaredConditions

public ConditionTypeSet getDeclaredConditions(TimelineID timelineID,
                                              boolean inherit)
                                       throws Scheherexception
Throws:
Scheherexception

getDeclaredModifiers

public ModifierTypeSet getDeclaredModifiers(TimelineID timelineID,
                                            boolean inherit)
                                     throws Scheherexception
Throws:
Scheherexception

getDeclaredNounTypes

public NounTypeSet getDeclaredNounTypes(TimelineID timelineID,
                                        boolean inherit,
                                        NounFlavor flavor)
                                 throws Scheherexception
Throws:
Scheherexception

getDefinedNouns

public NounNameSet getDefinedNouns(TimelineID timelineID,
                                   boolean inherit,
                                   NounFlavor flavor)
                            throws Scheherexception
Throws:
Scheherexception

getInterpChain

public InterpChainLink getInterpChain(InterpElement interpElement)
                               throws Scheherexception
Throws:
Scheherexception

getInterpLineage

public AssignedInterpNodeSet getInterpLineage(InterpElement interpElement)
                                       throws Scheherexception
Throws:
Scheherexception

getNounParameters

public StoryAssertion getNounParameters(TimelineID timelineID,
                                        NounType nounType)
                                 throws Scheherexception
Throws:
Scheherexception

getInvokedStatesInTimeline

public StateTimeSet getInvokedStatesInTimeline(TimelineID timelineID)
                                        throws Scheherexception
Throws:
Scheherexception

getLinkedInterpElements

public InterpArcSet getLinkedInterpElements(TimelineID timelineID,
                                            InterpElement interpElement,
                                            InterpretativeArcType linkType,
                                            LinkDirection linkDirection)
                                     throws Scheherexception
Throws:
Scheherexception

getTitle

public NarrativeID getTitle()
                     throws Scheherexception
Throws:
Scheherexception

initializeNarrative

public void initializeNarrative(NarrativeID title)
                         throws Scheherexception
Throws:
Scheherexception

intersectPairwise

public SCHIntersection intersectPairwise(SCHIntersection pred1,
                                         SCHIntersection pred2)
                                  throws Scheherexception
Throws:
Scheherexception

launchDebugger

public void launchDebugger()
                    throws Scheherexception
Throws:
Scheherexception

linkInterpElements

public void linkInterpElements(TimelineID timeline,
                               InterpElement from,
                               InterpretativeArcType arcType,
                               InterpElement to)
                        throws Scheherexception
Throws:
Scheherexception

makeValidAction

public ValidAction makeValidAction(TimelineID timelineID,
                                   ActionType actionType,
                                   SCHArguments arguments,
                                   boolean truthAssertion,
                                   PredicateMode mode)
                            throws Scheherexception
Throws:
Scheherexception

makeValidAction

public ValidAction makeValidAction(TimelineID timelineID,
                                   ActionType actionType,
                                   SCHArguments arguments,
                                   PredicateMode mode)
                            throws Scheherexception
Throws:
Scheherexception

makeValidAction

public ValidAction makeValidAction(TimelineID timelineID,
                                   ActionType actionType,
                                   SCHArguments arguments)
                            throws Scheherexception
Throws:
Scheherexception

makeValidAction

public ValidAction makeValidAction(TimelineID timelineID,
                                   CoreAction action,
                                   SCHArguments arguments,
                                   boolean truthAssertion,
                                   PredicateMode mode)
                            throws Scheherexception
Throws:
Scheherexception

makeValidAction

public ValidAction makeValidAction(TimelineID timelineID,
                                   CoreAction action,
                                   SCHArguments arguments,
                                   PredicateMode mode)
                            throws Scheherexception
Throws:
Scheherexception

makeValidCondition

public ValidCondition makeValidCondition(TimelineID timelineID,
                                         ConditionType conditionType,
                                         SCHArguments arguments,
                                         int degree,
                                         PredicateMode mode)
                                  throws Scheherexception
Throws:
Scheherexception

makeValidCondition

public ValidCondition makeValidCondition(TimelineID timelineID,
                                         ConditionType conditionType,
                                         SCHArguments arguments,
                                         java.lang.Integer degree,
                                         PredicateMode mode)
                                  throws Scheherexception
Throws:
Scheherexception

makeValidCondition

public ValidCondition makeValidCondition(TimelineID timelineID,
                                         ConditionType conditionType,
                                         SCHArguments arguments,
                                         DegreeCategory degree,
                                         PredicateMode mode)
                                  throws Scheherexception
Throws:
Scheherexception

makeValidCondition

public ValidCondition makeValidCondition(TimelineID timelineID,
                                         ConditionType conditionType,
                                         SCHArguments arguments,
                                         boolean truthAssertion,
                                         PredicateMode mode)
                                  throws Scheherexception
Throws:
Scheherexception

makeValidModifier

public ValidModifier makeValidModifier(TimelineID timelineID,
                                       ModifierType modifierType,
                                       SCHArguments arguments)
                                throws Scheherexception
Throws:
Scheherexception

makeValidModifier

public ValidModifier makeValidModifier(TimelineID timelineID,
                                       CoreModifier modifier,
                                       SCHArguments arguments)
                                throws Scheherexception
Throws:
Scheherexception

makeValidNoun

public ValidNoun makeValidNoun(TimelineID timelineID,
                               NounType nounType,
                               SCHArguments arguments)
                        throws Scheherexception
Throws:
Scheherexception

newTimeline

public void newTimeline(TimelineID newTimelineID,
                        TimelineType type,
                        TimelineID referentTimelineID)
                 throws Scheherexception
Throws:
Scheherexception

newTimeline

public void newTimeline(TimelineID newTimelineID,
                        TimelineType type)
                 throws Scheherexception
Throws:
Scheherexception

normalizeAssignedPredicate

public AssignedPredicate normalizeAssignedPredicate(AssignedPredicate predicate)
                                             throws Scheherexception
Throws:
Scheherexception

setAttachmentPoint

public void setAttachmentPoint(TimelineID timelineID,
                               TimelineTime time)
                        throws Scheherexception
Throws:
Scheherexception

getAttachmentPoint

public TimelineTime getAttachmentPoint(TimelineID timelineID)
                                throws Scheherexception
Throws:
Scheherexception

query

public SCHQueryResultSet query(StoryQuery query)
                        throws Scheherexception
Throws:
Scheherexception

reassignTransition

public void reassignTransition(TimelineID timelineID,
                               TransitionTime oldTime,
                               TransitionTime newTime)
                        throws Scheherexception
Throws:
Scheherexception

reassignTransitionsAroundState

public void reassignTransitionsAroundState(TimelineID timelineID,
                                           StateTime currentState,
                                           StateTime newState,
                                           boolean starting)
                                    throws Scheherexception
Throws:
Scheherexception

reattachInterpNode

public void reattachInterpNode(TimelineID timelineID,
                               AssignedInterpNode interp,
                               AssignedInterpNode newParent)
                        throws Scheherexception
Throws:
Scheherexception

redefineNoun

public NounName redefineNoun(TimelineID timelineID,
                             NounName oldName,
                             NounName newName,
                             ValidNoun newDefinition)
                      throws Scheherexception
Throws:
Scheherexception

redefineAction

public void redefineAction(TimelineID timelineID,
                           AssignedAction oldAction,
                           ValidAction newAction)
                    throws Scheherexception
Throws:
Scheherexception

redefineCondition

public void redefineCondition(TimelineID timelineID,
                              AssignedCondition oldCondition,
                              ValidCondition newCondition)
                       throws Scheherexception
Throws:
Scheherexception

removeAssignedAction

public void removeAssignedAction(AssignedAction aa)
                          throws Scheherexception
Throws:
Scheherexception

removeAssignedAction

public void removeAssignedAction(Timeline timelineID,
                                 AssignedActionAddress aaa)
                          throws Scheherexception
Throws:
Scheherexception

removeAssignedCondition

public void removeAssignedCondition(AssignedCondition ac)
                             throws Scheherexception
Throws:
Scheherexception

removeAssignedCondition

public void removeAssignedCondition(Timeline timelineID,
                                    AssignedConditionAddress aca)
                             throws Scheherexception
Throws:
Scheherexception

removeAssignedModifier

public void removeAssignedModifier(AssignedModifier am)
                            throws Scheherexception
Throws:
Scheherexception

removeAssignedModifier

public void removeAssignedModifier(Timeline timelineID,
                                   AssignedModifierAddress ama)
                            throws Scheherexception
Throws:
Scheherexception

removeAssignedPredicate

public void removeAssignedPredicate(Timeline timelienID,
                                    AssignedPredicate ap)
                             throws Scheherexception
Throws:
Scheherexception

removeInterpNode

public void removeInterpNode(Timeline timelineID,
                             InterpNodeID key)
                      throws Scheherexception
Throws:
Scheherexception

redo

public HistoryFrameID redo()
                    throws Scheherexception
Throws:
Scheherexception

redoTo

public HistoryFrameID redoTo(HistoryFrameID targetFrame)
                      throws Scheherexception
Throws:
Scheherexception

revert

public HistoryFrameID revert(HistoryFrameID targetFrame)
                      throws Scheherexception
Throws:
Scheherexception

setConditionality

public AssignedPredicate setConditionality(AssignedPredicate predicate,
                                           Conditionality conditionality)
                                    throws Scheherexception
Throws:
Scheherexception

setInterpPosition

public void setInterpPosition(TimelineID timelineID,
                              InterpElement element,
                              SCHPoint point)
                       throws Scheherexception
Throws:
Scheherexception

setNoInterpretation

public void setNoInterpretation(TimelineID timelineID,
                                AssignedPredicate ap,
                                java.lang.Boolean noInterpretation)
                         throws Scheherexception
Throws:
Scheherexception

switchToNarrative

public void switchToNarrative(NarrativeID title)
                       throws Scheherexception
Throws:
Scheherexception

undefineNoun

public void undefineNoun(TimelineID timelineID,
                         NounName noun)
                  throws Scheherexception
Throws:
Scheherexception

undo

public HistoryFrameID undo()
                    throws Scheherexception
Throws:
Scheherexception

undoTest

public void undoTest()
              throws Scheherexception
Throws:
Scheherexception

undoTo

public HistoryFrameID undoTo(HistoryFrameID targetFrame)
                      throws Scheherexception
Throws:
Scheherexception

unlinkInterpElements

public void unlinkInterpElements(TimelineID timeline,
                                 InterpElement from,
                                 InterpretativeArcType arcType,
                                 InterpElement to)
                          throws Scheherexception
Throws:
Scheherexception

validateInterp

public InterpValidationResult validateInterp(TimelineID timeline)
                                      throws Scheherexception
Throws:
Scheherexception


Copyright © 2011 David K. Elson. All Rights Reserved.