public class drop_event extends drop_desire
Internal action: .drop_event(D)
.
Description: removes events D from the agent circumstance.
This internal action simply removes all +!D entries
(those for which .desire(D)
would succeed) from the set of events only;
this action is complementary to .drop_desire
and .drop_intention
,
in case a goal is to be removed only from the set of events and not from the set of intentions.
No event is produced as a consequence of dropping desires from the set of events.
Example:
.drop_event(go(X,Y))
: removes events such as
<+!go(1,3),_>
from the set of events.
Constructor and Description |
---|
drop_event() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(TransitionSystem ts,
Unifier un,
Term[] args)
Executes the internal action.
|
dropEvt
checkArguments, dropInt, getMaxArgs, getMinArgs
canBeUsedInContext, 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_desire
java.lang.Exception