Package jason.control

Class ExecutionControlGUI

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

public class ExecutionControlGUI extends ExecutionControl
  • Field Details

    • title

      public static String title
  • Constructor Details

    • ExecutionControlGUI

      public ExecutionControlGUI()
  • Method Details

    • init

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

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

      protected void startRun()
    • stopRun

      protected void stopRun()
      stop the execution
    • continueRun

      protected void continueRun()
    • receiveFinishedCycle

      public void receiveFinishedCycle(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(String agName, int cycle, Document doc)