Package jason.control
Class ExecutionControlGUI
java.lang.Object
jason.control.ExecutionControl
jason.control.ExecutionControlGUI
-
Field Summary
FieldsFields inherited from class jason.control.ExecutionControl
infraControl, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcalled when all agents have finished the current cycleprotected voidvoidThis method is called when setExecutionControlInfraTier was already calledvoidreceiveFinishedCycle(String agName, boolean breakpoint, int cycle) Called when the agent agName has finished its reasoning cycle.protected voidstartRun()voidstop()This method is called when MAS execution is being finishedprotected voidstopRun()stop the executionprotected voidstoreAgHistory(String agName, int cycle, Document doc) protected booleantestStop()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:ExecutionControlThis method is called when setExecutionControlInfraTier was already called- Overrides:
initin classExecutionControl
-
stop
public void stop()Description copied from class:ExecutionControlThis method is called when MAS execution is being finished- Overrides:
stopin 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:
receiveFinishedCyclein classExecutionControl
-
allAgsFinished
protected void allAgsFinished()called when all agents have finished the current cycle- Overrides:
allAgsFinishedin classExecutionControl
-
testStop
protected boolean testStop()test whether to stop running and show the agent state -
storeAgHistory
-