public abstract class Simulation extends Object
Modifier and Type | Field and Description |
---|---|
protected ChartGNUPlot |
chart |
protected boolean |
exit |
boolean |
isGUI
whether a graphical or programmatic interface is being used (to store
outputs)
|
protected int |
memory |
protected StatefulLogicalModel |
model |
protected List<CompactStateSet> |
oracle |
String |
outputDir
output directory to save the outputs
|
boolean |
quiet
whether detailed logs of the behavior of the simulation are to be printed
(true is suggested to not hamper efficiency)
|
protected String |
resultLog |
protected Thread |
t1 |
Constructor and Description |
---|
Simulation() |
Modifier and Type | Method and Description |
---|---|
void |
addModel(StatefulLogicalModel _model) |
abstract void |
dynamicUpdateValues()
Updates a simulation with parameterizations dynamically fixed based on the
properties of the input model
|
void |
exit() |
abstract String |
getName() |
protected void |
output(String s) |
abstract String |
parametersToString()
Prints the current parameters
|
protected void |
publish(String note) |
Result |
run() |
abstract Result |
runSim()
Performs the simulation
|
Result |
runSimulation()
Performs the simulation
|
protected String |
saveOutput() |
void |
setComponents(JTextArea _progress) |
public String outputDir
public boolean isGUI
public boolean quiet
protected StatefulLogicalModel model
protected List<CompactStateSet> oracle
protected String resultLog
protected ChartGNUPlot chart
protected int memory
protected boolean exit
protected Thread t1
public void addModel(StatefulLogicalModel _model)
public Result runSimulation() throws Exception
Exception
public abstract Result runSim() throws Exception
Exception
public abstract String parametersToString()
public abstract String getName()
public abstract void dynamicUpdateValues()
protected void output(String s)
protected String saveOutput()
public void exit()
public void setComponents(JTextArea _progress)
protected void publish(String note)
Copyright © 2005–2020. All rights reserved.