Package jason.asSemantics
Class TransitionSystem
java.lang.Object
jason.asSemantics.TransitionSystem
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidact()voidadds an object that will be notified about events on goals (creation, suspension, ...)voidbooleancanSleep()booleanbooleanbooleanprotected voidcheckHardDeadline(Event evt) voidfindEventForFailure(Intention i, Trigger tevent) booleangenerateGoalDeletion(Intention i, List<Term> failAnnots, Term reason) generate a failure event for an intentiongetAg()getC()protected PlanLibraryDeprecated.use getAgArchbooleanvoidbooleanvoidSchedule a task to be executed in the beginning of the next reasoning cycle.voidsense()voidvoidvoidtoString()voidbooleanupdateEvents(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
-