Uses of Class
jason.asSyntax.Trigger
Package | Description |
---|---|
jason.asSemantics | |
jason.asSyntax | |
jason.infra.components | |
jason.stdlib |
Internal actions of Jason.
|
-
Uses of Trigger in jason.asSemantics
Fields in jason.asSemantics declared as Trigger Modifier and Type Field Description (package private) Trigger
Event. trigger
private Trigger
IntendedMeans. trigger
Methods in jason.asSemantics that return Trigger Modifier and Type Method Description Trigger
Event. getTrigger()
abstract Trigger
IMCondition. getTrigger()
Trigger
IntendedMeans. getTrigger()
gets the trigger event that caused the creation of this IMMethods in jason.asSemantics with parameters of type Trigger Modifier and Type Method Description void
Circumstance. addExternalEv(Trigger trig)
Pair<Event,java.lang.Integer>
Intention. findEventForFailure(Trigger tevent, PlanLibrary pl, Circumstance c)
Event
TransitionSystem. findEventForFailure(Intention i, Trigger tevent)
default void
GoalListener. goalExecuting(Trigger goal, Term reason)
called when a suspended goal is executingvoid
GoalListenerForMetaEvents. goalExecuting(Trigger goal, Term reason)
default void
GoalListener. goalFailed(Trigger goal, Term reason)
method called when a goal is failedvoid
GoalListenerForMetaEvents. goalFailed(Trigger goal, Term reason)
default void
GoalListener. goalFinished(Trigger goal, GoalListener.GoalStates result)
method called when a goal is (un)successfully finishedvoid
GoalListenerForMetaEvents. goalFinished(Trigger goal, GoalListener.GoalStates result)
default void
GoalListener. goalResumed(Trigger goal, Term reason)
called when a suspended goal is resumedvoid
GoalListenerForMetaEvents. goalResumed(Trigger goal, Term reason)
default void
GoalListener. goalSuspended(Trigger goal, Term reason)
method called when a goal is suspended (by internal action .suspend, for instance)void
GoalListenerForMetaEvents. goalSuspended(Trigger goal, Term reason)
default void
GoalListener. goalWaiting(Trigger goal, Term reason)
method called when a goal is waiting something (waiting action on the environment or due to internal actions like .waitd)void
GoalListenerForMetaEvents. goalWaiting(Trigger goal, Term reason)
boolean
Intention. hasTrigger(Trigger g, Unifier u)
returns true if the intention has an IM where TE = g, using u to verify equalitydefault void
CircumstanceListener. intentionSuspended(Trigger t, Intention i, Term reason)
java.util.List<Option>
TransitionSystem. relevantPlans(Trigger teP, Event evt)
void
Circumstance. removeEvents(Trigger te, Unifier un)
void
Circumstance. removePendingEvents(Trigger te, Unifier un)
void
IntendedMeans. setTrigger(Trigger tr)
abstract boolean
IMCondition. test(Trigger t, Unifier u)
boolean
Unifier. unifies(Trigger te1, Trigger te2)
boolean
Unifier. unifiesNoUndo(Trigger te1, Trigger te2)
Constructors in jason.asSemantics with parameters of type Trigger Constructor Description Event(Trigger t, Intention i)
IntendedMeans(Option opt, Trigger te)
-
Uses of Trigger in jason.asSyntax
Fields in jason.asSyntax declared as Trigger Modifier and Type Field Description static Trigger
PlanLibrary. TE_JAG_AWAKING
static Trigger
PlanLibrary. TE_JAG_SHUTTING_DOWN
static Trigger
PlanLibrary. TE_JAG_SLEEPING
private Trigger
Plan. tevent
Methods in jason.asSyntax that return Trigger Modifier and Type Method Description Trigger
Trigger. capply(Unifier u)
Trigger
Trigger. clone()
Trigger
Plan. getTrigger()
Trigger
Plan. getTriggerEvent()
Deprecated.use getTriggerstatic Trigger
ASSyntax. parseTrigger(java.lang.String sTe)
creates a new trigger by parsing a stringstatic Trigger
Trigger. parseTrigger(java.lang.String sTe)
prefer to use ASSyntax.parseTriggerstatic Trigger
Trigger. tryToGetTrigger(Term t)
try to convert the term t into a trigger, in case t is a trigger term, a string that can be parsed to a trigger, a var with value trigger, ....Methods in jason.asSyntax with parameters of type Trigger Modifier and Type Method Description java.util.List<Plan>
PlanLibrary. getAllRelevant(Trigger te)
Deprecated.use getCandidatePlans(te) insteadjava.util.List<Plan>
PlanLibrary. getCandidatePlans(Trigger te)
boolean
PlanLibrary. hasCandidatePlan(Trigger te)
Unifier
Plan. isRelevant(Trigger te, Unifier u)
returns an unifier if this plan is relevant for the event te, returns null otherwise.boolean
PlanLibrary. isRelevant(Trigger te)
Deprecated.use hasCandidatePlan(te) insteadboolean
Trigger. sameType(Trigger e)
Constructors in jason.asSyntax with parameters of type Trigger Constructor Description Plan(Pred label, Trigger te, LogicalFormula ct, PlanBody bd)
-
Uses of Trigger in jason.infra.components
Methods in jason.infra.components with parameters of type Trigger Modifier and Type Method Description void
CircumstanceListenerComponents. intentionSuspended(Trigger t, Intention i, Term reason)
-
Uses of Trigger in jason.stdlib
Fields in jason.stdlib declared as Trigger Modifier and Type Field Description private Trigger
wait.WaitEvent. te
Methods in jason.stdlib with parameters of type Trigger Modifier and Type Method Description Pair<Event,java.lang.Integer>
fork.ForkIntention. findEventForFailure(Trigger tevent, PlanLibrary pl, Circumstance c)
void
wait.WaitEvent. intentionSuspended(Trigger t, Intention i, Term reason)
Constructors in jason.stdlib with parameters of type Trigger Constructor Description CheckDeadline(Trigger te, TransitionSystem ts)
WaitEvent(Trigger te, LogicalFormula f, Unifier un, TransitionSystem ts, long timeout, Term elapsedTimeTerm)