public class PerformanceExperiment extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Long |
duration |
protected static String |
engine |
protected EolModule |
eolModule |
static AssumeMatlabInstalled |
installation |
Integer |
iteration |
protected static int |
maxIterations |
protected static int |
maxModels
SETUP
|
protected SimulinkModel |
model |
Integer |
modelId |
org.junit.rules.TestName |
name |
boolean |
optimisation |
protected static String |
path |
Integer |
queryId |
protected static File |
resultsFile |
protected static Path |
root |
protected static int |
totalQueries |
protected static int |
warmupIterations |
| Constructor and Description |
|---|
PerformanceExperiment() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteNonExisting() |
protected void |
dispose() |
void |
execution() |
protected static String[] |
getHeaders() |
protected File |
getModel(Integer id) |
protected String |
getScript(Integer id) |
protected void |
loadModel()
Helpers
|
static Iterable<Object[]> |
parameters() |
protected void |
parseAndPopulateScript() |
void |
prepareForExecution() |
protected static void |
prepareResultFile(File file,
String... headers) |
static void |
setup() |
protected void |
writeResults(File file,
Object... record) |
protected static String path
protected static String engine
protected static File resultsFile
protected static final Path root
protected SimulinkModel model
protected EolModule eolModule
protected Long duration
protected static int maxModels
protected static int totalQueries
protected static int maxIterations
protected static int warmupIterations
public static AssumeMatlabInstalled installation
public Integer queryId
public Integer modelId
public boolean optimisation
public Integer iteration
public org.junit.rules.TestName name
protected static void prepareResultFile(File file, String... headers) throws IOException
IOExceptionprotected static String[] getHeaders()
public void deleteNonExisting()
throws IOException
IOExceptionpublic void execution()
protected void dispose()
protected String getScript(Integer id) throws IOException
IOExceptionprotected void writeResults(File file, Object... record) throws IOException
IOExceptionCopyright © 2020. All rights reserved.