Modifier and Type | Field and Description |
---|---|
protected org.springframework.beans.factory.BeanFactory |
beanFactory
The Spring BeanFactory instance which is used to construct the
model.
|
protected String |
directoryName
The path name of the directory where report data will be written to.
|
protected SimulationController |
model
The SimulationController for conducting this experiment.
|
protected static cern.jet.random.engine.RandomSeedGenerator |
prngSeedGenerator |
protected Properties |
properties
The properties specified here represent parameter bindings
which override those specified in the original model configuration.
|
Constructor and Description |
---|
SimulationExperiment(org.springframework.beans.factory.BeanFactory beanFactory,
String baseDirName,
int experimentNumber,
Map<String,String> variableBindings,
boolean generateSeeds,
int seedMask) |
SimulationExperiment(Properties properties) |
Modifier and Type | Method and Description |
---|---|
void |
createPropertyFile()
Save the parameter bindings of this experiment to a property file.
|
void |
initialise()
Initialise the model by constructing it from the bean factory
and then applying the parameter bindings specified by the properties
attribute using Spring's properties post-processing feature.
|
void |
logProperties()
Print a summary of the parameter bindings for this experiment
to a log.
|
void |
run()
Run this experiment.
|
protected SimulationController model
protected Properties properties
protected String directoryName
protected org.springframework.beans.factory.BeanFactory beanFactory
protected static cern.jet.random.engine.RandomSeedGenerator prngSeedGenerator
public SimulationExperiment(org.springframework.beans.factory.BeanFactory beanFactory, String baseDirName, int experimentNumber, Map<String,String> variableBindings, boolean generateSeeds, int seedMask)
public SimulationExperiment(Properties properties)
public void initialise()
public void logProperties()
public void createPropertyFile()
Copyright © 2014. All rights reserved.