Package jason.control

Class ExecutionControlGUI

java.lang.Object
jason.control.ExecutionControl
jason.control.ExecutionControlGUI

public class ExecutionControlGUI
extends ExecutionControl
  • Field Details

    • currentAgState

      java.lang.String currentAgState
    • currentAgName

      java.lang.String currentAgName
    • agShownState

      int agShownState
    • agsHistory

      private java.util.Map<java.lang.String,​java.util.Map<java.lang.Integer,​org.w3c.dom.Document>> agsHistory
    • countCycles

      private int countCycles
    • maxCycles

      private int maxCycles
    • waitAllAgs

      private boolean waitAllAgs
    • waitSelectedAg

      private boolean waitSelectedAg
    • breakpoint

      private boolean breakpoint
    • agTransformerXML

      asl2xml agTransformerXML
    • agTransformerTex

      asl2tex agTransformerTex
    • agTransformerHtml

      asl2html agTransformerHtml
    • agTransformer

      asl2xml agTransformer
    • frame

      javax.swing.JFrame frame
    • jTfSteps

      javax.swing.JTextField jTfSteps
    • jCbWho

      javax.swing.JComboBox jCbWho
    • jBtRun

      javax.swing.JButton jBtRun
    • jCbViewAs

      javax.swing.JComboBox jCbViewAs
    • jHistory

      javax.swing.JSlider jHistory
    • jTA

      javax.swing.JTextPane jTA
    • jList

      javax.swing.JList jList
    • spList

      javax.swing.JPanel spList
    • listModel

      javax.swing.DefaultListModel listModel
    • agState

      org.w3c.dom.Document agState
    • show

      java.util.Map<java.lang.String,​java.lang.Boolean> show
    • title

      public static java.lang.String title
    • previousMind

      private java.lang.String previousMind
    • executor

      private java.util.concurrent.ExecutorService executor
  • Constructor Details

    • ExecutionControlGUI

      public ExecutionControlGUI()
  • Method Details

    • init

      public void init​(java.lang.String[] args)
      Description copied from class: ExecutionControl
      This method is called when setExecutionControlInfraTier was already called
      Overrides:
      init in class ExecutionControl
    • initComponents

      void initComponents()
    • setListOfAgsFromInfra

      void setListOfAgsFromInfra()
    • setupSlider

      private void setupSlider()
    • stop

      public void stop()
      Description copied from class: ExecutionControl
      This method is called when MAS execution is being finished
      Overrides:
      stop in class ExecutionControl
    • inspectAgent

      private void inspectAgent​(java.lang.String agName)
    • showAgState

      void showAgState()
      show current agent state
    • hyperLink

      private void hyperLink​(javax.swing.event.HyperlinkEvent evt)
    • startRun

      protected void startRun()
    • stopRun

      protected void stopRun()
      stop the execution
    • continueRun

      protected void continueRun()
    • receiveFinishedCycle

      public void receiveFinishedCycle​(java.lang.String agName, boolean breakpoint, int cycle)
      Called when the agent agName has finished its reasoning cycle. breakpoint is true in case the agent selected one plan with "breakpoint" annotation.
      Overrides:
      receiveFinishedCycle in class ExecutionControl
    • allAgsFinished

      protected void allAgsFinished()
      called when all agents have finished the current cycle
      Overrides:
      allAgsFinished in class ExecutionControl
    • testStop

      protected boolean testStop()
      test whether to stop running and show the agent state
    • storeAgHistory

      protected void storeAgHistory​(java.lang.String agName, int cycle, org.w3c.dom.Document doc)