RETURN - Type of object that is returned by this action every time it is evaluated.public interface IAction
StateWorkExecutor. This primitive is
executed in phases: first is called init, then run is called, until
executor decides it is time to switch to another primtive. Before init of
new primtive is called, done of previous primitive is called.| Modifier and Type | Method and Description |
|---|---|
void |
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 |
init(VariableContext params)
Initialize action.
|
ActionResult |
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.
|
void init(VariableContext params)
params - Variable context that is passed from posh plan to the primitiveActionResult run(VariableContext params)
params - Variable context passed from posh plan to the primtivevoid done(VariableContext params)
IAction is
supposed to execute, therefore use this to clean up the mess.params - Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.