public class drop_all_desires extends drop_all_intentions
Internal action: .drop_all_desires
.
Description: removes all desires of the agent. No event is produced.
This action changes the agent's circumstance structure by simply emptying
the whole set of events (E) and then calling
.drop_all_intentions
.
Example:
.drop_all_desires
.
Constructor and Description |
---|
drop_all_desires() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(TransitionSystem ts,
Unifier un,
Term[] args)
Executes the internal action.
|
getMaxArgs, getMinArgs
canBeUsedInContext, checkArguments, destroy, prepareArguments, suspendIntention
public java.lang.Object execute(TransitionSystem ts, Unifier un, Term[] args) throws java.lang.Exception
InternalAction
execute
in interface InternalAction
execute
in class drop_all_intentions
java.lang.Exception