Package jason.architecture
Class MindInspectorAgArch
java.lang.Object
jason.architecture.AgArch
jason.architecture.MindInspectorAgArch
- All Implemented Interfaces:
Serializable,Comparable<AgArch>
ArArch that displays the mind state of the agent
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Documentprotected booleanprotected booleanprotected Stringprotected static JFrameprotected JCheckBoxprotected JSliderprotected JTextPaneprotected static JTabbedPaneprotected asl2xmlprotected intprotected MindInspectorWeb -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidinit()voidA call-back method called by TS when a new reasoning cycle is startingvoidsetupMindInspector(String configuration) process the mindinspector parameter used in the agent option in .mas2j project.voidstop()A call-back method called by the infrastructure tier when the agent is about to be killed.Methods inherited from class jason.architecture.AgArch
act, actionExecuted, broadcast, canSleep, checkMail, compareTo, createCustomArchs, equals, getAgArchClassesChain, getAgName, getCycleNumber, getFirstAgArch, getNextAgArch, getRuntimeServices, getStatus, getTS, hashCode, incCycleNumber, insertAgArch, isRunning, perceive, reasoningCycleFinished, sendMsg, setCycleNumber, setTS, toString, wake, wakeUpAct, wakeUpDeliberate, wakeUpSense
-
Field Details
-
hasMindInspectorByCycle
protected transient boolean hasMindInspectorByCycle -
updateInterval
protected transient int updateInterval -
mindInspectorFrame
-
mindInspectorTab
-
mindInspectorPanel
-
mindInspectorHistorySlider
-
mindInspectorFreeze
-
mindInspectorHistory
-
mindInspectorTransformer
-
mindInspectorDirectory
-
show
-
agState
-
webServer
-
hasHistory
protected transient boolean hasHistory
-
-
Constructor Details
-
MindInspectorAgArch
public MindInspectorAgArch()
-
-
Method Details
-
init
public void init() -
stop
public void stop()A call-back method called by the infrastructure tier when the agent is about to be killed. -
reasoningCycleStarting
public void reasoningCycleStarting()Description copied from class:AgArchA call-back method called by TS when a new reasoning cycle is starting- Overrides:
reasoningCycleStartingin classAgArch
-
setupMindInspector
process the mindinspector parameter used in the agent option in .mas2j project. E.g. agents bob x.asl [mindinspector="gui(cycle,html)"]; General syntax of the parameter: [gui|file|web] ( [ cycle|number ] , [xml,html] [, history | directory] ) -
addAgState
protected void addAgState()
-