public class RuntimeExperiment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private IExperiment |
experiment |
private ExperimentState |
experimentState |
private static Log |
logger |
private RuntimeProject |
runtimeProject |
Constructor and Description |
---|
RuntimeExperiment(RuntimeProject runtimeProject,
IExperiment experiment) |
Modifier and Type | Method and Description |
---|---|
private ExperimentState |
doSetModelParameters(java.util.Map<java.lang.String,java.lang.String> parameters) |
private ExperimentState |
doSetWatchedVariables(java.util.List<java.lang.String> recordedVariables,
boolean watch) |
java.io.File |
downloadModel(java.lang.String instancePath,
ModelFormat format) |
private IAspectConfiguration |
getAspectConfiguration(Pointer pointer) |
ExperimentState |
getExperimentState() |
ExperimentState |
getExperimentState(java.util.List<java.lang.String> variables,
java.lang.String urlBase) |
private void |
init() |
void |
release() |
private ExperimentState |
setModelParameters(java.util.List<? extends IParameter> modelParameter) |
ExperimentState |
setModelParameters(java.util.Map<java.lang.String,java.lang.String> parameters) |
ExperimentState |
setWatchedVariables(java.util.List<java.lang.String> recordedVariables,
boolean watch) |
java.util.List<ModelFormat> |
supportedOuputs(java.lang.String instancePath) |
void |
uploadResults(java.lang.String aspectID,
ResultsFormat format,
DropboxUploadService dropboxService) |
private ExperimentState experimentState
private IExperiment experiment
private RuntimeProject runtimeProject
private static Log logger
public RuntimeExperiment(RuntimeProject runtimeProject, IExperiment experiment) throws GeppettoExecutionException
GeppettoExecutionException
private void init() throws GeppettoExecutionException
GeppettoExecutionException
private ExperimentState doSetWatchedVariables(java.util.List<java.lang.String> recordedVariables, boolean watch) throws GeppettoExecutionException
recordedVariables
- watch
- GeppettoExecutionException
public ExperimentState setWatchedVariables(java.util.List<java.lang.String> recordedVariables, boolean watch) throws GeppettoExecutionException
recordedVariables
- GeppettoModelException
GeppettoExecutionException
GeppettoInitializationException
public void release()
public java.io.File downloadModel(java.lang.String instancePath, ModelFormat format) throws GeppettoExecutionException
instancePath
- GeppettoExecutionException
public java.util.List<ModelFormat> supportedOuputs(java.lang.String instancePath) throws GeppettoExecutionException
aspectInstancePath
- GeppettoExecutionException
public ExperimentState getExperimentState(java.util.List<java.lang.String> variables, java.lang.String urlBase) throws GeppettoExecutionException
GeppettoExecutionException
private IAspectConfiguration getAspectConfiguration(Pointer pointer) throws GeppettoModelException
experiment
- instancePath
- GeppettoExecutionException
GeppettoModelException
private ExperimentState setModelParameters(java.util.List<? extends IParameter> modelParameter) throws GeppettoExecutionException
instancePath
- modelParameter
- GeppettoExecutionException
public ExperimentState setModelParameters(java.util.Map<java.lang.String,java.lang.String> parameters) throws GeppettoExecutionException
modelAspectPath
- parameters
- GeppettoExecutionException
private ExperimentState doSetModelParameters(java.util.Map<java.lang.String,java.lang.String> parameters) throws GeppettoExecutionException
parameters
- GeppettoExecutionException
public void uploadResults(java.lang.String aspectID, ResultsFormat format, DropboxUploadService dropboxService) throws GeppettoExecutionException
aspectID
- format
- dropboxService
- GeppettoExecutionException
public ExperimentState getExperimentState()