|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalAction
Common interface for all internal actions.
Method Summary | |
---|---|
boolean |
canBeUsedInContext()
Return true if the internal action can be used in plans' context |
java.lang.Object |
execute(TransitionSystem ts,
Unifier un,
Term[] args)
Executes the internal action. |
Term[] |
prepareArguments(Literal body,
Unifier un)
Prepare body's terms to be used in 'execute', normally it consist of cloning and applying each term |
boolean |
suspendIntention()
Returns true if the internal action (IA) should suspend the intention where the IA is called |
Method Detail |
---|
boolean suspendIntention()
boolean canBeUsedInContext()
Term[] prepareArguments(Literal body, Unifier un)
java.lang.Object execute(TransitionSystem ts, Unifier un, Term[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |