Package jason.stdlib

Class resume

java.lang.Object
All Implemented Interfaces:
InternalAction, java.io.Serializable

@Manual(literal=".resume(goals)",
        hint="resume goals that were suspended by .suspend (produces the meta-event ^!goals[state(resumed)])",
        argsHint="the goal to be resume",
        argsType="literal",
        examples=".resume(go(1,3)): resume the goal of going to location 1,3",
        seeAlso={"jason.stdlib.intend","jason.stdlib.desire","jason.stdlib.drop_all_desires","jason.stdlib.drop_all_events","jason.stdlib.drop_all_intentions","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 resume
extends DefaultInternalAction

Internal action: .resume(G).

Description: resume goals G that were suspended by .suspend.
The meta-event ^!G[state(resumed)] is produced.

Example:

  • .resume(go(1,3)): resume the goal of going to location 1,3.
See Also:
intend, desire, drop_all_desires, drop_all_events, drop_all_intentions, drop_intention, drop_desire, succeed_goal, fail_goal, intention, suspend, suspended, Serialized Form