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
Modifier and TypeFieldDescriptionprotected Document
protected boolean
protected boolean
protected String
protected static JFrame
protected JCheckBox
protected JSlider
protected JTextPane
protected static JTabbedPane
protected asl2xml
protected int
protected MindInspectorWeb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
init()
void
A call-back method called by TS when a new reasoning cycle is startingvoid
setupMindInspector
(String configuration) process the mindinspector parameter used in the agent option in .mas2j project.void
stop()
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:AgArch
A call-back method called by TS when a new reasoning cycle is starting- Overrides:
reasoningCycleStarting
in 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()
-