public class SimuComConfig extends AbstractSimulationConfig implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIDENCE_BATCH_SIZE |
static java.lang.String |
CONFIDENCE_HALFWIDTH |
static java.lang.String |
CONFIDENCE_LEVEL |
static java.lang.String |
CONFIDENCE_MIN_NUMBER_OF_BATCHES |
static java.lang.String |
CONFIDENCE_MODELELEMENT_NAME |
static java.lang.String |
CONFIDENCE_MODELELEMENT_URI |
static java.lang.String |
CONFIDENCE_USE_AUTOMATIC_BATCHES |
static java.lang.Integer |
DEFAULT_CONFIDENCE_BATCH_SIZE
default batch size, arbitrarily chosen
|
static java.lang.Integer |
DEFAULT_CONFIDENCE_HALFWIDTH
Default value for the half width of the stop condition confidence.
|
static java.lang.Integer |
DEFAULT_CONFIDENCE_LEVEL
Default value for confidence level of the stop condition confidence.
|
static java.lang.Integer |
DEFAULT_CONFIDENCE_MIN_NUMBER_OF_BATCHES
default minimum number of batches, arbitrarily chosen
|
static java.lang.String |
DEFAULT_CONFIDENCE_MODELELEMENT_NAME
Default name of model element for the stop condition confidence.
|
static java.lang.String |
DEFAULT_CONFIDENCE_MODELELEMENT_URI
Stop condition confidence, URI to model element ?
|
static java.lang.Boolean |
DEFAULT_CONFIDENCE_USE_AUTOMATIC_BATCHES
Default value for the automated batch calculation
|
static java.lang.Boolean |
DEFAULT_USE_CONFIDENCE
Default selection if stop condition confidence is used.
|
static java.lang.String |
SHOULD_THROW_EXCEPTION |
static java.lang.String |
SIMULATE_FAILURES
SimuCom configuration tab
|
static java.lang.String |
SIMULATE_LINKING_RESOURCES
whether to simulate linking resources in detail, including marshalling/demarshalling, with Steffen's completions.
|
static java.lang.String |
SIMULATE_THROUGHPUT_OF_LINKING_RESOURCES
whether to include throughput in the simulation without marshaling/demarshalling.
|
static java.lang.String |
USE_CONFIDENCE |
DEFAULT_EXPERIMENT_RUN, DEFAULT_MAXIMUM_MEASUREMENT_COUNT, DEFAULT_PERSISTENCE_RECORDER_NAME, DEFAULT_SIMULATION_TIME, DEFAULT_SIMULATOR_ID, DEFAULT_VARIATION_NAME, descriptor, EXPERIMENT_RUN, FIXED_SEED_PREFIX, MAXIMUM_MEASUREMENT_COUNT, maxMeasurementsCount, nameExperimentRun, PERSISTENCE_RECORDER_NAME, randomNumberGenerator, randomSeed, recorderConfigurationFactory, recorderName, SIMULATION_TIME, SIMULATOR_ID, simuTime, USE_FIXED_SEED, VARIATION_ID, variationId, VERBOSE_LOGGING
Constructor and Description |
---|
SimuComConfig(java.util.Map<java.lang.String,java.lang.Object> configuration,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
void |
addSimuComConfigExtension(java.lang.String id,
SimuComConfigExtension simuComConfigExtension) |
protected java.lang.Object |
clone() |
SimuComConfig |
copy(org.palladiosimulator.analyzer.workflow.runconfig.ExperimentRunDescriptor descriptor)
Returns a copy of the instance with a replaced descriptor.
|
int |
getBatchSize() |
void |
getBatchSize(int batchSize) |
SimuComConfig |
getClone() |
int |
getConfidenceHalfWidth() |
int |
getConfidenceLevel() |
java.lang.String |
getConfidenceModelElementName() |
URI |
getConfidenceModelElementURI() |
int |
getMinNumberOfBatches() |
de.uka.ipd.sdq.probfunction.math.IRandomGenerator |
getRandomGenerator() |
SimuComConfigExtension |
getSimuComConfigExtension(java.lang.String id) |
boolean |
getSimulateFailures() |
boolean |
getSimulateLinkingResources() |
boolean |
getSimulateThroughputOfLinkingResources() |
boolean |
isAutomaticBatches() |
boolean |
isUseConfidence() |
void |
setAutomaticBatches(boolean automaticBatches) |
void |
setMinNumberOfBatches(int minNumberOfBatches) |
addListener, disposeRandomGenerator, getAdditionalExperimentRunDescription, getEngine, getExperimentRunDescriptor, getListeners, getMaxMeasurementsCount, getNameBase, getNameExperimentRun, getRecorderConfigurationFactory, getRecorderName, getSeedFromConfig, getSimulatorId, getSimuTime, getVariationId, getVerboseLogging, isDebug, setAdditionalExperimentRunDescription, setExperimentRunDescriptor, setNameBase
public static final java.lang.String SHOULD_THROW_EXCEPTION
public static final java.lang.String DEFAULT_CONFIDENCE_MODELELEMENT_NAME
public static final java.lang.String DEFAULT_CONFIDENCE_MODELELEMENT_URI
public static final java.lang.Boolean DEFAULT_USE_CONFIDENCE
public static final java.lang.Integer DEFAULT_CONFIDENCE_LEVEL
public static final java.lang.Integer DEFAULT_CONFIDENCE_HALFWIDTH
public static final java.lang.Boolean DEFAULT_CONFIDENCE_USE_AUTOMATIC_BATCHES
public static final java.lang.Integer DEFAULT_CONFIDENCE_BATCH_SIZE
public static final java.lang.Integer DEFAULT_CONFIDENCE_MIN_NUMBER_OF_BATCHES
public static final java.lang.String SIMULATE_FAILURES
public static final java.lang.String SIMULATE_LINKING_RESOURCES
public static final java.lang.String SIMULATE_THROUGHPUT_OF_LINKING_RESOURCES
public static final java.lang.String USE_CONFIDENCE
public static final java.lang.String CONFIDENCE_LEVEL
public static final java.lang.String CONFIDENCE_HALFWIDTH
public static final java.lang.String CONFIDENCE_MODELELEMENT_URI
public static final java.lang.String CONFIDENCE_MODELELEMENT_NAME
public static final java.lang.String CONFIDENCE_USE_AUTOMATIC_BATCHES
public static final java.lang.String CONFIDENCE_BATCH_SIZE
public static final java.lang.String CONFIDENCE_MIN_NUMBER_OF_BATCHES
public SimuComConfig(java.util.Map<java.lang.String,java.lang.Object> configuration, boolean debug)
configuration
- a map which maps configuration option IDs to their values. The required keys are
SimuComConfig.EXPERIMENT_RUN, SimuComConfig.SIMULATION_TIME
SimuComConfig.MAXIMUM_MEASUREMENT_COUNT SimuComConfig.VERBOSE_LOGGING,
SimuComConfig.DATASOURCE_ID. Optional keys are SimuComConfig.SIMULATE_FAILURES,
SimuComConfig.SIMULATE_LINKING_RESOURCES and SimuComConfig.USE_CONFIDENCE. If
SimuComConfig.USE_CONFIDENCE is set to true, you also need to set
SimuComConfig.CONFIDENCE_LEVEL, SimuComConfig.CONFIDENCE_HALFWIDTH,
SimuComConfig.CONFIDENCE_MODELELEMENT_NAME,
SimuComConfig.CONFIDENCE_MODELELEMENT_URIpublic void addSimuComConfigExtension(java.lang.String id, SimuComConfigExtension simuComConfigExtension)
public SimuComConfigExtension getSimuComConfigExtension(java.lang.String id)
public boolean getSimulateFailures()
public boolean getSimulateLinkingResources()
public boolean getSimulateThroughputOfLinkingResources()
public boolean isUseConfidence()
public int getConfidenceLevel()
public int getConfidenceHalfWidth()
public java.lang.String getConfidenceModelElementName()
public URI getConfidenceModelElementURI()
public SimuComConfig copy(org.palladiosimulator.analyzer.workflow.runconfig.ExperimentRunDescriptor descriptor)
descriptor
- Descriptor of the new instance.protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public SimuComConfig getClone()
public void setAutomaticBatches(boolean automaticBatches)
public boolean isAutomaticBatches()
public void getBatchSize(int batchSize)
public int getBatchSize()
public void setMinNumberOfBatches(int minNumberOfBatches)
public int getMinNumberOfBatches()
public de.uka.ipd.sdq.probfunction.math.IRandomGenerator getRandomGenerator()