| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.sposh.elements |
This package contains parser for Yaposh plan, classes that represent
elements of the plan and some auxiliry classes.
|
| cz.cuni.amis.pogamut.sposh.engine |
Yaposh engine and its executors used to evaluate yaposh plan.
|
| cz.cuni.amis.pogamut.sposh.executor |
Classes for creation and execution of primitives.
|
| Modifier and Type | Method and Description |
|---|---|
VariableContext |
LapChain.createContext() |
| Constructor and Description |
|---|
VariableContext(VariableContext ctx,
Arguments callArgs)
Create new VariableContext that will contain only variables from call arguments.
|
VariableContext(VariableContext ctx,
Arguments callParameters,
FormalParameters formalParameters)
Create new variable context for diving into another function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParamsAction.done(VariableContext params) |
void |
IAction.done(VariableContext params)
This action is done, according to posh plan, some other
IAction is
supposed to execute, therefore use this to clean up the mess. |
void |
DoNothing.done(VariableContext params) |
ActionResult |
StateWorkExecutor.executeAction(String actionToExecuteName,
VariableContext ctx) |
ActionResult |
PrintWorkExecutor.executeAction(String primitive,
VariableContext ctx) |
ActionResult |
IWorkExecutor.executeAction(String actionName,
VariableContext ctx)
Execute action and get the result.
|
ActionResult |
BehaviorWorkExecutor.executeAction(String primitive,
VariableContext ctx)
|
Object |
StateWorkExecutor.executeSense(String primitive,
VariableContext ctx) |
Object |
PrintWorkExecutor.executeSense(String primitive,
VariableContext ctx) |
Object |
IWorkExecutor.executeSense(String senseName,
VariableContext ctx)
Execute sense and get the result.
|
Object |
BehaviorWorkExecutor.executeSense(String primitive,
VariableContext ctx)
|
void |
ParamsAction.init(VariableContext params) |
void |
IAction.init(VariableContext params)
Initialize action.
|
void |
DoNothing.init(VariableContext params) |
Boolean |
Succeed.query(VariableContext ctx) |
RETURN |
ParamsSense.query(VariableContext params) |
RETURN |
ISense.query(VariableContext params)
Query current value of sense.
|
Boolean |
Fail.query(VariableContext params) |
ActionResult |
ParamsAction.run(VariableContext params) |
ActionResult |
IAction.run(VariableContext params)
Run is called every time evaluation of posh plan determines that this and
no other action is the one that is supposed to execute.
|
ActionResult |
DoNothing.run(VariableContext params) |
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.