A B C D E F G H I J K L M N O P Q R S T U V 

A

ActionPattern - Class in cz.cuni.amis.pogamut.sposh.elements
AP is named list of actions, nothing more.
ActionPattern(String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
actionPattern() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
action-pattern ::= AP NAME ( NIL | "("
actionPatternElements(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
action-pattern-elements ::= ( | NAME )+ ")" FIXME: full-sense is not implemented here, because I have no idea what to do with it.
actionPatternInside(ActionPattern, FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
( NIL | "("
actions - Variable in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Map that maps primtive name to IAction.
add(int, FormalParameters.Parameter) - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
 
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 action pattern to the POSH tree root (add, set parents, emit)
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.
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Goal
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
This will add new child to the tree.
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
addChildDataNode(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
 
addCompetence(Competence) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Add competence node to the POSH tree (add, emit)
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.
addElement(CompetenceElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
Add passed element as the last element of this competence and emit.
addElementListener(PoshElementListener) - 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(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Goal
Add another sense to goal.
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
 
addTime(long) - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.DebugTimer
 
addTrigger(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
Add a trigger to the triggers (add, set parent, emit)
addTriggerAct(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Add trigger sense to this competence atom.
addTriggeredAction(TriggeredAction) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Add new TriggeredAction as child of this AP, take care of adding widget and so on.
addUserSense(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Goal
If the only sense in the goal is either fail or succeed, replace it with passed sense.
addUserTrigger(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
This method differs from CompetenceElement.addTriggerAct because if the only trigger is fail or succeed, than replace it with passed sense.
addUserTrigger(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
If there is only one sense in Triggers named either "fail" or "succeed", replace it with passed sense.
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.
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
 
apName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
apTimeoutAmmount - Static variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
apTimeoutUnits - Static variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
arg() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
 
args() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
 
Arguments - Class in cz.cuni.amis.pogamut.sposh.elements
This class is used to store parameters that were declared in plan during call of C/AP/Sense/Action
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.

B

backup(int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Backup a number of characters.
backup(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Backup a number of characters.
beginColumn - Variable in class cz.cuni.amis.pogamut.shady.Token
The column number of the first character of this Token.
beginColumn - Variable in class cz.cuni.amis.pogamut.sposh.elements.Token
The column number of the first character of this Token.
beginLine - Variable in class cz.cuni.amis.pogamut.shady.Token
The line number of the first character of this Token.
beginLine - Variable in class cz.cuni.amis.pogamut.sposh.elements.Token
The line number of the first character of this Token.
BeginToken() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Start.
BeginToken() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Start.
behavior - Variable in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor.BehaviorMethod
 
behaviors - Variable in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
 
BehaviorWorkExecutor - Class in cz.cuni.amis.pogamut.sposh.executor
Executor for posh plans that will execute annotated methods on the object.
BehaviorWorkExecutor() - Constructor for class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
Create BehaviorWorkExecutor with no methods.
BehaviorWorkExecutor(JavaBehaviour) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
Create BehaviorWorkExecutor with primitives from behavior.
BehaviorWorkExecutor.BehaviorMethod - Class in cz.cuni.amis.pogamut.sposh.executor
Class for storing methods that can be executed as primitives.
BehaviorWorkExecutor.BehaviorMethod(Object, Method) - Constructor for class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor.BehaviorMethod
Create new behavior method.
bot - Variable in class cz.cuni.amis.pogamut.sposh.context.Context
 
bot - Variable in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
 
bufcolumn - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
 
bufcolumn - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
 
buffer - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
 
buffer - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
 
bufline - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
 
bufline - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
 
bufpos - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Position in buffer.
bufpos - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Position in buffer.

C

caComment - Static variable in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
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() )* ")"
caName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
caRetries - 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.
cnName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Competence
Property string of competence name
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(ActionPattern) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
compareTo(Competence) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
 
compareTo(Sense) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
 
compareTo(TriggeredAction) - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
Competence - Class in cz.cuni.amis.pogamut.sposh.elements
Structure for holding information about competences in POSH file.
Competence(String, FormalParameters, List<CompetenceElement>) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Competence
Create a new Competence with passed name and assign passed elements to this competence (set parent).
competence() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
competence ::= C NAME ( NIL | "("
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 basic unit of competence.
CompetenceElement(String, ElementList<Sense>, String, Integer, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Create competence atom from passed parameters and assign parents propertly.
CompetenceElement(String, ElementList<Sense>, Sense.SenseCall, Integer, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
CompetenceElement(String, Sense, String, Integer) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Create an CompetenceElement from passed parameters.
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.
createCompetence(String, String...) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create a new competence with multiple choices.
createCompetenceElement(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new competence element with trigger of deafult sense and default action.
createDriveElement(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new drive with default trigger and action.
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.
createSense(String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
Create new sense.
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
 
current - 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.
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
 

D

dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
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
 
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
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
 
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Goal
 
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
 
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Sense
 
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
dataFlavor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.Triggers
 
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.
deComment - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
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_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.
deFreqNum - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
deFreqUnits - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
deName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
detectCycle() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
Does this action has a cycle? Cycle = competence with name X has action with name X or similar situations.
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.
docAuthor - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
docComment - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
docName - Static variable in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
DocString - Class in cz.cuni.amis.pogamut.sposh.elements
Simple class for representation of documentation element in Posh plan.
DocString(String, String, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.DocString
 
docString() - 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.
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() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
driveCollection() :: ( DC [ ] ( drives ( )+ ) ) XXX: should be driveCollection() :: ( DC [ ] ( drives ( )+ )+ )
driveCollectionGoal(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
( NIL | "(" | ) "(" Part of driveCollection() rule.
DriveElement - Class in cz.cuni.amis.pogamut.sposh.elements
One element of Drive.
DriveElement(String, Triggers, String, Freq) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Create a new DriveElement
DriveElement(String, Triggers, String, Freq, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
DriveElement(String, Triggers, Sense.SenseCall, Freq, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
driveElement(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
drive-element ::= "(" NAME ( NIL | "(" | ) NAME ( NIL | "(" | ) ")"
driveElementActionFreq(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
driveElementActionFreq:: senseCall() [ | "(" freq() ] I should probably use lookahead of 2 or more, but I really need this fast for continuous syntax highlighting.
driveElementFreq() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
( NIL | "(" | ) Part of driveElementRule
driveElementTrigger(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
( NIL | "(" | ) Part of driveElement rule
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
 

E

element() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
 
ElementList<T> - Class in cz.cuni.amis.pogamut.sposh.elements
List of PoshActs, helping structure used in other parts of tree.
ElementList() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.ElementList
Create an empty ElementList.
ElementList(T) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.ElementList
Create an ElementList with one element in it.
ElementList(T[]) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.ElementList
Create an ElementList with elements from passed array.
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
 
emitChildMove(PoshElement, 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.
emitNodeDeleted() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Tell all listeners that this node will be deleted.
emitTree() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Emit the tree using BFS.
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.
executeCall(NodeCall) - Method in class cz.cuni.amis.pogamut.shady.engine.ShadeEngine
 
executePrimitive(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
Execute the primitive.
executePrimitive(String, VariableContext) - Method in interface cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor
Execute primitive and get the result.
executePrimitive(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.PrintWorkExecutor
 
executePrimitive(String, VariableContext) - Method in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Execute
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.

F

fail() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Standard sense that has to be implemented everywhere.
FillBuff() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
 
FillBuff() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
 
findNode(String) - Method in class cz.cuni.amis.pogamut.shady.ShadeTree
Find the node of this plan with specified name and return it.
firePropertyChange(String, Object, Object) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Well, this thing was originally supposed to use the
FireResult - Class in cz.cuni.amis.pogamut.sposh.engine
Result of ElementExecutor s.
FireResult(FireResult.Type) - Constructor for class cz.cuni.amis.pogamut.sposh.engine.FireResult
 
FireResult(FireResult.Type, StackElement) - Constructor for class cz.cuni.amis.pogamut.sposh.engine.FireResult
 
FireResult.Type - Enum in cz.cuni.amis.pogamut.sposh.engine
 
FLOATING_POINT_LITERAL - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
FormalParameters - Class in cz.cuni.amis.pogamut.sposh.elements
This class is used as holder of all formal parameters for C or AP.
FormalParameters() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
 
FormalParameters.Parameter - Class in cz.cuni.amis.pogamut.sposh.elements
This class represents one formal parameter of C or AP.
FormalParameters.Parameter(String, Object) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.FormalParameters.Parameter
Create new formal parameter for C or AP.
Freq - Class in cz.cuni.amis.pogamut.sposh.elements
Class for holding information about frequency of running various parts of POSH plan.
Freq(Freq) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Freq
 
freq() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
freq ::= ")"
Freq.FreqUnits - Enum in cz.cuni.amis.pogamut.sposh.elements
Units for frequency
freqUnit() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
freq-unit ::= HOURS | MINUTES | SECONDS | HZ | PM | NONE
FubarException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
Wrapper os RuntimeException for situations that shouldn;t ever happen (e.g.
FubarException(Throwable) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.FubarException
 
FubarException(String, Throwable) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.FubarException
 
FubarException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.FubarException
 
fullSense(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
full-sense ::= "(" NAME [ []] ")"

G

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
 
getAction() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
getActionCall() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
getActionPatterns() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get unmodifiable array of all competences.
getActions() - Method in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
Get set of action names utilized by this engine.
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 names of all actions in this plan.
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 this plan with specified name.
getAPorCompActions(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Try to find AP or competence with same name as ident and if it exists, return list of all actions the AP or competence has.
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
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
Get bot for this context.
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.Competence
 
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
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.Goal
 
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
Get all nodes that are connected directly to this one (= documentration, actonPatterns, competences, DriveCollections).
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
 
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
getChildDataNodes() - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
 
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
 
getComment() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
getCompetences() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Get unmodifiable array 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.Competence
 
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
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.Goal
 
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
 
getDataFlavor() - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
 
getDefaultValue() - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters.Parameter
 
getDriveCollection() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
 
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.
getFreq() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Return copy of freq of this DriveElement.
getFreqNum() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
getFreqUnits() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
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.
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
Get logger of this IWorkExecutor.
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 node.
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.Sense
 
getName() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense.SenseCall
 
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.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.
getNodeAuthor() - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
Get name of the creator of the plan.
getNodeComment() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
getNodeComment() - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
getNodePlanName() - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
Get name of the POSH plan.
getNodeTimeoutAmmount() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
getNodeTimeoutUnits() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
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
 
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.Competence
Get list of formal parametrs of competence (names and default values).
getParameters() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense.SenseCall
 
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)
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.
getRelativePosition(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
What is relative position of this PoshElement respective to newNode.
getRepresentation() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Get human readable representation of this sense.
getRetries() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
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.elements.Goal
Get unmodifiable list of all senses in the goal.
getSenses() - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
Get unmodifiable list of senses in this trigger
getSenses() - Method in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
Get set of sense names utilized by this engine.
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 names of all senses in this plan.
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.
getTriggeredAction() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
getTriggeredActions() - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
getTriggers() - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
getTriggerSenses() - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Get unmodifiable list of trigger senses in the CE
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 - Class in cz.cuni.amis.pogamut.sposh.elements
Goal contains list of Sense.
Goal(Sense) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Goal
Create a new goal with no senses.
Goal(ElementList<Sense>) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Goal
Create a new goal with passed senses.
goal(FormalParameters) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
goal ::= GOAL ")"
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.

H

HOURS - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
HZ - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.

I

IAction<RETURN> - Interface in cz.cuni.amis.pogamut.sposh.executor
Primitive representation used in StateWorkExecutor.
IArgument<T> - Interface in cz.cuni.amis.pogamut.shady
Interface that unified various arguments used when shade is calling the primitive.
IDENT_PATTERN - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement
Regular pattern, only text that maches 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
 
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.
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
 
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.
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 this plan contain C with specified name?
isCycled() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Is POSH plan cycled?
ISense<RETURN> - Interface in cz.cuni.amis.pogamut.sposh.executor
Interface for sense in state paradigma.
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
Is value true? Basically negate Result.isFalse(java.lang.Object).
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.

J

JavaBehaviour<AGENT> - Class in cz.cuni.amis.pogamut.sposh
Base class for definitions of senses and acts of SPOSH bot.
JavaBehaviour(String, AGENT) - Constructor for class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Create new behaviour.
jj_nt - Variable in class cz.cuni.amis.pogamut.shady.ShadyParser
Next token.
jj_nt - Variable in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Next token.
jjFillToken() - Method in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
 
jjFillToken() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
 
jjstrLiteralImages - Static variable in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Token literal values.
jjstrLiteralImages - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Token literal values.

K

kind - Variable in class cz.cuni.amis.pogamut.shady.Token
An integer that describes the kind of this token.
kind - Variable in class cz.cuni.amis.pogamut.sposh.elements.Token
An integer that describes the kind of this token.

L

LapElementsFactory - Class in cz.cuni.amis.pogamut.sposh.elements
This is a factory class that can be used to create various elements.
LapElementsFactory() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.LapElementsFactory
 
LBRACE - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
LE - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
LETTER - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
LexicalError(boolean, int, int, int, String, char) - Static method in error cz.cuni.amis.pogamut.shady.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
LexicalError(boolean, int, int, int, String, char) - Static method in error cz.cuni.amis.pogamut.sposh.elements.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Lexer state names.
lexStateNames - Static variable in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Lexer state names.
line - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
 
line - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
 
log - Variable in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
 
log - Variable in class cz.cuni.amis.pogamut.sposh.executor.StateWorkExecutor
Log where we put
logicAfterPlan() - Method in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
 
logicAfterPlan() - Method in interface cz.cuni.amis.pogamut.sposh.executor.ILogicWorkExecutor
Deprecated.
logicAfterPlan() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Method that is triggered every time the plan for executor is evaluated.
logicBeforePlan() - Method in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor
 
logicBeforePlan() - Method in interface cz.cuni.amis.pogamut.sposh.executor.ILogicWorkExecutor
Deprecated.
logicBeforePlan() - Method in class cz.cuni.amis.pogamut.sposh.JavaBehaviour
Method that is triggered every time the plan for executor is evaluated.
LT - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.

M

maxNextCharInd - Variable in class cz.cuni.amis.pogamut.shady.SimpleCharStream
 
maxNextCharInd - Variable in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
 
method - Variable in class cz.cuni.amis.pogamut.sposh.executor.BehaviorWorkExecutor.BehaviorMethod
 
MINUTES - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
MissingRootException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
When plan is missing root node, throw this exception.
MissingRootException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.MissingRootException
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.Goal
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Move child node in list of children up or down.
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
moveChild(PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
 
moveNodeInList(List, PoshElement, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshDummyElement
Function for moving an child element in the list of children.

N

name() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
 
name - Variable in class cz.cuni.amis.pogamut.sposh.context.Context
 
NAME - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
NamedLapElement - Class in cz.cuni.amis.pogamut.sposh.elements
Ancestor class for lap elements with name.
NamedLapElement() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.NamedLapElement
 
NE - Static variable in interface cz.cuni.amis.pogamut.shady.ShadyParserConstants
RegularExpression Id.
neutralize() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Neutralize this node (ask parent to neutralize this child).
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Competence
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
Ignore, documentation nodes doesn't have any children
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Goal
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Neutralize childNode of the node.
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
neutralizeChild(PoshElement) - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
 
newToken(int, String) - Static method in class cz.cuni.amis.pogamut.shady.Token
Returns a new Token object, by default.
newToken(int) - Static method in class cz.cuni.amis.pogamut.shady.Token
 
newToken(int, String) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Token
Returns a new Token object, by default.
newToken(int) - Static method in class cz.cuni.amis.pogamut.sposh.elements.Token
 
next - Variable in class cz.cuni.amis.pogamut.shady.Token
A reference to the next regular (non-special) token from the input stream.
next - Variable in class cz.cuni.amis.pogamut.sposh.elements.Token
A reference to the next regular (non-special) token from the input stream.
NIL - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
node() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
 
NodeCall - Class in cz.cuni.amis.pogamut.shady
During the execution of the tree, we have to go from one node to another and finally execute one primitive.
NodeCall(String, List<IArgument>) - Constructor for class cz.cuni.amis.pogamut.shady.NodeCall
Create new node call.
nodeChanged(PoshTreeEvent, PoshElement) - Method in interface cz.cuni.amis.pogamut.sposh.elements.PoshElementListener
Message about newly created child node
NodeElement - Class in cz.cuni.amis.pogamut.shady
Every node has multiple elemnts, binary tree has two, our if-then tree structure has a variable ammount.
NoEligibleElementException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
Exception that is used when I am trying to execute shade plan, but according to priority and triggers of its elements, no element is eligible to be selected.
NoEligibleElementException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.NoEligibleElementException
 
NONE - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
NUMFLOAT - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
NUMINT - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.

O

optComment() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
opt-comment ::= COMMENT |

P

parameters - Variable in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
 
parameters() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Declare parameters in C or AP.
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.
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.
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.
PoshDummyElement - 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 - 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 - 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
This class is root of representation of POSH source file.
PoshPlan() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
 
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
 
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
 
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
 
put(String, Object) - Method in class cz.cuni.amis.pogamut.sposh.engine.VariableContext
Put another variable into this context

Q

query(VariableContext) - Method in interface cz.cuni.amis.pogamut.sposh.executor.ISense
Query current value of sense.
QueryCall - Class in cz.cuni.amis.pogamut.shady
Query call is used to call some function in outside of engine with some parameters and return the value.
QueryCall(String, List<IArgument>) - Constructor for class cz.cuni.amis.pogamut.shady.QueryCall
 
queryCall() - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
 

R

RBRACE - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
readChar() - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Read a character.
readChar() - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Read a character.
ReInit(InputStream) - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Reinitialise.
ReInit(InputStream, String) - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Reinitialise.
ReInit(Reader) - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Reinitialise.
ReInit(ShadyParserTokenManager) - Method in class cz.cuni.amis.pogamut.shady.ShadyParser
Reinitialise.
ReInit(SimpleCharStream) - Method in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Method in class cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
Reinitialise parser.
ReInit(Reader, int, int, int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Reinitialise.
ReInit(InputStream, String) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Reinitialise.
ReInit(Reader) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Reinitialise.
ReInit(PoshParserTokenManager) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParser
Reinitialise.
ReInit(SimpleCharStream) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Reinitialise parser.
ReInit(SimpleCharStream, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshParserTokenManager
Reinitialise parser.
ReInit(Reader, int, int, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
Reinitialise.
remove(int) - Method in class cz.cuni.amis.pogamut.sposh.elements.FormalParameters
 
remove() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Go through subtree by DFS and for every node emit that it was deleted.
removeElementListener(PoshElementListener) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshElement
Remove listener from list of listeners of this node.
removeListenersFromTree(PoshElementListener) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Go through all nodes in the tree and remove listener from all elements it is registered to.
removeListenersFromTree(PoshElement, PoshElementListener) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Remove listener listener from the tree with root node.
reset() - Method in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine
Reset the posh engine, all stacks and variables will be reseted.
Result - Class in cz.cuni.amis.pogamut.sposh.elements
Class representing value in posh plan.
Result() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Result
 
result - Variable in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine.EvaluationResultInfo
 
resume() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.DebugTimer
 
resume() - Method in interface cz.cuni.amis.pogamut.sposh.engine.timer.ITimer
Resume suspended timer
resume() - Method in class cz.cuni.amis.pogamut.sposh.engine.timer.SystemClockTimer
 
ROOT - Static variable in class cz.cuni.amis.pogamut.shady.ShadeTree
 
run(VariableContext) - Method in interface cz.cuni.amis.pogamut.sposh.executor.IAction
Run is called every time evaluation of posh plan determines that this and no other action is the one that is supposed to execute.

S

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(Sense.SenseCall) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Sense
Create sense that will evaluate based on result of called primitive some parameters
Sense(String, String, String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Sense
Create a Sense that takes a result of function and compares it with argument.
Sense(Sense.SenseCall, String, 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
Sense.SenseCall - Class in cz.cuni.amis.pogamut.sposh.elements
This class specifies call to the sense.
Sense.SenseCall(String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Sense.SenseCall
This is a sensecall without parameters
Sense.SenseCall(String, Arguments) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Sense.SenseCall
 
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
senses ::= ( NIL | "(" ( NAME | )+ ")" )
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
 
setAction(TriggeredAction) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Set action (by removing old action and emiting new one) of this CompetenceElement.
setActionName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
Set action function.
setAmmount(double) - Method in class cz.cuni.amis.pogamut.sposh.elements.Freq
 
setComment(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
setComment(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
 
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.
setDocString(DocString) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Yay, this function adds documentation node to the tree and emits the new child.
setDriveCollection(DriveCollection) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Set the drive collection.
setDriveName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Set name of the drive if it maches IDENT_PATTERN.
setFreqNum(Double) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Setting frequency has two parts number + type of unit, this one changes number of frequency.
setFreqUnits(Integer) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Setting frequency has two parts number + type of unit, this one changes type of units of frequency.
setGoalNode(Goal) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Set goal of the drive collection.
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.Competence
Change name of competence node.
setName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
Set name of Competence atom, name has to match IDENT_PATTERN, trimmed.
setName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveCollection
Change name of the DC and notify property listeners.
setNodeAuthor(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
Set name(s) of the creator(s) of the POSH plan.
setNodeComment(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Set comment of AP.
setNodeComment(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
Set commentary about the POSH plan.
setNodePlanName(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.DocString
Set name of the POSH plan.
setNodeTimeoutAmmount(Double) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Set how many timeout units should AP wait until it gives up.
setNodeTimeoutUnits(Integer) - Method in class cz.cuni.amis.pogamut.sposh.elements.ActionPattern
Set type of units of timeout.
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
Set the formal parameters of this
setParent(PoshElement) - 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(Integer) - Method in class cz.cuni.amis.pogamut.sposh.elements.CompetenceElement
 
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
 
setTriggeredAction(TriggeredAction) - Method in class cz.cuni.amis.pogamut.sposh.elements.DriveElement
Set new triggered action, delete old if necessary
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
 
setValueString(String) - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense
Set value of argument.
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.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,RETURN> - 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.
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
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.
synchronizePlan(InputStream) - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Synchronize the plan to another.
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
 

T

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.DocString
 
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.ElementList
 
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.Goal
 
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.PoshPlan
Return lap of posh tree.
toString() - Method in enum cz.cuni.amis.pogamut.sposh.elements.Sense.Predicate
 
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Sense.SenseCall
 
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.TriggeredAction
 
toString() - Method in class cz.cuni.amis.pogamut.sposh.elements.Triggers
 
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
trigger ::= TRIGGER ")"
TRIGGER - Static variable in interface cz.cuni.amis.pogamut.sposh.elements.PoshParserConstants
RegularExpression Id.
TriggeredAction - Class in cz.cuni.amis.pogamut.sposh.elements
Triggered action is basically identifier, string that maches some function specified outside the POSH plan.
TriggeredAction(String) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
TriggeredAction(Sense.SenseCall) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.TriggeredAction
 
Triggers - Class in cz.cuni.amis.pogamut.sposh.elements
Triggers is a list of PoshSenses.
Triggers(Sense) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Triggers
Create a new Triggers with one sense.
Triggers() - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Triggers
Triggers can have an empty list of senses.
Triggers(ElementList<Sense>) - Constructor for class cz.cuni.amis.pogamut.sposh.elements.Triggers
 
type - Variable in class cz.cuni.amis.pogamut.sposh.engine.PoshEngine.EvaluationResultInfo
 

U

UnexpectedElementException - Exception in cz.cuni.amis.pogamut.sposh.exceptions
The method was passed unexpected PoshElement as argument.
UnexpectedElementException(String) - Constructor for exception cz.cuni.amis.pogamut.sposh.exceptions.UnexpectedElementException
 
UpdateLineColumn(char) - Method in class cz.cuni.amis.pogamut.shady.SimpleCharStream
 
UpdateLineColumn(char) - Method in class cz.cuni.amis.pogamut.sposh.elements.SimpleCharStream
 

V

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.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.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.
A B C D E F G H I J K L M N O P Q R S T U V 

Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.