public interface InternalAction
Modifier and Type | Method and Description |
---|---|
boolean |
canBeUsedInContext()
Return true if the internal action can be used in plans' context
|
void |
destroy() |
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
|
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
void destroy() throws java.lang.Exception
java.lang.Exception