| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.sposh.elements |
This package contains parser for POSH plan, classes that represent
elements of POSH plan and some auxiliry classes.
|
| Modifier and Type | Method and Description |
|---|---|
static Sense |
LapElementsFactory.createSense(Sense sense)
Create a copy of sense (only structure, no listeners or shared objects)
|
static Sense |
LapElementsFactory.createSense(String name)
Create new sense.
|
Sense |
PoshParser.fullSense(FormalParameters formalParameters)
full-sense ::= "(" NAME [
|
Sense |
Trigger.get(int index)
Get sense stored at indexed position in the trigger.
|
Sense |
Trigger.remove(int index)
Remove sense from specified position and the removed sense will emit node
deleted.
|
Sense |
PoshParser.sensesListElement(FormalParameters formalParameters)
NAME |
|
| Modifier and Type | Method and Description |
|---|---|
List<Sense> |
PoshParser.competenceGoal(FormalParameters formalParameters)
( NIL | "("
|
List<Sense> |
PoshParser.driveElementTrigger(FormalParameters formalParameters)
Read trigger (list of senses) and return it.
|
List<Sense> |
PoshParser.goal(FormalParameters formalParameters)
Process goal sense and return them.
|
List<Sense> |
PoshParser.senses(FormalParameters formalParameters)
Get senses (if there are any) and return them.
|
List<Sense> |
PoshParser.sensesList(FormalParameters formalParameters)
( NAME |
|
List<Sense> |
PoshParser.trigger(FormalParameters formalParameters)
Get list of senses of a trigger.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Trigger.add(int index,
Sense newSense)
Insert sense at specified index and owner will emit new child.
|
boolean |
Trigger.add(Sense sense)
Add sense to this trigger and emit news about addition.
|
void |
Adopt.addCondition(Sense sense) |
void |
Sense.changeTo(Sense other)
Take other sense and change all attributes in the sense to be same
as in other sense.
|
int |
Sense.compareTo(Sense o) |
static Sense |
LapElementsFactory.createSense(Sense sense)
Create a copy of sense (only structure, no listeners or shared objects)
|
void |
Trigger.moveSense(int newIndex,
Sense movedSense)
Move sense so that after move, it is at newIndex + emit event.
|
| Modifier and Type | Method and Description |
|---|---|
static CompetenceElement |
LapElementsFactory.createCompetenceElement(String name,
List<Sense> triggerSenses,
String actionName) |
static DriveElement |
LapElementsFactory.createDriveElement(String name,
List<Sense> triggerSenses,
PrimitiveCall actionCall,
Freq freq,
String comment)
Create new drive element
|
| Constructor and Description |
|---|
Adopt(String name,
FormalParameters parameters,
List<Sense> exitCondition,
PrimitiveCall adoptedElement) |
CompetenceElement(String name,
List<Sense> triggerSenses,
PrimitiveCall actionCall,
int retries,
String comment)
Create a choice.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.