Package jason.stdlib
Class fork.ForkIntention
java.lang.Object
jason.asSemantics.Intention
jason.stdlib.fork.ForkIntention
- All Implemented Interfaces:
ToDOM
,java.io.Serializable
,java.lang.Comparable<Intention>
,java.lang.Iterable<IntendedMeans>
- Enclosing class:
- fork
class fork.ForkIntention extends Intention
-
Nested Class Summary
Nested classes/interfaces inherited from class jason.asSemantics.Intention
Intention.State
-
Field Summary
Fields Modifier and Type Field Description (package private) fork.ForkData
fd
(package private) int
forkPoint
-
Constructor Summary
Constructors Constructor Description ForkIntention(Intention i, fork.ForkData fd)
-
Method Summary
Modifier and Type Method Description IntendedMeans
dropGoal(IMCondition c, Unifier un)
remove all IMs until the lowest IM that succeeds in test cvoid
fail(Circumstance c)
Pair<Event,java.lang.Integer>
findEventForFailure(Trigger tevent, PlanLibrary pl, Circumstance c)
Methods inherited from class jason.asSemantics.Intention
clearIM, clone, compareTo, copyTo, equals, getAsDOM, getAsTerm, getBottom, getGIntention, getId, getIM, getPlace, getStateBasedOnPlace, getSuspendedReason, hasGoalCondition, hashCode, hasInterestInUpdateEvents, hasTrigger, isAtomic, isFinished, isSuspended, iterator, peek, pop, push, setAtomic, setGIntention, setNoInterestInUpdateEvents, setPlace, setSuspended, setSuspendedReason, size, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
fd
-
forkPoint
int forkPoint
-
-
Constructor Details
-
ForkIntention
ForkIntention(Intention i, fork.ForkData fd)
-
-
Method Details
-
dropGoal
Description copied from class:Intention
remove all IMs until the lowest IM that succeeds in test c -
fail
-
findEventForFailure
public Pair<Event,java.lang.Integer> findEventForFailure(Trigger tevent, PlanLibrary pl, Circumstance c)- Overrides:
findEventForFailure
in classIntention
-