public class SimuComConfig extends AbstractSimulationConfig implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
static String |
CONFIDENCE_BATCH_SIZE |
static String |
CONFIDENCE_HALFWIDTH |
static String |
CONFIDENCE_LEVEL |
static String |
CONFIDENCE_MIN_NUMBER_OF_BATCHES |
static String |
CONFIDENCE_MODELELEMENT_NAME |
static String |
CONFIDENCE_MODELELEMENT_URI |
static String |
CONFIDENCE_USE_AUTOMATIC_BATCHES |
static Integer |
DEFAULT_CONFIDENCE_BATCH_SIZE
default batch size, arbitrarily chosen
|
static Integer |
DEFAULT_CONFIDENCE_HALFWIDTH
Default value for the half width of the stop condition confidence.
|
static Integer |
DEFAULT_CONFIDENCE_LEVEL
Default value for confidence level of the stop condition confidence.
|
static Integer |
DEFAULT_CONFIDENCE_MIN_NUMBER_OF_BATCHES
default minimum number of batches, arbitrarily chosen
|
static String |
DEFAULT_CONFIDENCE_MODELELEMENT_NAME
Default name of model element for the stop condition confidence.
|
static String |
DEFAULT_CONFIDENCE_MODELELEMENT_URI
Stop condition confidence, URI to model element ?
|
static Boolean |
DEFAULT_CONFIDENCE_USE_AUTOMATIC_BATCHES
Default value for the automated batch calculation
|
static Boolean |
DEFAULT_USE_CONFIDENCE
Default selection if stop condition confidence is used.
|
static String |
SHOULD_THROW_EXCEPTION |
static String |
SIMULATE_FAILURES
SimuCom configuration tab
|
static String |
SIMULATE_LINKING_RESOURCES
whether to simulate linking resources in detail, including marshalling/demarshalling, with Steffen's completions.
|
static String |
SIMULATE_THROUGHPUT_OF_LINKING_RESOURCES
whether to include throughput in the simulation without marshaling/demarshalling.
|
static String |
USE_CONFIDENCE |
DEFAULT_EXPERIMENT_RUN, DEFAULT_MAXIMUM_MEASUREMENT_COUNT, DEFAULT_PERSISTENCE_RECORDER_NAME, DEFAULT_SIMULATION_TIME, DEFAULT_SIMULATOR_ID, DEFAULT_VARIATION_NAME, EXPERIMENT_RUN, FIXED_SEED_PREFIX, MAXIMUM_MEASUREMENT_COUNT, PERSISTENCE_RECORDER_NAME, SIMULATION_TIME, SIMULATOR_ID, USE_FIXED_SEED, VARIATION_ID, VERBOSE_LOGGING
Constructor and Description |
---|
SimuComConfig(Map<String,Object> configuration,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
void |
addSimuComConfigExtension(String id,
SimuComConfigExtension simuComConfigExtension) |
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() |
String |
getConfidenceModelElementName() |
URI |
getConfidenceModelElementURI() |
int |
getMinNumberOfBatches() |
de.uka.ipd.sdq.probfunction.math.IRandomGenerator |
getRandomGenerator() |
SimuComConfigExtension |
getSimuComConfigExtension(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, getSimulatorId, getSimuTime, getVariationId, getVerboseLogging, isDebug, setAdditionalExperimentRunDescription, setExperimentRunDescriptor, setNameBase
public static final String SHOULD_THROW_EXCEPTION
public static final String DEFAULT_CONFIDENCE_MODELELEMENT_NAME
public static final String DEFAULT_CONFIDENCE_MODELELEMENT_URI
public static final Boolean DEFAULT_USE_CONFIDENCE
public static final Integer DEFAULT_CONFIDENCE_LEVEL
public static final Integer DEFAULT_CONFIDENCE_HALFWIDTH
public static final Boolean DEFAULT_CONFIDENCE_USE_AUTOMATIC_BATCHES
public static final Integer DEFAULT_CONFIDENCE_BATCH_SIZE
public static final Integer DEFAULT_CONFIDENCE_MIN_NUMBER_OF_BATCHES
public static final String SIMULATE_FAILURES
public static final String SIMULATE_LINKING_RESOURCES
public static final String SIMULATE_THROUGHPUT_OF_LINKING_RESOURCES
public static final String USE_CONFIDENCE
public static final String CONFIDENCE_LEVEL
public static final String CONFIDENCE_HALFWIDTH
public static final String CONFIDENCE_MODELELEMENT_URI
public static final String CONFIDENCE_MODELELEMENT_NAME
public static final String CONFIDENCE_USE_AUTOMATIC_BATCHES
public static final String CONFIDENCE_BATCH_SIZE
public static final String CONFIDENCE_MIN_NUMBER_OF_BATCHES
public SimuComConfig(Map<String,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(String id, SimuComConfigExtension simuComConfigExtension)
public SimuComConfigExtension getSimuComConfigExtension(String id)
public boolean getSimulateFailures()
public boolean getSimulateLinkingResources()
public boolean getSimulateThroughputOfLinkingResources()
public boolean isUseConfidence()
public int getConfidenceLevel()
public int getConfidenceHalfWidth()
public String getConfidenceModelElementName()
public URI getConfidenceModelElementURI()
public SimuComConfig copy(org.palladiosimulator.analyzer.workflow.runconfig.ExperimentRunDescriptor descriptor)
descriptor
- Descriptor of the new instance.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()