|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.elements.Timeline
public class Timeline
A Timeline is Scheherazade's way of referring to a semantic
timeline.
Because Timeline nodes can be removed from the underlying db-core,
these Timeline objects should never be passed outside the
Narrative, only accessed within the Narrative. TimelineIDs are
used to reference Timelines.
Field Summary | |
---|---|
static java.lang.String |
ANONYMOUS
|
static int |
DEFAULT_ACTION_TRUTH
|
static boolean |
LOAD_WORDNET_ABSOLUTE_PATH
|
static NodeID |
SETTING_NODEID
|
Constructor Summary | |
---|---|
Timeline(Narrative narrative,
DBCAccessor dbca)
|
Method Summary | |
---|---|
AssignedAction |
assignAction(NodeAddress timeline,
TransitionTime time,
ValidAction action,
TextSpan sourceSpan,
InterpNodeID key)
Assigns an instance of an Action to a Transition. |
AssignedCondition |
assignCondition(NodeAddress timeline,
StateTime time,
ValidCondition condition,
TextSpan sourceSpan,
InterpNodeID key)
Assigns an instance of a Condition to a State. |
AssignedInterpNode |
assignInterpNode(NodeAddress timeline,
InterpretativeNodeType interpNodeType,
NounName character,
AssignedInterpNode parent,
InterpNodeID key,
SCHPoint position)
|
AssignedModifier |
assignModifier(AssignedPredicate predicate,
ValidModifier modifier,
ModifierScope scope,
TextSpan sourceSpan)
Assigns an instance of a Modifier to a predicate. |
void |
attachInterpPredicate(AssignedPredicate predicate,
AssignedInterpNode interp)
|
void |
declareAction(NodeAddress timeline,
ActionType actionType,
StoryAssertion expansionParams,
WordNetOffset offset,
ActionType superAction)
Declare a new type of Action and define its parameters. |
void |
declareAntonymy(NodeAddress timeline,
ActionType action1,
ActionType action2)
Declare an antonymous relationship between two actions. |
void |
declareCondition(NodeAddress timeline,
ConditionType conditionType,
StoryAssertion expansionParams,
ConditionType superCondition)
Declare a new Condition in the Setting of this Timeline. |
void |
declareModifier(NodeAddress timeline,
ModifierType modifierType,
ModifiablePredicates modifiables,
StoryAssertion expansionParams,
ModifierType superModifier)
Declare a new Modifier in the Setting of this Timeline. |
void |
declareMorphologicalRelation(NodeAddress timeline,
ConditionType condition,
ModifierType modifier)
Declare a morphological relationship between a condition type and a modifier type. |
void |
declareNounType(NodeAddress timeline,
NounType nounType,
StoryAssertion expansionParams,
WordNetOffset offset,
NounType superNoun,
java.lang.String menuName,
java.lang.String pluralForm,
boolean proper,
PropDiscreteness discreteness,
CharacterGender gender)
Declare that a type of Noun can exist in the world. |
NounName |
defineNoun(NodeAddress timeline,
ValidNoun noun,
NounName nounName)
Define a particular Noun in the world, assigning it a name |
boolean |
expansionParametersSet(NodeAddress node)
Have the DBCA check whether expansion parameters are set for a node |
AssignedAction |
findAssignedAction(NodeAddress timeline,
AssignedActionAddress aaa)
Find an AssignedAction from an AssignedActionaddress |
AssignedCondition |
findAssignedCondition(NodeAddress timeline,
AssignedConditionAddress aca)
Find an AssignedCondition from an AssignedConditionAddress. |
InterpElement |
findAssignedInterpElement(NodeAddress timeline,
InterpNodeID key)
|
AssignedModifier |
findAssignedModifier(NodeAddress timeline,
AssignedModifierAddress ama)
Find an AssignedModifier from an AssignedModifieraddress |
NounType |
findCompleteNounType(NodeAddress timeline,
NounType nounType)
|
NodeAddress |
findDeclaration(TimelineID timelineID)
Find the NodeAddress behind a TimelineID. |
NodeAddress |
findDeclaration(TimelineID timelineID,
NarrativeID storyID)
Find the NodeAddress behind a TimelineID of a story other than the current one. |
int |
findHopsBetweenTypes(ScheherIDWithType from,
ScheherIDWithType to)
|
NodeAddress |
findNodeIntersection(NodeAddress frame1,
NodeAddress frame2)
|
ValidNoun |
findNounDefinition(NodeAddress timeline,
NounName noun)
|
NodeAddress |
findSettingNode(TimelineID timelineID)
|
StoryTelling |
generateRandomNarrative(NodeAddress timeline,
int numPredicates,
LanguageModel model)
Populate a timeline with a bunch of randomly generated actions. |
java.lang.Object |
generateRandomPredicate(StoryTelling telling,
NodeAddress timeline,
PredicateFlavor flavor,
story.scheherazade.elements.Timeline.GenerationState genstate,
int indent,
PredicateMode predicateMode)
Generate a completely random predicate. |
StoryAssertion |
getActionParameters(NodeAddress timeline,
ActionType actionType)
Get the parameters of a declared Action |
AssignedActionSet |
getActionsBeginningAt(NodeAddress timeline,
StateTime time)
Get all the Actions beginning at a certain StateTime. |
AssignedActionSet |
getActionsEndingAt(NodeAddress timeline,
StateTime time)
Get all Actions ending at a certain StateTime. |
AssignedActionSet |
getActionsInTransition(NodeAddress timeline,
TransitionTime time)
Get all the Actions instantiated in a Transition. |
ActivationFrame |
getActivationFrame(NodeAddress timeline,
AssignedAction action)
|
AssignedActionSet |
getAllActions(NodeAddress timeline)
Get all actions in a Timeline. |
AssignedConditionSet |
getAllConditions(NodeAddress timeline)
Get all conditions in a Timeline. |
AssignedInterpNodeSet |
getAllInterpNodes(NodeAddress timeline,
boolean topLevelOnly)
Get all interp nodes in a Timeline. |
InterpArcSet |
getAllLinkedInterpElements(NodeAddress timeline,
InterpElement element,
LinkDirection linkDirection)
|
StateTimeSet |
getAllStates(NodeAddress timeline)
Get a list of all States that have been activated for this Timeline. |
AssignedAction |
getAssignedActionFromNode(NodeProxy assignedActionNode)
|
AssignedCondition |
getAssignedConditionFromNode(NodeProxy assignedConditionNode)
|
AssignedModifier |
getAssignedModifierFromNode(NodeProxy assignedModifierNode)
|
AssignedCondition |
getAssignedPersistentCondition(AssignedAction assignedAction)
Given an assigned ConditionBegins action, get the AssignedCondition object for the condition that began. |
AssignedPredicate |
getAssignedPredicateFromAddress(NodeAddress timeline,
AssignedPredicateAddress apa)
|
AssignedPredicate |
getAssignedPredicateFromNode(NodeAddress node)
|
AssignedPredicate |
getAssignedPredicateFromNode(NodeProxy assignedPredicateNode)
|
TimelineTime |
getAttachmentPoint(NodeAddress timeline)
Gets the attachment point of a timeline. |
InterpChainSet |
getChainsOfInterpNode(NodeAddress timeline,
AssignedInterpNode node,
boolean allowNestedHeads)
|
AssignedAction |
getConditionBeginsAction(AssignedCondition assignedCondition)
Given an assigned persistent condition action, get the assigned ConditionBegins action |
StoryAssertion |
getConditionParameters(NodeAddress timeline,
ConditionType conditionType)
Get the parameters of a declared Condition. |
AssignedConditionSet |
getConditionsInState(NodeAddress timeline,
StateTime time,
boolean localOnly)
|
ConditionSet |
getConditionsOfNounInState(NodeAddress timeline,
StateTime time,
boolean localOnly,
NounName noun,
SemanticRole role)
|
ActionTypeSet |
getDeclaredActions(NodeAddress timeline,
boolean inherit)
|
NounNameSet |
getDeclaredCharacters(NodeAddress timeline,
boolean inherit)
|
ConditionTypeSet |
getDeclaredConditions(NodeAddress timeline,
boolean inherit)
|
ModifierTypeSet |
getDeclaredModifiers(NodeAddress timeline,
boolean inherit)
|
NounTypeSet |
getDeclaredNounTypes(NodeAddress timeline,
boolean inherit,
NounFlavor flavor)
Get a list of all declared noun types. |
NounNameSet |
getDefinedNouns(NodeAddress timeline,
boolean inherit,
NounFlavor flavor)
|
NodeAddress |
getFirstNodeLinkedFromNode(NodeAddress node,
LinkType linkType)
Have the DBCA retrieve a linked node on someone's behalf |
InterpChainLink |
getInterpChain(NodeAddress timeline,
InterpretativeArcType incomingArcType,
InterpElement element)
Compiles an interp chain (possibly forking into many chains) starting at the designated element. |
InterpNodeID |
getInterpKeyFromNode(NodeAddress node)
|
NodeAddressSet |
getInterpLineage(InterpElement element)
Get an ordered list of ancestor InterpNode (agency boxes) for an interp element, starting with itself. |
AssignedInterpNodeSet |
getInterpLineage(NodeAddress timeline,
InterpElement element)
|
SCHPoint |
getInterpPositionFromNode(NodeAddress node,
boolean getSourceSpanPosition)
Helper function that retrieves a common attribute from a node. |
InterpArcSet |
getLinkedInterpElements(NodeAddress timeline,
InterpElement element,
InterpretativeArcType arcType,
LinkDirection linkDirection)
|
LinkSet |
getLinksFromNode(NodeAddress node,
LinkType linkType,
boolean directOnly)
Have the DBCA retrieve linked nodes on someone's behalf |
ModifiablePredicates |
getModifiablePredicates(NodeAddress timeline,
ModifierType modifierType)
Get the types of predicates which were defined as being modifiable by a Modifier. |
StoryAssertion |
getModifierParameters(NodeAddress timeline,
ModifierType modifierType)
Get the parameters of a declared Modifier. |
AssignedModifierSet |
getModifiersOfPredicate(AssignedPredicate modified)
Get the Modifiers assigned to a predicate. |
AttributeValue |
getNodeAttribute(NodeAddress node,
java.lang.Object attribute)
Have the DBCA retrieve a node attribute on someone's behalf with no inheritance. |
AttributeValue |
getNodeAttribute(NodeAddress node,
java.lang.Object attribute,
boolean overrideInheritance)
Have the DBCA retrieve a node attribute on someone's behalf. |
NodeProxy |
getNodeProxy(NodeAddress node)
|
java.lang.Boolean |
getNoInterpretationFromNode(NodeAddress node)
|
StoryAssertion |
getNounParameters(NodeAddress timeline,
NounType nounType)
Get the parameters of a declared NounType. |
CommandSequence |
getRedefineConditionSequence(NodeAddress timeline,
NodeAddress conditionNode,
NodeAddress stateNode,
ValidCondition newCondition)
|
shef.nlp.wordnet.similarity.SimilarityMeasure |
getSimilarityMeasure()
|
TimelineID |
getTimelineID(NodeAddress timeline)
|
TimelineType |
getTimelineType(NodeAddress timeline)
|
NarrativeID |
getTitle()
|
TransitionTimePair |
getVirtualStateRange(NodeAddress virtualStateNode)
Given a virtual state node, over which transitions does the state begin and end? |
net.didion.jwnl.dictionary.Dictionary |
getWordNetInstance()
|
boolean |
inScopeOfTimeline(NodeAddress thisTimeline,
TimelineID otherTimeline)
Determines whether some timeline is in the scope of some other timeline -- that is, either the same one or one it are nested inside |
SCHArguments |
internSCHArguments(SCHArguments in)
Before SCH-level objects can be stuck in the undo/redo memento, we need to remove all "live" references such as NodeProxies for nodes in the current instantiation of the graph. |
SCHIntersection |
intersect(SCHIntersection int1,
SCHIntersection int2,
boolean checkStoryOverlap)
|
SCHIntersection |
intersectPairwise(SCHIntersection pred1,
SCHIntersection pred2)
|
void |
linkInterpElements(NodeAddress timeline,
InterpElement from,
InterpretativeArcType arcType,
InterpElement to)
|
SCHIntersection |
makeSeedIntersection(AssignedPredicate predicate,
SemanticRole role,
NarrativeID storyID,
NounName associatedName)
Make a seed intersection out of an AssignedPredicate. |
SCHIntersection |
makeSeedIntersection(java.lang.Object object,
SemanticRole role,
NodeAddress timeline,
NarrativeID storyID)
Main switchboard for making a seed intersection out of a story element. |
SCHIntersection |
makeSeedIntersection(ValidPredicate predicate,
SemanticRole role,
NarrativeID storyID,
NounName associatedName)
|
SCHIntersection |
makeSeedIntersection(ValidPredicate predicate,
SemanticRole role,
NarrativeID storyID,
NounName associatedName,
boolean addContributor)
|
ValidAction |
makeValidAction(NodeAddress timeline,
ActionType actionType,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
Define an instance of a previously declared Action. |
ValidCondition |
makeValidCondition(NodeAddress timeline,
Condition condition)
Define an instance of a previously declared Condition. |
ValidCondition |
makeValidCondition(NodeAddress timeline,
ConditionType condition,
SCHArguments arguments,
int truthDegree,
PredicateMode mode)
Define an instance of a previously declared Condition. |
ValidModifier |
makeValidModifier(NodeAddress timeline,
ModifierType modifier,
SCHArguments arguments)
Define an instance of a previously declared Modifier. |
ValidNoun |
makeValidNoun(NodeAddress timeline,
Noun noun)
Define an instance of a previously declared Noun. |
ValidNoun |
makeValidNoun(NodeAddress timeline,
NounType noun,
SCHArguments arguments)
Define an instance of a previously declared Noun. |
NodeAddress |
newTimeline(TimelineID ID,
TimelineType newType)
Create a new Timeline in the db-core with no referent timeline. |
NodeAddress |
newTimeline(TimelineID ID,
TimelineType newType,
NodeAddress referentTimeline)
Create a new Timeline in the db-core with a referent timeline. |
ActionType |
normalizeActionType(NodeAddress timeline,
ActionType actionType)
|
AssignedPredicate |
normalizeAssignedPredicate(AssignedPredicate predicate)
|
ConditionType |
normalizeConditionType(NodeAddress timeline,
ConditionType conditionType)
|
ModifierType |
normalizeModifierType(NodeAddress timeline,
ModifierType modifierType)
|
void |
propogateActivation(InterpElement interp,
ActivationFrame frame,
Activation change)
|
AssignedAction |
reassignAction(AssignedAction assignedAction,
TransitionTime newTime)
Ressigns an instance of an Action to a new Transition. |
void |
reassignTransition(NodeAddress timeline,
TransitionTime oldTime,
TransitionTime newTime)
Reassign a Transition node from one state to another. |
boolean |
reassignTransitionsAroundState(NodeAddress timeline,
StateTime currentState,
StateTime newStateTime,
boolean starting)
Move a state from one time point to another from the point of view of any transitions that go to or from the state. |
void |
reattachInterpElement(NodeAddress timeline,
InterpElement interp,
AssignedInterpNode newParent)
|
AssignedAction |
redefineAction(NodeAddress timeline,
AssignedAction oldAction,
ValidAction newAction)
Redefines (edits) a previously assigned Action. |
AssignedCondition |
redefineCondition(NodeAddress timeline,
AssignedCondition oldCondition,
ValidCondition newCondition)
Redefines (edits) a previously assigned Condition. |
AssignedModifier |
redefineModifier(NodeAddress timeline,
AssignedModifier oldModifier,
ValidModifier newModifier)
Redefines (edits) a previously assigned Modifier. |
NounName |
redefineNoun(NodeAddress timeline,
NounName oldName,
NounName newName,
ValidNoun newDefinition)
|
void |
removeAssignedAction(NodeAddress timeline,
AssignedAction assignedAction)
Remove a previously assigned Action. |
void |
removeAssignedCondition(NodeAddress timeline,
AssignedCondition assignedCondition)
Eliminate a Condition from its concrete State. |
void |
removeAssignedModifier(NodeAddress timeline,
AssignedModifier assignedModifier)
Eliminate a Modifier from its concrete State. |
void |
removeInterpNode(NodeAddress timeline,
InterpNodeID key)
Removes an interp node. |
void |
reReferenceSCHArguments(SCHArguments in)
Interpret SCHArguments by applying SCH-level semantics to NodeAddresses that were dereferenced by validateSCHArguments above. |
void |
setAttachmentPoint(NodeAddress timeline,
TimelineTime time)
Sets the attachment point of a timeline. |
AssignedPredicate |
setConditionality(AssignedPredicate predicate,
Conditionality conditionality)
Set the Conditionality of an assigned predicate. |
void |
setExpansionParameters(NodeAddress node,
ParameterSet parameters)
Have the DBCA set an expansion parameter on someone's behalf. |
void |
setInterpPosition(InterpElement element,
SCHPoint position)
Sets the position of an interpretative-element box on the canvas. |
void |
setNoInterpretation(AssignedPredicate ap,
java.lang.Boolean noInterpretation)
|
void |
setSourceTextSpan(AssignedPredicate predicate,
TextSpan span)
Set the associated text span for a predicate. |
void |
swapCreationTimes(AssignedAction aa1,
AssignedAction aa2)
Swaps the "creation time" fields of two assigned actions, as if they were made in opposite order as they were actually assigned. |
void |
undefineNoun(NodeAddress timeline,
NounName noun)
|
SCHArguments |
uninternSCHArguments(SCHArguments in)
|
void |
unlinkInterpElements(NodeAddress timeline,
InterpElement from,
InterpretativeArcType arcType,
InterpElement to)
|
InterpValidationResult |
validateInterp(NodeAddress timeline)
|
ValidPredicate |
validatePredicateFromNode(NodeAddress timeline,
NodeAddress predicateNode)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean LOAD_WORDNET_ABSOLUTE_PATH
public static final NodeID SETTING_NODEID
public static final java.lang.String ANONYMOUS
public static final int DEFAULT_ACTION_TRUTH
Constructor Detail |
---|
public Timeline(Narrative narrative, DBCAccessor dbca) throws Scheherexception
Scheherexception
Method Detail |
---|
public TimelineID getTimelineID(NodeAddress timeline) throws Scheherexception
Scheherexception
public TimelineType getTimelineType(NodeAddress timeline) throws Scheherexception
Scheherexception
public NodeProxy getNodeProxy(NodeAddress node) throws Scheherexception
Scheherexception
public NarrativeID getTitle()
public shef.nlp.wordnet.similarity.SimilarityMeasure getSimilarityMeasure()
public net.didion.jwnl.dictionary.Dictionary getWordNetInstance()
public AttributeValue getNodeAttribute(NodeAddress node, java.lang.Object attribute) throws Scheherexception
Scheherexception
public AttributeValue getNodeAttribute(NodeAddress node, java.lang.Object attribute, boolean overrideInheritance) throws Scheherexception
Scheherexception
public NodeAddress getFirstNodeLinkedFromNode(NodeAddress node, LinkType linkType) throws Scheherexception
Scheherexception
public void setExpansionParameters(NodeAddress node, ParameterSet parameters) throws Scheherexception
Scheherexception
public boolean expansionParametersSet(NodeAddress node) throws Scheherexception
Scheherexception
public LinkSet getLinksFromNode(NodeAddress node, LinkType linkType, boolean directOnly) throws Scheherexception
Scheherexception
public NodeAddress newTimeline(TimelineID ID, TimelineType newType) throws Scheherexception
Scheherexception
public NodeAddress newTimeline(TimelineID ID, TimelineType newType, NodeAddress referentTimeline) throws Scheherexception
Scheherexception
public TimelineTime getAttachmentPoint(NodeAddress timeline) throws Scheherexception
Scheherexception
public void setAttachmentPoint(NodeAddress timeline, TimelineTime time) throws Scheherexception
Scheherexception
public void setSourceTextSpan(AssignedPredicate predicate, TextSpan span) throws Scheherexception
Scheherexception
public void setInterpPosition(InterpElement element, SCHPoint position) throws Scheherexception
Scheherexception
public ValidCondition makeValidCondition(NodeAddress timeline, ConditionType condition, SCHArguments arguments, int truthDegree, PredicateMode mode) throws Scheherexception
Scheherexception
public ValidCondition makeValidCondition(NodeAddress timeline, Condition condition) throws Scheherexception
Scheherexception
public ValidModifier makeValidModifier(NodeAddress timeline, ModifierType modifier, SCHArguments arguments) throws Scheherexception
Scheherexception
public StoryAssertion getConditionParameters(NodeAddress timeline, ConditionType conditionType) throws Scheherexception
Scheherexception
public StoryAssertion getActionParameters(NodeAddress timeline, ActionType actionType) throws Scheherexception
Scheherexception
public ModifiablePredicates getModifiablePredicates(NodeAddress timeline, ModifierType modifierType) throws Scheherexception
Scheherexception
public StoryAssertion getModifierParameters(NodeAddress timeline, ModifierType modifierType) throws Scheherexception
Scheherexception
public AssignedModifierSet getModifiersOfPredicate(AssignedPredicate modified) throws Scheherexception
Scheherexception
public AssignedPredicate setConditionality(AssignedPredicate predicate, Conditionality conditionality) throws Scheherexception
Scheherexception
public ValidAction makeValidAction(NodeAddress timeline, ActionType actionType, SCHArguments arguments, int truthDegree, PredicateMode mode) throws Scheherexception
Scheherexception
public StoryTelling generateRandomNarrative(NodeAddress timeline, int numPredicates, LanguageModel model) throws Scheherexception
Scheherexception
public java.lang.Object generateRandomPredicate(StoryTelling telling, NodeAddress timeline, PredicateFlavor flavor, story.scheherazade.elements.Timeline.GenerationState genstate, int indent, PredicateMode predicateMode) throws Scheherexception
Scheherexception
public void declareCondition(NodeAddress timeline, ConditionType conditionType, StoryAssertion expansionParams, ConditionType superCondition) throws Scheherexception
Scheherexception
public void declareModifier(NodeAddress timeline, ModifierType modifierType, ModifiablePredicates modifiables, StoryAssertion expansionParams, ModifierType superModifier) throws Scheherexception
Scheherexception
public void declareAction(NodeAddress timeline, ActionType actionType, StoryAssertion expansionParams, WordNetOffset offset, ActionType superAction) throws Scheherexception
Scheherexception
public ActionType normalizeActionType(NodeAddress timeline, ActionType actionType) throws Scheherexception
Scheherexception
public ConditionType normalizeConditionType(NodeAddress timeline, ConditionType conditionType) throws Scheherexception
Scheherexception
public ModifierType normalizeModifierType(NodeAddress timeline, ModifierType modifierType) throws Scheherexception
Scheherexception
public void declareAntonymy(NodeAddress timeline, ActionType action1, ActionType action2) throws Scheherexception
Scheherexception
public void declareMorphologicalRelation(NodeAddress timeline, ConditionType condition, ModifierType modifier) throws Scheherexception
Scheherexception
public AssignedInterpNode assignInterpNode(NodeAddress timeline, InterpretativeNodeType interpNodeType, NounName character, AssignedInterpNode parent, InterpNodeID key, SCHPoint position) throws Scheherexception
Scheherexception
public void removeInterpNode(NodeAddress timeline, InterpNodeID key) throws Scheherexception
Scheherexception
public ValidPredicate validatePredicateFromNode(NodeAddress timeline, NodeAddress predicateNode) throws Scheherexception
Scheherexception
public InterpValidationResult validateInterp(NodeAddress timeline) throws Scheherexception
Scheherexception
public AssignedAction assignAction(NodeAddress timeline, TransitionTime time, ValidAction action, TextSpan sourceSpan, InterpNodeID key) throws Scheherexception
Scheherexception
public void swapCreationTimes(AssignedAction aa1, AssignedAction aa2) throws Scheherexception
Scheherexception
public AssignedAction reassignAction(AssignedAction assignedAction, TransitionTime newTime) throws Scheherexception
Scheherexception
public void removeAssignedAction(NodeAddress timeline, AssignedAction assignedAction) throws Scheherexception
Scheherexception
public AssignedAction redefineAction(NodeAddress timeline, AssignedAction oldAction, ValidAction newAction) throws Scheherexception
Scheherexception
public AssignedModifier assignModifier(AssignedPredicate predicate, ValidModifier modifier, ModifierScope scope, TextSpan sourceSpan) throws Scheherexception
Scheherexception
public AssignedModifier redefineModifier(NodeAddress timeline, AssignedModifier oldModifier, ValidModifier newModifier) throws Scheherexception
Scheherexception
public void removeAssignedModifier(NodeAddress timeline, AssignedModifier assignedModifier) throws Scheherexception
Scheherexception
public TransitionTimePair getVirtualStateRange(NodeAddress virtualStateNode) throws Scheherexception
Scheherexception
public AssignedCondition getAssignedPersistentCondition(AssignedAction assignedAction) throws Scheherexception
Scheherexception
public AssignedAction getConditionBeginsAction(AssignedCondition assignedCondition) throws Scheherexception
Scheherexception
public AssignedCondition findAssignedCondition(NodeAddress timeline, AssignedConditionAddress aca) throws Scheherexception
Scheherexception
public AssignedAction findAssignedAction(NodeAddress timeline, AssignedActionAddress aaa) throws Scheherexception
Scheherexception
public AssignedModifier findAssignedModifier(NodeAddress timeline, AssignedModifierAddress ama) throws Scheherexception
Scheherexception
public InterpElement findAssignedInterpElement(NodeAddress timeline, InterpNodeID key) throws Scheherexception
Scheherexception
public AssignedActionSet getActionsBeginningAt(NodeAddress timeline, StateTime time) throws Scheherexception
Scheherexception
public AssignedActionSet getActionsEndingAt(NodeAddress timeline, StateTime time) throws Scheherexception
Scheherexception
public AssignedActionSet getActionsInTransition(NodeAddress timeline, TransitionTime time) throws Scheherexception
Scheherexception
public AssignedActionSet getAllActions(NodeAddress timeline) throws Scheherexception
Scheherexception
public AssignedConditionSet getAllConditions(NodeAddress timeline) throws Scheherexception
Scheherexception
public AssignedInterpNodeSet getAllInterpNodes(NodeAddress timeline, boolean topLevelOnly) throws Scheherexception
Scheherexception
public AssignedCondition assignCondition(NodeAddress timeline, StateTime time, ValidCondition condition, TextSpan sourceSpan, InterpNodeID key) throws Scheherexception
Scheherexception
public void removeAssignedCondition(NodeAddress timeline, AssignedCondition assignedCondition) throws Scheherexception
Scheherexception
public AssignedCondition redefineCondition(NodeAddress timeline, AssignedCondition oldCondition, ValidCondition newCondition) throws Scheherexception
Scheherexception
public CommandSequence getRedefineConditionSequence(NodeAddress timeline, NodeAddress conditionNode, NodeAddress stateNode, ValidCondition newCondition) throws Scheherexception
Scheherexception
public AssignedConditionSet getConditionsInState(NodeAddress timeline, StateTime time, boolean localOnly) throws Scheherexception
Scheherexception
public ConditionSet getConditionsOfNounInState(NodeAddress timeline, StateTime time, boolean localOnly, NounName noun, SemanticRole role) throws Scheherexception
Scheherexception
public NounNameSet getDeclaredCharacters(NodeAddress timeline, boolean inherit) throws Scheherexception
Scheherexception
public ActionTypeSet getDeclaredActions(NodeAddress timeline, boolean inherit) throws Scheherexception
Scheherexception
public ConditionTypeSet getDeclaredConditions(NodeAddress timeline, boolean inherit) throws Scheherexception
Scheherexception
public ModifierTypeSet getDeclaredModifiers(NodeAddress timeline, boolean inherit) throws Scheherexception
Scheherexception
public NodeAddress findSettingNode(TimelineID timelineID) throws Scheherexception
Scheherexception
public NodeAddress findDeclaration(TimelineID timelineID) throws Scheherexception
Scheherexception
public NodeAddress findDeclaration(TimelineID timelineID, NarrativeID storyID) throws Scheherexception
Scheherexception
public StateTimeSet getAllStates(NodeAddress timeline) throws Scheherexception
Scheherexception
public void reassignTransition(NodeAddress timeline, TransitionTime oldTime, TransitionTime newTime) throws Scheherexception
Scheherexception
public boolean reassignTransitionsAroundState(NodeAddress timeline, StateTime currentState, StateTime newStateTime, boolean starting) throws Scheherexception
Scheherexception
public SCHArguments internSCHArguments(SCHArguments in) throws Scheherexception
Scheherexception
public SCHArguments uninternSCHArguments(SCHArguments in) throws Scheherexception
Scheherexception
public void reReferenceSCHArguments(SCHArguments in) throws Scheherexception
Scheherexception
public boolean inScopeOfTimeline(NodeAddress thisTimeline, TimelineID otherTimeline) throws Scheherexception
Scheherexception
public SCHPoint getInterpPositionFromNode(NodeAddress node, boolean getSourceSpanPosition) throws Scheherexception
Scheherexception
public InterpNodeID getInterpKeyFromNode(NodeAddress node) throws Scheherexception
Scheherexception
public java.lang.Boolean getNoInterpretationFromNode(NodeAddress node) throws Scheherexception
Scheherexception
public AssignedPredicate getAssignedPredicateFromNode(NodeAddress node) throws Scheherexception
Scheherexception
public AssignedPredicate getAssignedPredicateFromNode(NodeProxy assignedPredicateNode) throws Scheherexception
Scheherexception
public AssignedPredicate getAssignedPredicateFromAddress(NodeAddress timeline, AssignedPredicateAddress apa) throws Scheherexception
Scheherexception
public AssignedCondition getAssignedConditionFromNode(NodeProxy assignedConditionNode) throws Scheherexception
Scheherexception
public AssignedAction getAssignedActionFromNode(NodeProxy assignedActionNode) throws Scheherexception
Scheherexception
public void attachInterpPredicate(AssignedPredicate predicate, AssignedInterpNode interp) throws Scheherexception
Scheherexception
public void reattachInterpElement(NodeAddress timeline, InterpElement interp, AssignedInterpNode newParent) throws Scheherexception
Scheherexception
public InterpArcSet getAllLinkedInterpElements(NodeAddress timeline, InterpElement element, LinkDirection linkDirection) throws Scheherexception
Scheherexception
public InterpArcSet getLinkedInterpElements(NodeAddress timeline, InterpElement element, InterpretativeArcType arcType, LinkDirection linkDirection) throws Scheherexception
Scheherexception
public void linkInterpElements(NodeAddress timeline, InterpElement from, InterpretativeArcType arcType, InterpElement to) throws Scheherexception
Scheherexception
public AssignedInterpNodeSet getInterpLineage(NodeAddress timeline, InterpElement element) throws Scheherexception
Scheherexception
public NodeAddressSet getInterpLineage(InterpElement element) throws Scheherexception
Scheherexception
public InterpChainSet getChainsOfInterpNode(NodeAddress timeline, AssignedInterpNode node, boolean allowNestedHeads) throws Scheherexception
Scheherexception
public InterpChainLink getInterpChain(NodeAddress timeline, InterpretativeArcType incomingArcType, InterpElement element) throws Scheherexception
Scheherexception
public ActivationFrame getActivationFrame(NodeAddress timeline, AssignedAction action) throws Scheherexception
Scheherexception
public void propogateActivation(InterpElement interp, ActivationFrame frame, Activation change) throws Scheherexception
Scheherexception
public void unlinkInterpElements(NodeAddress timeline, InterpElement from, InterpretativeArcType arcType, InterpElement to) throws Scheherexception
Scheherexception
public void setNoInterpretation(AssignedPredicate ap, java.lang.Boolean noInterpretation) throws Scheherexception
Scheherexception
public AssignedModifier getAssignedModifierFromNode(NodeProxy assignedModifierNode) throws Scheherexception
Scheherexception
public AssignedPredicate normalizeAssignedPredicate(AssignedPredicate predicate) throws Scheherexception
Scheherexception
public SCHIntersection makeSeedIntersection(java.lang.Object object, SemanticRole role, NodeAddress timeline, NarrativeID storyID) throws Scheherexception
Scheherexception
public SCHIntersection makeSeedIntersection(AssignedPredicate predicate, SemanticRole role, NarrativeID storyID, NounName associatedName) throws Scheherexception
Scheherexception
public SCHIntersection makeSeedIntersection(ValidPredicate predicate, SemanticRole role, NarrativeID storyID, NounName associatedName) throws Scheherexception
Scheherexception
public SCHIntersection makeSeedIntersection(ValidPredicate predicate, SemanticRole role, NarrativeID storyID, NounName associatedName, boolean addContributor) throws Scheherexception
Scheherexception
public SCHIntersection intersect(SCHIntersection int1, SCHIntersection int2, boolean checkStoryOverlap) throws Scheherexception
Scheherexception
public SCHIntersection intersectPairwise(SCHIntersection pred1, SCHIntersection pred2) throws Scheherexception
Scheherexception
public NodeAddress findNodeIntersection(NodeAddress frame1, NodeAddress frame2) throws Scheherexception
Scheherexception
public int findHopsBetweenTypes(ScheherIDWithType from, ScheherIDWithType to) throws Scheherexception
Scheherexception
public void declareNounType(NodeAddress timeline, NounType nounType, StoryAssertion expansionParams, WordNetOffset offset, NounType superNoun, java.lang.String menuName, java.lang.String pluralForm, boolean proper, PropDiscreteness discreteness, CharacterGender gender) throws Scheherexception
nounType
- The name of the type of Noun.superType
- The name of the more general type of Noun of
which this Noun should be a type. For example, a "baseball" might
be a subtype of a "ball." For "root" nouns, those with no
supertypes, use the NounType.Universal. A NounType that has
a supertype can only be declared in the same timeline as its
supertype.maxInstances
- The maximum number of instances of the
noun that can exist. For nouns of unlimited supply, use
the reserved value of -1.
Scheherexception
public NounTypeSet getDeclaredNounTypes(NodeAddress timeline, boolean inherit, NounFlavor flavor) throws Scheherexception
Scheherexception
public StoryAssertion getNounParameters(NodeAddress timeline, NounType nounType) throws Scheherexception
Scheherexception
public ValidNoun makeValidNoun(NodeAddress timeline, NounType noun, SCHArguments arguments) throws Scheherexception
Scheherexception
public ValidNoun makeValidNoun(NodeAddress timeline, Noun noun) throws Scheherexception
Scheherexception
public NounName defineNoun(NodeAddress timeline, ValidNoun noun, NounName nounName) throws Scheherexception
Scheherexception
public NounNameSet getDefinedNouns(NodeAddress timeline, boolean inherit, NounFlavor flavor) throws Scheherexception
Scheherexception
public NounType findCompleteNounType(NodeAddress timeline, NounType nounType) throws Scheherexception
Scheherexception
public ValidNoun findNounDefinition(NodeAddress timeline, NounName noun) throws Scheherexception
Scheherexception
public NounName redefineNoun(NodeAddress timeline, NounName oldName, NounName newName, ValidNoun newDefinition) throws Scheherexception
Scheherexception
public void undefineNoun(NodeAddress timeline, NounName noun) throws Scheherexception
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |