jason.architecture
Class MindInspectorAgArch

Package class diagram package MindInspectorAgArch
java.lang.Object
  extended by jason.architecture.AgArch
      extended by jason.architecture.MindInspectorAgArch
All Implemented Interfaces:
AgArchInfraTier

public class MindInspectorAgArch
extends AgArch

ArArch that displays the mind state of the agent


Field Summary
protected  boolean hasMindInspectorByCycle
           
protected  java.lang.String mindInspectorDirectory
           
protected static javax.swing.JFrame mindInspectorFrame
           
protected  javax.swing.JCheckBox mindInspectorFreeze
           
protected  java.util.List<java.lang.String> mindInspectorHistory
           
protected  javax.swing.JSlider mindInspectorHistorySlider
           
protected  javax.swing.JTextPane mindInspectorPanel
           
protected static javax.swing.JTabbedPane mindInspectorTab
           
protected  asl2xml mindInspectorTransformer
           
protected  int updateInterval
           
 
Constructor Summary
MindInspectorAgArch()
           
 
Method Summary
 void init()
           
 void reasoningCycleStarting()
          A call-back method called by TS when a new reasoning cycle is starting
protected  void setupMindInspector(java.lang.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.
protected  void updateMindInspector()
           
 
Methods inherited from class jason.architecture.AgArch
act, broadcast, canSleep, checkMail, createCustomArchs, getAgArchClassesChain, getAgName, getArchInfraTier, getCycleNumber, getFirstAgArch, getNextAgArch, getRuntimeServices, getTS, incCycleNumber, initAg, insertAgArch, isRunning, perceive, sendMsg, setCycleNumber, setTS, sleep, wake
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasMindInspectorByCycle

protected boolean hasMindInspectorByCycle

updateInterval

protected int updateInterval

mindInspectorFrame

protected static javax.swing.JFrame mindInspectorFrame

mindInspectorTab

protected static javax.swing.JTabbedPane mindInspectorTab

mindInspectorPanel

protected javax.swing.JTextPane mindInspectorPanel

mindInspectorHistorySlider

protected javax.swing.JSlider mindInspectorHistorySlider

mindInspectorFreeze

protected javax.swing.JCheckBox mindInspectorFreeze

mindInspectorHistory

protected java.util.List<java.lang.String> mindInspectorHistory

mindInspectorTransformer

protected asl2xml mindInspectorTransformer

mindInspectorDirectory

protected java.lang.String mindInspectorDirectory
Constructor Detail

MindInspectorAgArch

public MindInspectorAgArch()
Method Detail

init

public void init()
Overrides:
init in class AgArch

stop

public void stop()
A call-back method called by the infrastructure tier when the agent is about to be killed.

Overrides:
stop in class AgArch

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 class AgArch

setupMindInspector

protected void setupMindInspector(java.lang.String configuration)
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] ( [ cycle|number ] , [xml,html] [, history | directory] )


updateMindInspector

protected void updateMindInspector()