|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jason.asSemantics.DefaultInternalAction jason.stdlib.drop_intention jason.stdlib.drop_desire jason.stdlib.drop_event
public class drop_event
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.
current_intention
,
desire
,
drop_all_desires
,
drop_all_events
,
drop_all_intentions
,
drop_intention
,
drop_desire
,
succeed_goal
,
fail_goal
,
intend
,
Serialized FormConstructor Summary | |
---|---|
drop_event()
|
Method Summary | |
---|---|
java.lang.Object |
execute(TransitionSystem ts,
Unifier un,
Term[] args)
Executes the internal action. |
Methods inherited from class jason.stdlib.drop_desire |
---|
dropEvt |
Methods inherited from class jason.stdlib.drop_intention |
---|
checkArguments, dropInt, getMaxArgs, getMinArgs |
Methods inherited from class jason.asSemantics.DefaultInternalAction |
---|
canBeUsedInContext, prepareArguments, suspendIntention |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public drop_event()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |