Class MindInspectorAgArch

java.lang.Object
jason.architecture.AgArch
jason.architecture.MindInspectorAgArch
All Implemented Interfaces:
Serializable, Comparable<AgArch>

public class MindInspectorAgArch extends AgArch
ArArch that displays the mind state of the agent
See Also:
  • Field Details

    • hasMindInspectorByCycle

      protected transient boolean hasMindInspectorByCycle
    • updateInterval

      protected transient int updateInterval
    • mindInspectorFrame

      protected static transient JFrame mindInspectorFrame
    • mindInspectorTab

      protected static transient JTabbedPane mindInspectorTab
    • mindInspectorPanel

      protected transient JTextPane mindInspectorPanel
    • mindInspectorHistorySlider

      protected transient JSlider mindInspectorHistorySlider
    • mindInspectorFreeze

      protected transient JCheckBox mindInspectorFreeze
    • mindInspectorHistory

      protected transient List<Document> mindInspectorHistory
    • mindInspectorTransformer

      protected transient asl2xml mindInspectorTransformer
    • mindInspectorDirectory

      protected transient String mindInspectorDirectory
    • show

      protected transient Map<String,Boolean> show
    • agState

      protected transient Document agState
    • webServer

      protected transient MindInspectorWeb webServer
    • hasHistory

      protected transient boolean hasHistory
  • Constructor Details

    • MindInspectorAgArch

      public MindInspectorAgArch()
  • Method Details

    • 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

      public void setupMindInspector(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|web] ( [ cycle|number ] , [xml,html] [, history | directory] )
    • addAgState

      protected void addAgState()