Package jason.asSemantics
Class TransitionSystem
java.lang.Object
jason.asSemantics.TransitionSystem
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
act()
void
adds an object that will be notified about events on goals (creation, suspension, ...)void
boolean
canSleep()
boolean
boolean
boolean
protected void
checkHardDeadline
(Event evt) void
findEventForFailure
(Intention i, Trigger tevent) boolean
generateGoalDeletion
(Intention i, List<Term> failAnnots, Term reason) generate a failure event for an intentiongetAg()
getC()
protected PlanLibrary
Deprecated.use getAgArchboolean
void
boolean
void
Schedule a task to be executed in the beginning of the next reasoning cycle.void
sense()
void
void
void
toString()
void
boolean
updateEvents
(List<Literal>[] result, Intention focus)
-
Constructor Details
-
TransitionSystem
-
-
Method Details
-
setLogger
-
setLogger
-
addGoalListener
adds an object that will be notified about events on goals (creation, suspension, ...) -
hasGoalListener
public boolean hasGoalListener() -
getGoalListeners
-
removeGoalListener
-
getPLForIM
-
applyClrInt
- Throws:
JasonException
-
updateEvents
-
updateEvents
-
generateGoalDeletion
public boolean generateGoalDeletion(Intention i, List<Term> failAnnots, Term reason) throws JasonException generate a failure event for an intention- Throws:
JasonException
-
findEventForFailure
-
checkHardDeadline
-
canSleep
public boolean canSleep() -
canSleepSense
public boolean canSleepSense() -
canSleepDeliberate
public boolean canSleepDeliberate() -
canSleepAct
public boolean canSleepAct() -
runAtBeginOfNextCycle
Schedule a task to be executed in the beginning of the next reasoning cycle. It is used mostly to change the C only by the TS thread (e.g. by .wait) -
reasoningCycle
public void reasoningCycle() -
sense
public void sense() -
deliberate
public void deliberate() -
act
public void act() -
getAg
-
getC
-
getSettings
-
setAgArch
-
getAgArch
-
getUserAgArch
Deprecated.use getAgArch -
getLogger
-
toString
-