Package jason.control
Class ExecutionControlGUI
java.lang.Object
jason.control.ExecutionControl
jason.control.ExecutionControlGUI
-
Field Summary
Fields inherited from class jason.control.ExecutionControl
infraControl, logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
called when all agents have finished the current cycleprotected void
void
This method is called when setExecutionControlInfraTier was already calledvoid
receiveFinishedCycle
(String agName, boolean breakpoint, int cycle) Called when the agent agName has finished its reasoning cycle.protected void
startRun()
void
stop()
This method is called when MAS execution is being finishedprotected void
stopRun()
stop the executionprotected void
storeAgHistory
(String agName, int cycle, Document doc) protected boolean
testStop()
test whether to stop running and show the agent stateMethods inherited from class jason.control.ExecutionControl
getCycleNumber, getCycleTimeout, getExecutionControlInfraTier, getNbAgs, isRunning, setExecutionControlInfraTier, setNbAgs, setRunningCycle, startNewCycle, testEndCycle, toString, updateNumberOfAgents
-
Field Details
-
title
-
-
Constructor Details
-
ExecutionControlGUI
public ExecutionControlGUI()
-
-
Method Details
-
init
Description copied from class:ExecutionControl
This method is called when setExecutionControlInfraTier was already called- Overrides:
init
in classExecutionControl
-
stop
public void stop()Description copied from class:ExecutionControl
This method is called when MAS execution is being finished- Overrides:
stop
in classExecutionControl
-
startRun
protected void startRun() -
stopRun
protected void stopRun()stop the execution -
continueRun
protected void continueRun() -
receiveFinishedCycle
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 classExecutionControl
-
allAgsFinished
protected void allAgsFinished()called when all agents have finished the current cycle- Overrides:
allAgsFinished
in classExecutionControl
-
testStop
protected boolean testStop()test whether to stop running and show the agent state -
storeAgHistory
-