ActionPattern - Class in cz.cuni.amis.pogamut.sposh.elements
actionPattern() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
action-pattern ::= AP NAME ( NIL | "("
| ) "(" ")"
actionPatternElements(ActionPattern, FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
process actions of the AP and add them into the passed ap.
ActionResult - Enum in cz.cuni.amis.pogamut.sposh.executor
The value returned by the primitive via
IWorkExecutor
that can modify the behavior of posh stack evaluation.
actions - Variable in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Map that maps primtive name to
IAction
.
AD - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
adapt() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
adapt ::= AD NAME [
] "(" "(" "(" ")"
add(int, FormalParameters.Parameter) - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
add(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Trigger
Add sense to this trigger and emit news about addition.
add(int, Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Trigger
Insert sense at specified index and owner will emit new child.
addAction(TriggeredAction) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Add new TriggeredAction as child of this AP.
addAction(int, TriggeredAction) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Add new @action as action of this AP, emit new child.
addAction(String, IAction) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Add new
IAction
with primitive name.
addAction(IAction) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Add primitive, use name from annotations.
addActionPattern(ActionPattern) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Add new AP to the lap plan (add, emit)
addAdopt(Adopt) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
addBehavior(JavaBehaviour) - Method in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
Take the behavior object, find its methods annotated with either
SPOSHAction
or
SPOSHSense
and add them as primitives this
work executor can process.
addCompetence(Competence) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Add competence node to the lap tree (add, emit)
addCondition(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
addDrive(DriveElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Add passed drive as the last drive of this DC and emit new it.
addDrive(int, DriveElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
addElement(CompetenceElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
Add passed element as the last element of this competence and emit.
addElement(int, CompetenceElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
Add choice as the @index element of all competences choices + emit.
addElementListener(PoshElementListener<T>) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Add new listener for events of this node.
addEscapes(String) - Static method in error cz.cuni.amis.pogamut.shady.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped)
equivalents in the given string
addEscapes(String) - Static method in error cz.cuni.amis.pogamut.sposh.elements.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped)
equivalents in the given string
addFormal(Arguments.Argument, FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments
addPrimitives(String[], Boolean) - Method in class cz.cuni.amis.pogamut.sposh.executor.PrintWorkExecutor
Add primitives to the map with specified return value.
addSense(String, ISense) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Add new
ISense
with primtive name.
addSense(ISense) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Add primitive, use name from annotations.
addTime(long) - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.DebugTimer
ADExecutor - Class in cz.cuni.amis.pogamut.sposh.engine
ADExecutor(PoshPlan, Adopt, VariableContext, Logger) - Constructor for class cz.cuni.amis.pogamut.sposh.engine.ADExecutor
adjustBeginLineColumn(int, int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
adjustBeginLineColumn(int, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
adName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Adopt
Property string of competence name
Adopt - Class in cz.cuni.amis.pogamut.sposh.elements
Adopt(String, FormalParameters, List<Sense>, PrimitiveCall) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Adopt
AP - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
apComment - Static variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Property name for comment
apName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Property name for name of this AP.
apParams - Static variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Property name for parameters of AP.
arg() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
args() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
ArgString - Class in cz.cuni.amis.pogamut.shady
Store the string value as an argument.
ArgString(String) - Constructor for class cz.cuni.amis.pogamut.shady.ArgString
Take the string and use it as the value of the argument.
Arguments - Class in cz.cuni.amis.pogamut.sposh.elements
Arguments() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Arguments
Create a new list of call parameters.
Arguments(Arguments) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Arguments
Copy constructor.
Arguments.Argument - Class in cz.cuni.amis.pogamut.sposh.elements
Arguments.Argument(String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
Create paramter with name.
Arguments.ValueArgument - Class in cz.cuni.amis.pogamut.sposh.elements
This parameter is static value, neverchanging.
Arguments.ValueArgument(int, Object) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Arguments.ValueArgument
Create a value parameter that represents fixed value.
Arguments.ValueArgument(String, Object) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Arguments.ValueArgument
Arguments.VariableArgument - Class in cz.cuni.amis.pogamut.sposh.elements
This parameter is dependant on value of some kind of variable.
Arguments.VariableArgument(int, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Arguments.VariableArgument
Arguments.VariableArgument(String, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Arguments.VariableArgument
New call parameter.
call() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
callParameter(int, boolean) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Parameter used when calling C/AP/sense/action
callParameter :: [ "=" ( | value() ) ]
callParametersList(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
callParametersList:: callParameter() ( "," callParameter() )* ")"
ceComment - Static variable in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
ceName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
ceRetries - Static variable in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
changeTo(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Take other sense and change all attributes in the sense to be same
as in other sense.
CHARACTER_LITERAL - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
childElementAdded(PARENT, PoshElement) - Method in interface cz.cuni.amis.pogamut.sposh.elements.PoshElementListener
Event handler will be notified that parent has added a new child among
its children.
childElementMoved(PARENT, PoshElement, int, int) - Method in interface cz.cuni.amis.pogamut.sposh.elements.PoshElementListener
Evenet handler will be notified that parent has moved a child.
childElementRemoved(PARENT, PoshElement, int) - Method in interface cz.cuni.amis.pogamut.sposh.elements.PoshElementListener
Event handler will be notified when parent has removed child.
clone() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
clone() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.ValueArgument
clone() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.VariableArgument
cnName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Competence
Property string of competence name
cnParams - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Competence
Property string of competence parameters
column - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
column - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
COMMA - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
COMMENT - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
compare(long, long) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Freq
Compare two frequenties.
compare(Freq, Freq) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Freq
compare(Object, Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
What is the comparison of operand1 and operand2?
compareTo(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Competence - Class in cz.cuni.amis.pogamut.sposh.elements
Competence is basically a named structure offering several
choices
.
competence() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
competence ::= C NAME ( NIL | "(" | ) ( NIL | "(" | ) "(" ELEMENTS ")" ")"
COMPETENCE - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
CompetenceElement - Class in cz.cuni.amis.pogamut.sposh.elements
CompetenceElement is basically one of choices of the competence.
CompetenceElement(String, List<Sense>, PrimitiveCall, int, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Create a choice.
competenceElement(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
competence-element ::= "(" NAME [ "(" ] NAME [ INTNUM ] ")"
competenceGoal(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
( NIL | "(" | ) "(" ELEMENTS
Part of competence() rule
competencePriorities(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
competence-priorities ::= +
competence-elements ::= "(" + ")"
=> competence-priorities ::= ( "(" + ")" )+.
containsVariable(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
Does this list of formal parameters contains variable with name
variableName?
Context <AGENT > - Class in cz.cuni.amis.pogamut.sposh.context
This is the "original" context from which all athers should be derived.
Context(String, AGENT) - Constructor for class cz.cuni.amis.pogamut.sposh.context.Context
Create new context.
create(String) - Static method in exception cz.cuni.amis.pogamut.sposh.exceptions.DuplicateNameException
create(String) - Static method in exception cz.cuni.amis.pogamut.sposh.exceptions.InvalidNameException
Create an exception about invalid name
create(PoshElement) - Static method in exception cz.cuni.amis.pogamut.sposh.exceptions.UnexpectedElementException
Create new unexpected element exception, caller got unexpected
PoshElement
.
createAction() - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create default action.
createAction(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create action with specified name.
createAction(PrimitiveCall) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create action for specified call.
createAction(TriggeredAction) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Copy method for an action.
createActionPattern(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new action pattern without parameters and no actions.
createActionPattern(String, TriggeredAction...) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new action pattern without parameters and containing passed
actions.
createActionPattern(String, FormalParameters) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create empty action pattern with specified name and parameters, but
without any actions in it.
createActionPattern(String, FormalParameters, List<TriggeredAction>) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create action pattern
createActionPattern(ActionPattern) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create an AP with same structure as passed ap (only structure, no
listeners or shared objects).
createCompetence(String, String...) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create a new competence with multiple choices.
createCompetence(Competence) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create a C with same structure as passed c (only structure, no listeners
or shared objects).
createCompetenceElement(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new competence element with no trigger sense and default action.
createCompetenceElement(String, List<Sense>, String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
createDriveCollection() - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create empty drive collection without trigger senses and drives, with
blank name.
createDriveCollection(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create empty (i.e.
createDriveElement(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new drive with default trigger and action.
createDriveElement(DriveElement) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
createDriveElement(String, List<Sense>, PrimitiveCall, Freq, String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new drive element
createDriveElementNoTriggers(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new drive with specified name and empty list of triggers and
default action.
createFromName(String) - Static method in exception cz.cuni.amis.pogamut.sposh.exceptions.CycleException
Create a new exception that specifies which name caused the cycle.
createPlan(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new plan with DC
createSense(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new sense.
createSense(Sense) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create a copy of sense (only structure, no listeners or shared objects)
ctx - Variable in class cz.cuni.amis.pogamut.sposh.executor.StateAction
Context for the action
ctx - Variable in class cz.cuni.amis.pogamut.sposh.executor.StateSense
Context for the action
curChar - Variable in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
curChar - Variable in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
currentActionName - Variable in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Primitive that is currently being executed.
currentToken - Variable in exception cz.cuni.amis.pogamut.shady.ParseException
This is the last token that has been consumed successfully.
currentToken - Variable in exception cz.cuni.amis.pogamut.sposh.elements.ParseException
This is the last token that has been consumed successfully.
cutDownToExcluding(ElementExecutor) - Method in class cz.cuni.amis.pogamut.sposh.engine.ElementStackTrace
Pops all elements until 'executor' is encountered.
cutDownToIncluding(ElementExecutor) - Method in class cz.cuni.amis.pogamut.sposh.engine.ElementStackTrace
Pops all elements until 'executor' is encountered.
CycleException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
When there is a cycle in the posh tree, this exception should be thrown.
CycleException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.CycleException
cz.cuni.amis.pogamut.shady - package cz.cuni.amis.pogamut.shady
Fuzzy/Shady (name subject to change)
=====
Shady is a new engine using if-then rules.
cz.cuni.amis.pogamut.shady.engine - package cz.cuni.amis.pogamut.shady.engine
cz.cuni.amis.pogamut.sposh - package cz.cuni.amis.pogamut.sposh
cz.cuni.amis.pogamut.sposh.context - package cz.cuni.amis.pogamut.sposh.context
cz.cuni.amis.pogamut.sposh.elements - package cz.cuni.amis.pogamut.sposh.elements
This package contains parser for POSH plan, classes that represent
elements of POSH plan and some auxiliry classes.
cz.cuni.amis.pogamut.sposh.engine - package cz.cuni.amis.pogamut.sposh.engine
cz.cuni.amis.pogamut.sposh.engine.timer - package cz.cuni.amis.pogamut.sposh.engine.timer
cz.cuni.amis.pogamut.sposh.exceptions - package cz.cuni.amis.pogamut.sposh.exceptions
cz.cuni.amis.pogamut.sposh.executor - package cz.cuni.amis.pogamut.sposh.executor
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Data flavor of AP for drag and drop.
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Adopt
Data flavor of adopt class, used for drag-and-drop
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Competence
Data flavor of competence classs, used for drag-and-drop
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Data flavor of competence element, used for drag and drop.
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Data flavor of DC, used for drag and drop
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Data flavor of drive, used in drag-and-drop
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Data flavor of posh plan(for drag-and-drop), not used anywhere, but
required by interface.
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Sense
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
DC - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
dcName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Property name for change of name.
debugStream - Variable in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Debug output.
debugStream - Variable in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Debug output.
DebugTimer - Class in cz.cuni.amis.pogamut.sposh.engine.timer
Timer what allows me to skip forward in time or suspend time for a while.
DebugTimer() - Constructor for class cz.cuni.amis.pogamut.sposh.engine.timer.DebugTimer
DECIMAL_LITERAL - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
DEFAULT - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
Lexical state.
DEFAULT - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
Lexical state.
DEFAULT_ACTION - Static variable in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Name of action that will be used unless user specifies a name of action
that should be used.
DEFAULT_DRIVE_COLLECTION_NAME - Static variable in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
DEFAULT_TRIGGER_SENSE - Static variable in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Name of trigger that will be used unless user specifies some other
trigger in the arguments.
deName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Property name for name of a drive
disable_tracing() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Disable tracing.
disable_tracing() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Disable tracing.
docString(PoshPlan) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
docstring ::= DOCUMENTATION COMMENT COMMENT COMMENT ")"
DOCUMENTATION - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
Done() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reset buffer when finished.
Done() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reset buffer when finished.
done(VariableContext) - Method in interface cz.cuni.amis.pogamut.sposh.executor.IAction
This action is done, according to posh plan, some other
IAction
is
supposed to execute, therefore use this to clean up the mess.
done(VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.ParamsAction
doNothing() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Standard action that has to be implemented everywhere.
DriveCollection - Class in cz.cuni.amis.pogamut.sposh.elements
This is root of POSH plan in execution sense.
driveCollection(DriveCollection) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Take passed drive collection and put the data (name, drives) into it.
driveCollectionGoal(DriveCollection, FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Process goal of DC (if exists).
DriveElement - Class in cz.cuni.amis.pogamut.sposh.elements
Drive element (very informative, I know).
driveElement(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Create a drive and return it.
driveElementActionFreq(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Nonterminal for possible arguments of the action call of the drive action and
the frequency.
driveElementFreq() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Get specified frequency.
driveElementTrigger(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Read trigger (list of senses) and return it.
DRIVES - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
DuplicateNameException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
Thrown when trying to add element into the posh tree, but the tree already
contains element with the same name.
DuplicateNameException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.DuplicateNameException
element() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
ELEMENTS - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
ElementStackTrace - Class in cz.cuni.amis.pogamut.sposh.engine
Callstack used for storing info what was call hiearchy of elements.
ElementStackTrace() - Constructor for class cz.cuni.amis.pogamut.sposh.engine.ElementStackTrace
emitChildDeleted(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Tell all listeners that a child of this element has been deleted.
emitChildMove(PoshElement, int, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Notify all listeners (associated Widgets) that one child of this node has
changed order(position).
emitChildNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Notify all listeners (mostly associated Widgets) that this dataNode has a
new child.
enable_tracing() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Enable tracing.
enable_tracing() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Enable tracing.
endColumn - Variable in class cz.cuni.amis.pogamut.shady.Token
The column number of the last character of this Token.
endColumn - Variable in class cz.cuni.amis.pogamut.sposh.elements.Token
The column number of the last character of this Token.
endLine - Variable in class cz.cuni.amis.pogamut.shady.Token
The line number of the last character of this Token.
endLine - Variable in class cz.cuni.amis.pogamut.sposh.elements.Token
The line number of the last character of this Token.
EOF - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
End of File.
EOF - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
End of File.
eol - Variable in exception cz.cuni.amis.pogamut.shady.ParseException
The end of line string for this machine.
eol - Variable in exception cz.cuni.amis.pogamut.sposh.elements.ParseException
The end of line string for this machine.
EQ - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
equal(Object, Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
Are two operands equal? Comparison is based on rules outlines in
http://docs.python.org/reference/expressions.html#notin
EQUAL_SIGN - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
ERROR_CHARS - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
evaluate() - Method in class cz.cuni.amis.pogamut.shady.engine.ShadeEngine
Take the plan evaluate it and run the target primitive.
evaluatePlan(IWorkExecutor) - Method in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
execute(IWorkExecutor) - Method in interface cz.cuni.amis.pogamut.shady.IQuery
Execute query and return number.
execute(IWorkExecutor) - Method in class cz.cuni.amis.pogamut.shady.QueryCall
Execute the primitive with name and proper arguments and return value.
executeAction(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
executeAction(String, VariableContext) - Method in interface cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor
Execute action and get the result.
executeAction(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.PrintWorkExecutor
executeAction(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
executeCall(NodeCall) - Method in class cz.cuni.amis.pogamut.shady.engine.ShadeEngine
executeSense(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
executeSense(String, VariableContext) - Method in interface cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor
Execute sense and get the result.
executeSense(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.PrintWorkExecutor
executeSense(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
ExpandBuff(boolean) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
ExpandBuff(boolean) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
expectedTokenSequences - Variable in exception cz.cuni.amis.pogamut.shady.ParseException
Each entry in this array is an array of integers.
expectedTokenSequences - Variable in exception cz.cuni.amis.pogamut.sposh.elements.ParseException
Each entry in this array is an array of integers.
EXPONENT - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
GE - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
generateParseException() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Generate ParseException.
generateParseException() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Generate ParseException.
get(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments
get(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
get(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.Trigger
Get sense stored at indexed position in the trigger.
getAction() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Get action of this choice.
getAction() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Get action of this drive (will be performed if elegible, has satisfied
trigger and highest priority).
getActionCall() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
getActionPatterns() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get list of all APs in the plan.
getActions() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Get list of actions in this AP.
getActions() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get all actions in this plan.
getActions() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Returns list of actions that are declared in the behaviour class.
getActionsNames() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get all action names in the plan, i.e.
getAD(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Returns adopt from the plan with specified name.
getAdoptedElement() - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
getAdoptedElement() - Method in class cz.cuni.amis.pogamut.sposh.engine.ADExecutor
getAdopts() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get list of all ADs in the plan.
getAllReferences() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
getAmmount() - Method in class cz.cuni.amis.pogamut.sposh.elements.Freq
getAP(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Return action pattern from the plan with specified name.
getArgs() - Method in class cz.cuni.amis.pogamut.shady.NodeCall
Get unmodifiable list of arguments.
getArgs() - Method in class cz.cuni.amis.pogamut.shady.QueryCall
Get arguments passed to the called entity
getArguments() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
Get arguments of this action.
getAuthor() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get author of the plan, optional.
getBeginColumn() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Get token beginning column number.
getBeginColumn() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Get token beginning column number.
getBeginLine() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Get token beginning line number.
getBeginLine() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Get token beginning line number.
getBoolean(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
Get boolean value from
Boolean
class.
getBot() - Method in class cz.cuni.amis.pogamut.sposh.context.Context
getBot() - Method in interface cz.cuni.amis.pogamut.sposh.context.IContext
Get bot for this context.
getBot() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Returns underlying AGENT instance.
getC(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Return competence from this plan with specified name.
getCall() - Method in class cz.cuni.amis.pogamut.shady.NodeElement
Get node call, that is either another node or action executed
by
IWorkExecutor
.
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Get all child nodes of the DC.
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Get list of children of this node.
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
getColumn() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Deprecated.
getColumn() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Deprecated.
getComment() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Deprecated.
Not supported in the editor.
getComment() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Deprecated.
Not supported in editor
getCompetences() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get list of all competences.
getCount() - Method in class cz.cuni.amis.pogamut.sposh.elements.SolTime
getCtx() - Method in class cz.cuni.amis.pogamut.sposh.executor.StateAction
Get shared context of all primitives.
getCtx() - Method in class cz.cuni.amis.pogamut.sposh.executor.StateSense
The state sense context.
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Get data flavour of posh plan element,used during DnD from palette to
PoshScene.
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
getDefaultValue() - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters.Parameter
getDriveCollection() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get drive collection of this plan.
getDrives() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Get list of all drives of this DC in correct order (drive with higest
priority is first, drive with lowest priority is last).
getElementListeners() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Get list of listeners that listen for changes of this node (new child,
node deletion, childMoved and change of properties)
getElements() - Method in class cz.cuni.amis.pogamut.shady.ShadeNode
Get list of all elements of this node.
getEndColumn() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Get token end column number.
getEndColumn() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Get token end column number.
getEndLine() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Get token end line number.
getEndLine() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Get token end line number.
getExitCondition() - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
getExitCondition() - Method in class cz.cuni.amis.pogamut.sposh.engine.ADExecutor
getFreq() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Deprecated.
Part of original posh, not supported in editor.
getGoal() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Get goal of the DC.
getId() - Method in enum cz.cuni.amis.pogamut.sposh.elements.Freq.FreqUnits
getId() - Method in enum cz.cuni.amis.pogamut.sposh.elements.Sense.Predicate
Get integer id of predicate.
getId() - Method in enum cz.cuni.amis.pogamut.sposh.elements.SolTime.TimeUnits
GetImage() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Get token literal value.
GetImage() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Get token literal value.
getInfo() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get info about this plan.
getKeys() - Method in class cz.cuni.amis.pogamut.sposh.engine.VariableContext
Get keys of all variables in this context.
getLine() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Deprecated.
getLine() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Deprecated.
getLog() - Method in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
getLogger() - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
getMessage() - Method in error cz.cuni.amis.pogamut.shady.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in error cz.cuni.amis.pogamut.sposh.elements.TokenMgrError
You can also modify the body of this method to customize your error messages.
getName() - Method in class cz.cuni.amis.pogamut.shady.NodeCall
Get name of the target
getName() - Method in class cz.cuni.amis.pogamut.shady.QueryCall
Get name of called entity
getName() - Method in class cz.cuni.amis.pogamut.shady.ShadeNode
Get identifier of the node.
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Get name of AP.
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
Get name of the competence
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Get name of the DC
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters.Parameter
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.NamedLapElement
Get name of the element.
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get name of the plan.
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.PrimitiveCall
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
getName() - Method in class cz.cuni.amis.pogamut.sposh.executor.StateAction
Get name of the action.
getName() - Method in class cz.cuni.amis.pogamut.sposh.executor.StateSense
Get name of the sense.
getName() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Get name of the behaviour specified in the constructor.
getNextElement() - Method in class cz.cuni.amis.pogamut.sposh.engine.FireResult
getNextToken() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Get the next Token.
getNextToken() - Method in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Get the next Token.
getNextToken() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Get the next Token.
getNextToken() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Get the next Token.
getNumber(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
getNumberOfChildInstances(Class) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Get number of children of this node that have same class as parameter.
getNumerical(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
Get numerical representation for object derived from class
Number
and from
Boolean
(true = 1, false = 0)
getOperand() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Get operand that should be used for evaluating this sense.
getParameterName() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
getParameterName() - Method in exception cz.cuni.amis.pogamut.sposh.exceptions.MissingParameterException
getParameters() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Get formal parametrs of this AP.
getParameters() - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
getParameters() - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
Get list of formal parametrs of competence (names and default values).
getParameters() - Method in class cz.cuni.amis.pogamut.sposh.elements.PrimitiveCall
getParameterVariable() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
Is value of this parameter retrieved from variable or value?
getParameterVariable() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.ValueArgument
getParameterVariable() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.VariableArgument
getParent() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Get parent of the node.
getPlan() - Method in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
Get plan of this engine (serialize the parsed plane and return it).
getPoshPlan() - Method in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
Convert posh tree into posh plan (textual representation) and return it.
getPredicate() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
getPredicate(String) - Static method in enum cz.cuni.amis.pogamut.sposh.elements.Sense.Predicate
Get Predicate enum from passed string
getPredicateIndex() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
getPriority() - Method in class cz.cuni.amis.pogamut.shady.NodeElement
Get query that can be used to determine priority of this element.
getRepresentation() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Get human readable representation of this sense.
getRepresentation(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Get string representation of the sense, i.e.
getRetries() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Deprecated.
Remnants of original posh,
getRoot() - Method in class cz.cuni.amis.pogamut.shady.ShadeTree
Find root of the plan.
getRootNode() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Get root node of POSH plan this node belongs to.
getSelectedElement(ShadeNode) - Method in class cz.cuni.amis.pogamut.shady.engine.ShadeEngine
Take the node and find which of its elements should be selected
according to highest priority and enabled trigger.
getSenseCall() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Get param
getSenseName() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
getSenses() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Returns list of senses that are declared in the behaviour class.
getSensesNames() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get all sense names in the plan, i.e.
getState() - Method in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
Return serialized state of the engine.
GetSuffix(int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Get the suffix.
GetSuffix(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Get the suffix.
getTabSize(int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
getTabSize(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
getTime() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.DebugTimer
getTime() - Method in interface cz.cuni.amis.pogamut.sposh.engine.timer.ITimer
getTime() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.SystemClockTimer
getToken(int) - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Get the specific Token.
getToken(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Get the specific Token.
getTrigger() - Method in class cz.cuni.amis.pogamut.shady.NodeElement
Get query that can be used to determine if this element is eligible
for execution (i.e.
getTrigger() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Get trigger of this choice.
getTrigger() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Get trigger of this drive.
getTrigger() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
getTriggerResult() - Method in class cz.cuni.amis.pogamut.sposh.engine.ADExecutor
getType() - Method in class cz.cuni.amis.pogamut.sposh.engine.FireResult
getUnits() - Method in class cz.cuni.amis.pogamut.sposh.elements.Freq
getUnits() - Method in class cz.cuni.amis.pogamut.sposh.elements.SolTime
getUnusedName(String, List<? extends NamedLapElement>) - Static method in class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement
Get valid name for new element, but name can't be same as any name used
by passed elements.
getValue() - Method in interface cz.cuni.amis.pogamut.shady.IArgument
getValue() - Method in class cz.cuni.amis.pogamut.shady.Token
An optional attribute value of the Token.
getValue() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
Retrieve value of parameter.
getValue() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.ValueArgument
getValue() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.VariableArgument
getValue() - Method in class cz.cuni.amis.pogamut.sposh.elements.Token
An optional attribute value of the Token.
getValue(String) - Method in class cz.cuni.amis.pogamut.sposh.engine.VariableContext
Get value stored in the
getValueString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Used in Node.Properties
XXX: Do more properly with custom editor
goal(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Process goal sense and return them.
GOAL - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
GT - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
IAction - Interface in cz.cuni.amis.pogamut.sposh.executor
IArgument <T > - Interface in cz.cuni.amis.pogamut.shady
Interface that unified various arguments used when shade is calling
the primitive.
IContext <AGENT > - Interface in cz.cuni.amis.pogamut.sposh.context
IDENT_PATTERN - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement
Regular pattern, only text that matches this pattern can be a name of the
POSH element.
IDENTIFIER - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
ILogicWorkExecutor - Interface in cz.cuni.amis.pogamut.sposh.executor
Deprecated.
This is a wrong place for these methods, SposhLogicController
has templated IWorkExecutor
and methods logicBeforePlan
and logicBeforePlan. This is no longer automatically executed by LogicController anymore. You must do it yourself.
image - Variable in class cz.cuni.amis.pogamut.shady.Token
The string image of the token.
image - Variable in class cz.cuni.amis.pogamut.sposh.elements.Token
The string image of the token.
inBuf - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
inBuf - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
INFINITE - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Freq
Infinite frequency.
INFINITE_RETRIES - Static variable in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Special value for infinite number of retries.
init() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.DebugTimer
init() - Method in interface cz.cuni.amis.pogamut.sposh.engine.timer.ITimer
Initialize timer, e.g.
init() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.SystemClockTimer
init(VariableContext) - Method in interface cz.cuni.amis.pogamut.sposh.executor.IAction
Initialize action.
init(VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.ParamsAction
input_stream - Variable in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
input_stream - Variable in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
inputStream - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
inputStream - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
InvalidFormatException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
This exception is thrown when string passed to the method is not in the
expected format.
InvalidFormatException(String, Throwable) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.InvalidFormatException
InvalidFormatException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.InvalidFormatException
InvalidNameException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
Thrown when name in the lap plan is not valid (example: it includes
whitespaces).
InvalidNameException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.InvalidNameException
IQuery - Interface in cz.cuni.amis.pogamut.shady
isAction(String) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Is there an action with the name.
isAD(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Does this plan contain AD with specified name?
isAP(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Does this plan contain AP with specified name?
isBoolean(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
Is value instance of
Boolean
class?
isC(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Does the plan contains
Competence
with specified name?
isChildOfParent() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Is this element present as a a child in its parent? If element has no
parent, return false.
isCycled() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Is some element (AP/C) of the lap plan cycled? Doesn't even have to be
attached to the drive.
ISense <RETURN > - Interface in cz.cuni.amis.pogamut.sposh.executor
Interface for sense in state paradigma.
isExit(IWorkExecutor) - Method in class cz.cuni.amis.pogamut.sposh.engine.ADExecutor
isFalse(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
Is the value false?
null is false
Boolean false is false
Number 0 is false
Arrays of size 0 is false,
otherwise value is true
isNameUsed(String) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Is name used in some primtive in this the work executor.
isNumber(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
isNumerical(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
Is value numerical(either number or boolean)?
isSense(String) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Is there a sense with the name.
isSuspended() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.DebugTimer
isSuspended() - Method in interface cz.cuni.amis.pogamut.sposh.engine.timer.ITimer
Is the timer suspended?
isSuspended() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.SystemClockTimer
isTrue(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
isUniqueAPorComp(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Check if passed string is different than names of all competences and
action patterns.
isUsedName(String, List<? extends NamedLapElement>) - Static method in class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement
Is passed name used by one of elements?
ITimer - Interface in cz.cuni.amis.pogamut.sposh.engine.timer
Timer used for things like frequency checking of sposh plans.
IWorkExecutor - Interface in cz.cuni.amis.pogamut.sposh.executor
Interface that is used by posh engine to execute primitives.
Param - Annotation Type in cz.cuni.amis.pogamut.sposh.executor
Specified the name of a variable from the
VariableContext
that will
be mapped the parameter with the annotation.
parameters() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Declare parameters in C or AP.
params - Variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Formal parameters of this AP.
ParamsAction <CONTEXT extends Context > - Class in cz.cuni.amis.pogamut.sposh.executor
Base class for
actions
that have parameters passed to them
using the reflection API.
ParamsAction(CONTEXT) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.ParamsAction
ParamsSense <CONTEXT extends Context ,RETURN > - Class in cz.cuni.amis.pogamut.sposh.executor
Create new parametrized
sense
using reflection.
ParamsSense(CONTEXT, Class<RETURN>) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.ParamsSense
Create new parametrized sense.
ParseException - Exception in cz.cuni.amis.pogamut.shady
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception cz.cuni.amis.pogamut.shady.ParseException
This constructor is used by the method "generateParseException"
in the generated parser.
ParseException() - Constructor for exception cz.cuni.amis.pogamut.shady.ParseException
The following constructors are for use by you for whatever
purpose you can think of.
ParseException(String) - Constructor for exception cz.cuni.amis.pogamut.shady.ParseException
Constructor with message.
ParseException - Exception in cz.cuni.amis.pogamut.sposh.elements
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception cz.cuni.amis.pogamut.sposh.elements.ParseException
This constructor is used by the method "generateParseException"
in the generated parser.
ParseException() - Constructor for exception cz.cuni.amis.pogamut.sposh.elements.ParseException
The following constructors are for use by you for whatever
purpose you can think of.
ParseException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.elements.ParseException
Constructor with message.
parsePlan() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
FIXME: According to official grammar, plan can consists only from single
competence or action pattern.
parseSense(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
TODO: Correctly document, changed in hurry.
parseStringCharacter(StringBuilder) - Static method in class cz.cuni.amis.pogamut.shady.ArgString
Extract the StringCharacter from the sb and return it.
parseStringLiteral(String) - Static method in class cz.cuni.amis.pogamut.shady.ArgString
Take the escaped string, parse it and return the unescaped value.
parseValue(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
Parse string from posh plan and convert it to object.
PART_LETTER - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
peek() - Method in class cz.cuni.amis.pogamut.sposh.engine.ElementStackTrace
plan() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
plan - Variable in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
planFirstElement(PoshPlan) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
[ "(" ]
Part of plan rule.
planFirstHalf(PoshPlan) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
First half of plan rule.
planSecondHalf(PoshPlan) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
( "("
| )*
Part of plan() rule
planSecondHalfElements(PoshPlan) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
(
| ) planSecondHalf(plan)
PM - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
pop() - Method in class cz.cuni.amis.pogamut.sposh.engine.ElementStackTrace
PoshDummyElement <THIS extends PoshElement ,PARENT extends PoshElement > - Class in cz.cuni.amis.pogamut.sposh.elements
This is class used as intermediate class between PoshElement and DataNodes of
POSH elements.
PoshDummyElement() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement
PoshElement <T extends PoshElement ,PARENT extends PoshElement > - Class in cz.cuni.amis.pogamut.sposh.elements
Ancestor of representative of one element in Posh plan.
PoshElement() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshElement
PoshElementListener <PARENT extends PoshElement > - Interface in cz.cuni.amis.pogamut.sposh.elements
Mainly for widgets.
PoshEngine - Class in cz.cuni.amis.pogamut.sposh.engine
This class is responsible for executing the valid posh plan.
PoshEngine(PoshPlan) - Constructor for class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
PoshEngine(PoshPlan, ITimer) - Constructor for class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
PoshEngine(PoshPlan, ITimer, Logger) - Constructor for class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
PoshEngine.EvaluationResult - Enum in cz.cuni.amis.pogamut.sposh.engine
PoshEngine.EvaluationResultInfo - Class in cz.cuni.amis.pogamut.sposh.engine
PoshEngine.EvaluationResultInfo(PoshEngine.EvaluationResult, FireResult.Type) - Constructor for class cz.cuni.amis.pogamut.sposh.engine.PoshEngine.EvaluationResultInfo
PoshParser - Class in cz.cuni.amis.pogamut.sposh.elements
PoshParser(InputStream) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Constructor with InputStream.
PoshParser(InputStream, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Constructor with InputStream and supplied encoding
PoshParser(Reader) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Constructor.
PoshParser(PoshParserTokenManager) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Constructor with generated Token Manager.
PoshParserConstants - Interface in cz.cuni.amis.pogamut.sposh.elements
Token literal values and constants.
PoshParserTokenManager - Class in cz.cuni.amis.pogamut.sposh.elements
Token Manager.
PoshParserTokenManager(SimpleCharStream) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Constructor.
PoshParserTokenManager(SimpleCharStream, int) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Constructor.
PoshPlan - Class in cz.cuni.amis.pogamut.sposh.elements
PoshTreeEvent - Enum in cz.cuni.amis.pogamut.sposh
Enum for events that can change the POSH plan.
PREDICATE - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
prevCharIsCR - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
prevCharIsCR - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
prevCharIsLF - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
prevCharIsLF - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
PrimitiveCall - Class in cz.cuni.amis.pogamut.sposh.elements
This class specifies call to some primitive (either sense or action).
PrimitiveCall(String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PrimitiveCall
This is a sensecall without parameters
PrimitiveCall(PrimitiveCall) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PrimitiveCall
Copy constructor.
PrimitiveCall(String, Arguments) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PrimitiveCall
PrimitiveInfo - Annotation Type in cz.cuni.amis.pogamut.sposh.executor
Optional, use this annotation for the some implementation of
ISense
and
IAction
, this annotation specifies the name and description of primitive.
primitives - Variable in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
Map that maps name of primitives into behavior methods.
printStackTrace() - Method in class cz.cuni.amis.pogamut.sposh.engine.ElementStackTrace
PrintWorkExecutor - Class in cz.cuni.amis.pogamut.sposh.executor
Very simple executor for plans that will print name of primitive, that is supposed
to execute, to specified stream.
PrintWorkExecutor(String[], String[], PrintStream) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.PrintWorkExecutor
Create worker that will print name of primitives into specified stream.
PrintWorkExecutor(String[], String[]) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.PrintWorkExecutor
Create worker that will print name of primitives into
System.out
.
priority() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
PROP_AUTHOR - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
PROP_INFO - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
PROP_NAME - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
psArgs - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Sense
psPredicateIndex - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Sense
psSenseName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Sense
psType - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Sense
psValue - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Sense
push(StackElement) - Method in class cz.cuni.amis.pogamut.sposh.engine.ElementStackTrace
put(String, Object) - Method in class cz.cuni.amis.pogamut.sposh.engine.VariableContext
Put another variable into this context
SECONDS - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
selectCall(ShadeNode) - Method in class cz.cuni.amis.pogamut.shady.engine.ShadeEngine
Go throught the node tree and find the leaf (NodeElement) that
doesn't call another {@link ShadeNode node} and return the call of
the leaf.
Sense - Class in cz.cuni.amis.pogamut.sposh.elements
Sense is basically a function in Python or Java.
Sense(String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Sense
Create sense that will evaluate true based on result of called primitive.
Sense(PrimitiveCall) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Sense
Create sense that will evaluate based on result of called primitive
some parameters
Sense(PrimitiveCall, Object, Sense.Predicate) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Sense
Sense.Predicate - Enum in cz.cuni.amis.pogamut.sposh.elements
Various predicates used in Sense
senseCall(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
SenseCall
sense:: [ "(" callParametersList() ]
sensePredicate(SenseComponents) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
predicate ::= PREDICATE
senses(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Get senses (if there are any) and return them.
senses - Variable in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Map that maps primitive name to its respective
ISense
.
sensesList(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
( NAME | )+
Part of sense() rule.
sensesListElement(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
NAME |
Part of sensesList() rule
XXX: I am using in first case, so it is impossible to have (sense1(sense2)) vs (sense1(simple_string))
because the calling vars are not compulsory, yet
senseValue(SenseComponents) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
value ::= NUMINT | NUMFLOAT | NAME | STRINGVALUE | NIL
Part of full-sense parsing.
set(int, FormalParameters.Parameter) - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
setActionName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
Set name of the action.
setAdoptedElement(TriggeredAction) - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
setAmmount(double) - Method in class cz.cuni.amis.pogamut.sposh.elements.Freq
setArguments(Arguments) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
setArguments(Arguments) - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
Action basically consists from
setAuthor(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Set new author of the plan.
setComment(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Deprecated.
Not used in the editor
setCount(double) - Method in class cz.cuni.amis.pogamut.sposh.elements.SolTime
setDebugStream(PrintStream) - Method in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Set debug output.
setDebugStream(PrintStream) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Set debug output.
setDefaultValue(Object) - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters.Parameter
Set the default value of parameter to the passed object.
setDriveName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Set name of the drive to new name.
setInfo(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Set informations about the plan.
setName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Set name of AP.
setName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
setName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
Change name of competence node.
setName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Set name of this choice.
setName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Change name of the DC and notify property listeners.
setName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Name of the plan, from docnode, optional.
setOperand(Object) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Set value of argument (as class, e.g.
setParameters(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Change parameters of the AP.
setParameters(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.Adopt
setParameters(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
setParent(PARENT) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Set parent
PoshElement
of the node.
setPredicate(Sense.Predicate) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Set the predicate in the sense.
setPredicateIndex(Integer) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Set predicate, use index to array Predicate.values()[index]
setRetries(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Deprecated.
Not used in the editor
setSenseName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Set new sense name if new name matches IDENT_PATTERN , name will be trimmed.
setTabSize(int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
setTabSize(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
setUnits(Freq.FreqUnits) - Method in class cz.cuni.amis.pogamut.sposh.elements.Freq
setUnits(SolTime.TimeUnits) - Method in class cz.cuni.amis.pogamut.sposh.elements.SolTime
ShadeEngine <EXECUTOR extends IWorkExecutor > - Class in cz.cuni.amis.pogamut.shady.engine
This class is taking a shade plan (already parsed in form of
ShadeTree
and executing it using supplied
IWorkExecutor
.
ShadeEngine(ShadeTree, EXECUTOR) - Constructor for class cz.cuni.amis.pogamut.shady.engine.ShadeEngine
Create new engine with set plan and executor.
ShadeNode - Class in cz.cuni.amis.pogamut.shady
Representation of one node in the if-then tree.
ShadeTree - Class in cz.cuni.amis.pogamut.shady
This class contains all nodes of one shade plan.
ShadyParser - Class in cz.cuni.amis.pogamut.shady
ShadyParser(InputStream) - Constructor for class cz.cuni.amis.pogamut.shady.ShadyParser
Constructor with InputStream.
ShadyParser(InputStream, String) - Constructor for class cz.cuni.amis.pogamut.shady.ShadyParser
Constructor with InputStream and supplied encoding
ShadyParser(Reader) - Constructor for class cz.cuni.amis.pogamut.shady.ShadyParser
Constructor.
ShadyParser(ShadyParserTokenManager) - Constructor for class cz.cuni.amis.pogamut.shady.ShadyParser
Constructor with generated Token Manager.
ShadyParserConstants - Interface in cz.cuni.amis.pogamut.shady
Token literal values and constants.
ShadyParserTokenManager - Class in cz.cuni.amis.pogamut.shady
Token Manager.
ShadyParserTokenManager(SimpleCharStream) - Constructor for class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Constructor.
ShadyParserTokenManager(SimpleCharStream, int) - Constructor for class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Constructor.
SimpleCharStream - Class in cz.cuni.amis.pogamut.shady
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class cz.cuni.amis.pogamut.shady.SimpleCharStream
Constructor.
SimpleCharStream - Class in cz.cuni.amis.pogamut.sposh.elements
An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Constructor.
SINGLE_LINE_COMMENT - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
size() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments
size() - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
size() - Method in class cz.cuni.amis.pogamut.sposh.elements.Trigger
How many senses are there in the trigger
size() - Method in class cz.cuni.amis.pogamut.sposh.engine.VariableContext
SolTime - Class in cz.cuni.amis.pogamut.sposh.elements
It is more or less time and units of time.
SolTime() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.SolTime
Create a default time "0 none"
SolTime.TimeUnits - Enum in cz.cuni.amis.pogamut.sposh.elements
specialToken - Variable in class cz.cuni.amis.pogamut.shady.Token
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
specialToken - Variable in class cz.cuni.amis.pogamut.sposh.elements.Token
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
SPOSHAction - Annotation Type in cz.cuni.amis.pogamut.sposh
Marker that will annotate actions that should be made available for SPOSH engine
in the
behaviour
class.
SPOSHSense - Annotation Type in cz.cuni.amis.pogamut.sposh
Marker that will annotate senses that should be made available for SPOSH engine
in the
behaviour
class.
StateAction <CONTEXT extends Context > - Class in cz.cuni.amis.pogamut.sposh.executor
Basic state action primitive.
StateAction(String, CONTEXT) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.StateAction
Create new state action.
StateAction(CONTEXT) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.StateAction
Create new state action.
StateInstantiationException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
During automatic instantiation of state primitives, there can happen multiple
exceptions that I can't bubble up nor ignore (e.g.
StateInstantiationException(String, Exception) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.StateInstantiationException
StateInstantiationException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.StateInstantiationException
StateSense <CONTEXT extends Context ,RETURN > - Class in cz.cuni.amis.pogamut.sposh.executor
Basic state sense primitive.
StateSense(String, CONTEXT) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.StateSense
Create new sense with context.
StateSense(CONTEXT) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.StateSense
Create new sense with context.
StateWorkExecutor - Class in cz.cuni.amis.pogamut.sposh.executor
This class is an
IWorkExecutor
, that considers actions to be have state,
in this executor, primitive is working in phases INIT, RUN*, DONE.
StateWorkExecutor() - Constructor for class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
StateWorkExecutor(Logger) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
staticFlag - Static variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Whether parser is static.
staticFlag - Static variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Whether parser is static.
STRING_LITERAL - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
STRINGVALUE - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
succeed() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Standard sense that has to be implemented everywhere.
suspend() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.DebugTimer
suspend() - Method in interface cz.cuni.amis.pogamut.sposh.engine.timer.ITimer
Suspend timer, until resume() is called, stop the clock.
suspend() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.SystemClockTimer
SwitchTo(int) - Method in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Switch to specified lex state.
SwitchTo(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Switch to specified lex state.
synchronize(PoshPlan) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Synchronize the lap tree to other the lap tree.
synchronize(TriggeredAction) - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
Take @source action and set all properties (name, parameters...) to be
same as the @source.
SystemClockTimer - Class in cz.cuni.amis.pogamut.sposh.engine.timer
Simple timer that has same time as Calendar.
SystemClockTimer() - Constructor for class cz.cuni.amis.pogamut.sposh.engine.timer.SystemClockTimer
taArgs - Static variable in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
tabSize - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
tabSize - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
taName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
tick() - Method in class cz.cuni.amis.pogamut.sposh.elements.Freq
How long does one tick lasts
time() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
time ::= ")"
timer - Variable in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
timeUnit() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
time-unit ::= HOURS | MINUTES | SECONDS | NONE
token - Variable in class cz.cuni.amis.pogamut.shady.ShadyParser
Current token.
Token - Class in cz.cuni.amis.pogamut.shady
Describes the input token stream.
Token() - Constructor for class cz.cuni.amis.pogamut.shady.Token
No-argument constructor
Token(int) - Constructor for class cz.cuni.amis.pogamut.shady.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class cz.cuni.amis.pogamut.shady.Token
Constructs a new token for the specified Image and Kind.
token - Variable in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Current token.
Token - Class in cz.cuni.amis.pogamut.sposh.elements
Describes the input token stream.
Token() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Token
No-argument constructor
Token(int) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Token
Constructs a new token for the specified Image and Kind.
token_source - Variable in class cz.cuni.amis.pogamut.shady.ShadyParser
Generated Token Manager.
token_source - Variable in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Generated Token Manager.
tokenImage - Variable in exception cz.cuni.amis.pogamut.shady.ParseException
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
tokenImage - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
Literal token values.
tokenImage - Variable in exception cz.cuni.amis.pogamut.sposh.elements.ParseException
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
tokenImage - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
Literal token values.
TokenMgrError - Error in cz.cuni.amis.pogamut.shady
Token Manager Error.
TokenMgrError() - Constructor for error cz.cuni.amis.pogamut.shady.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error cz.cuni.amis.pogamut.shady.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error cz.cuni.amis.pogamut.shady.TokenMgrError
Full Constructor.
TokenMgrError - Error in cz.cuni.amis.pogamut.sposh.elements
Token Manager Error.
TokenMgrError() - Constructor for error cz.cuni.amis.pogamut.sposh.elements.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error cz.cuni.amis.pogamut.sposh.elements.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error cz.cuni.amis.pogamut.sposh.elements.TokenMgrError
Full Constructor.
toLap(Object) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Result
Get string representation of the value that can be used in the lap plan.
toString() - Method in class cz.cuni.amis.pogamut.shady.Token
Returns the image.
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.Argument
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments
Get string representation of arguments (comma separated arguments,
compatible with lap).
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.ValueArgument
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Arguments.VariableArgument
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
Create text representation of this competence, compatible with parser, so
we can directly output it.
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Serialize DC into a parser readable form.
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters.Parameter
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
toString() - Method in enum cz.cuni.amis.pogamut.sposh.elements.Freq.FreqUnits
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Freq
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Return serializaton of lap tree.
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.PrimitiveCall
toString() - Method in enum cz.cuni.amis.pogamut.sposh.elements.Sense.Predicate
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Return text representation in posh friendly manner.
toString() - Method in enum cz.cuni.amis.pogamut.sposh.elements.SolTime.TimeUnits
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.SolTime
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Token
Returns the image.
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Trigger
Serialize the trigger as serialization of its senses surrounded by
braces.
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
toString() - Method in class cz.cuni.amis.pogamut.sposh.engine.ElementStackTrace
toString() - Method in class cz.cuni.amis.pogamut.sposh.engine.VariableContext
trigger() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
trigger(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Get list of senses of a trigger.
TRIGGER - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
Trigger <OWNER extends PoshElement > - Class in cz.cuni.amis.pogamut.sposh.elements
Trigger of an element.
TriggeredAction - Class in cz.cuni.amis.pogamut.sposh.elements
Triggered action is basically a call of some other entity that is supposed to
be executed.
TRUE - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
type - Variable in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine.EvaluationResultInfo
value() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
value() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
valueOf(String) - Static method in enum cz.cuni.amis.pogamut.sposh.elements.Freq.FreqUnits
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cz.cuni.amis.pogamut.sposh.elements.Sense.Predicate
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cz.cuni.amis.pogamut.sposh.elements.SolTime.TimeUnits
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cz.cuni.amis.pogamut.sposh.engine.FireResult.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cz.cuni.amis.pogamut.sposh.engine.PoshEngine.EvaluationResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cz.cuni.amis.pogamut.sposh.executor.ActionResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cz.cuni.amis.pogamut.sposh.PoshTreeEvent
Returns the enum constant of this type with the specified name.
values() - Static method in enum cz.cuni.amis.pogamut.sposh.elements.Freq.FreqUnits
Returns an array containing the constants of this enum type, in
the order they are declared.
values() - Static method in enum cz.cuni.amis.pogamut.sposh.elements.Sense.Predicate
Returns an array containing the constants of this enum type, in
the order they are declared.
values() - Static method in enum cz.cuni.amis.pogamut.sposh.elements.SolTime.TimeUnits
Returns an array containing the constants of this enum type, in
the order they are declared.
values() - Static method in enum cz.cuni.amis.pogamut.sposh.engine.FireResult.Type
Returns an array containing the constants of this enum type, in
the order they are declared.
values() - Static method in enum cz.cuni.amis.pogamut.sposh.engine.PoshEngine.EvaluationResult
Returns an array containing the constants of this enum type, in
the order they are declared.
values() - Static method in enum cz.cuni.amis.pogamut.sposh.executor.ActionResult
Returns an array containing the constants of this enum type, in
the order they are declared.
values() - Static method in enum cz.cuni.amis.pogamut.sposh.PoshTreeEvent
Returns an array containing the constants of this enum type, in
the order they are declared.
varDeclaration() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
varDeclare:: "=" value()
VARIABLE - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
VariableContext - Class in cz.cuni.amis.pogamut.sposh.engine
This class is responsible for storing and passing arguments throught the posh plan.
VariableContext() - Constructor for class cz.cuni.amis.pogamut.sposh.engine.VariableContext
variableName - Variable in class cz.cuni.amis.pogamut.sposh.elements.Arguments.VariableArgument
VARS - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.