|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.parameters.SCHParameter
story.scheherazade.parameters.StoryQueryParameter
story.scheherazade.parameters.BooleanReturnQueryParameter
story.scheherazade.parameters.ActionOccursParameter
public class ActionOccursParameter
An SCHParameter which makes sure that a previously matched AssignedAction takes place within some time range.
Constructor Summary | |
---|---|
ActionOccursParameter(VariableID action,
StateTime targetState)
Constructor for ensuring that an action occurs during a particular state. |
|
ActionOccursParameter(VariableID action,
TransitionTime targetTransition,
ActionTemporality temporality)
Constructor for ensuring that an action occurs during a particular transition. |
Method Summary | |
---|---|
SCHParameter |
makeCopy()
Make a copy of the Parameter at the level of the concretizing class |
SCHReferenceReqSet |
referenceRequirements()
Each concretizing class needs to provide a ReferenceReqSet of all the references which must be set prior to the parameter's evaluation. |
java.lang.StringBuffer |
specificRender()
Each concretizing class needs to provide a render function. |
Methods inherited from class story.scheherazade.parameters.SCHParameter |
---|
makeClone, render |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionOccursParameter(VariableID action, TransitionTime targetTransition, ActionTemporality temporality) throws Scheherexception
action
- The VariableID of the Action previously matched by AssignedActionParameter.targetTransition
- The transition in question.temporality
- Set MatchesExactly to only find actions that
happen precisely during the given transition. Set
EnclosedWithin to only find actions that begin and end within
the given span (or use StateTime.Unbounded to test "rays" of
time). Set OccursDuring to match all actions with a time span
that overlaps the given span by a non-zero length of time.
Scheherexception
public ActionOccursParameter(VariableID action, StateTime targetState) throws Scheherexception
action
- The VariableID of the Action previously matched by AssignedActionParameter.state
- The time of the state in question.
Scheherexception
Method Detail |
---|
public SCHReferenceReqSet referenceRequirements()
SCHParameter
referenceRequirements
in class SCHParameter
public java.lang.StringBuffer specificRender() throws Scheherexception
SCHParameter
specificRender
in class SCHParameter
Scheherexception
public SCHParameter makeCopy()
SCHParameter
makeCopy
in class SCHParameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |