Package jason.stdlib

Class drop_intention

java.lang.Object
jason.asSemantics.DefaultInternalAction
jason.stdlib.drop_intention
All Implemented Interfaces:
InternalAction, java.io.Serializable
Direct Known Subclasses:
drop_desire

@Manual(literal=".drop_intention(goal)",
        hint="removes intentions to achieve the referred goal",
        argsHint="the goal the intentions achieve",
        argsType="literal",
        examples=".drop_intention(go(1,3)): removes intentions having a plan with triggering event +!go(1,3) in the agent\'s current circumstance.",
        seeAlso={"jason.stdlib.intend","jason.stdlib.desire","jason.stdlib.drop_all_desires","jason.stdlib.drop_all_events","jason.stdlib.drop_intention","jason.stdlib.drop_desire","jason.stdlib.succeed_goal","jason.stdlib.fail_goal","jason.stdlib.intention","jason.stdlib.resume","jason.stdlib.suspend","jason.stdlib.suspended"})
public class drop_intention
extends DefaultInternalAction

Internal action: .drop_intention(I).

Description: removes intentions to achieve goal I from the set of intentions of the agent (suspended intentions are also considered). No event is produced.

Parameters:

  • - goal (literal): the goal the intentions achieve.

Example:

  • .drop_intention(go(1,3)): removes intentions having a plan with triggering event +!go(1,3) in the agent's current circumstance.
  • .drop_intention: removes the current intention.
See Also:
intend, desire, drop_all_desires, drop_all_events, drop_all_intentions, drop_desire, succeed_goal, fail_goal, intention, suspend, suspended, resume, Serialized Form