public class AvatarResults extends Object
Constructor and Description |
---|
AvatarResults(Simulation _sim,
JTextArea _progress,
AvatarConfigFrame _parent,
boolean _quiet,
StatefulLogicalModel _model,
File _memFile,
File _logFile,
File _resFile,
File _csvFile,
JButton _brun,
JButton _stop)
Creates the necessary context to run a simulation and display its results
|
Modifier and Type | Method and Description |
---|---|
static void |
errorDisplay(String errorMessage,
Exception e)
Displays a message of error whenever a simulation is not successfully
executed
|
void |
kill(boolean dialog) |
void |
runAvatarResults()
Executes the instantiated simulation and displays its results
|
void |
showOutputFrame(Result res)
Creates the graphical display of the results from an executed simulation
(called after finishing 'runAvatarResults')
|
public AvatarResults(Simulation _sim, JTextArea _progress, AvatarConfigFrame _parent, boolean _quiet, StatefulLogicalModel _model, File _memFile, File _logFile, File _resFile, File _csvFile, JButton _brun, JButton _stop)
_sim
- the simulation_progress
- the component for posting updates during the execution of a
simulation_parent
- the parent panel_quiet
- whether detailed logs are to be printed (default: true)_model
- the stateful logical model possibly defining a set of initial
states and oracles_memFile
- the directory or file to save plots_logFile
- the file to print logspublic void runAvatarResults()
public void kill(boolean dialog)
public void showOutputFrame(Result res)
res
- the results to be displayedCopyright © 2005–2020. All rights reserved.