Class SimuComConfig
java.lang.Object
de.uka.ipd.sdq.simulation.core.AbstractSimulationConfig
de.uka.ipd.sdq.simucomframework.core.SimuComConfig
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationConfig,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Integerdefault batch size, arbitrarily chosenstatic final IntegerDefault value for the half width of the stop condition confidence.static final IntegerDefault value for confidence level of the stop condition confidence.static final Integerdefault minimum number of batches, arbitrarily chosenstatic final StringDefault name of model element for the stop condition confidence.static final StringStop condition confidence, URI to model element ?static final BooleanDefault value for the automated batch calculationstatic final Booleanstatic final BooleanDefault selection if stop condition confidence is used.static final Stringstatic final StringSimuCom configuration tabstatic final Stringwhether to simulate linking resources in detail, including marshalling/demarshalling, with Steffen's completions.static final Stringwhether to include throughput in the simulation without marshaling/demarshalling.static final StringFields inherited from class de.uka.ipd.sdq.simulation.core.AbstractSimulationConfig
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 Summary
ConstructorsConstructorDescriptionSimuComConfig(Map<String, Object> configuration, boolean debug) SimuComConfig(Map<String, Object> configuration, boolean debug, org.palladiosimulator.recorderframework.core.config.IRecorderConfigurationFactory configurationFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSimuComConfigExtension(String id, SimuComConfigExtension simuComConfigExtension) protected Objectclone()copy(org.palladiosimulator.analyzer.workflow.core.runconfig.ExperimentRunDescriptor descriptor) Returns a copy of the instance with a replaced descriptor.intvoidgetBatchSize(int batchSize) getClone()intintintde.uka.ipd.sdq.probfunction.math.IRandomGeneratorbooleanbooleanbooleanbooleanbooleanvoidsetAutomaticBatches(boolean automaticBatches) voidsetMinNumberOfBatches(int minNumberOfBatches) Methods inherited from class de.uka.ipd.sdq.simulation.core.AbstractSimulationConfig
addListener, disposeRandomGenerator, getAdditionalExperimentRunDescription, getEngine, getExperimentRunDescriptor, getListeners, getMaxMeasurementsCount, getNameBase, getNameExperimentRun, getRecorderConfigurationFactory, getRecorderName, getSeedFromConfig, getSimulatorId, getSimuTime, getVariationId, getVerboseLogging, isDebug, setAdditionalExperimentRunDescription, setExperimentRunDescriptor, setNameBase
-
Field Details
-
SHOULD_THROW_EXCEPTION
- See Also:
-
DEFAULT_SHOULD_THROW_EXCEPTION
-
DEFAULT_CONFIDENCE_MODELELEMENT_NAME
Default name of model element for the stop condition confidence.- See Also:
-
DEFAULT_CONFIDENCE_MODELELEMENT_URI
Stop condition confidence, URI to model element ?- See Also:
-
DEFAULT_USE_CONFIDENCE
Default selection if stop condition confidence is used. -
DEFAULT_CONFIDENCE_LEVEL
Default value for confidence level of the stop condition confidence. -
DEFAULT_CONFIDENCE_HALFWIDTH
Default value for the half width of the stop condition confidence. -
DEFAULT_CONFIDENCE_USE_AUTOMATIC_BATCHES
Default value for the automated batch calculation -
DEFAULT_CONFIDENCE_BATCH_SIZE
default batch size, arbitrarily chosen -
DEFAULT_CONFIDENCE_MIN_NUMBER_OF_BATCHES
default minimum number of batches, arbitrarily chosen -
SIMULATE_FAILURES
SimuCom configuration tab- See Also:
-
SIMULATE_LINKING_RESOURCES
whether to simulate linking resources in detail, including marshalling/demarshalling, with Steffen's completions.- See Also:
-
SIMULATE_THROUGHPUT_OF_LINKING_RESOURCES
whether to include throughput in the simulation without marshaling/demarshalling.- See Also:
-
USE_CONFIDENCE
- See Also:
-
CONFIDENCE_LEVEL
- See Also:
-
CONFIDENCE_HALFWIDTH
- See Also:
-
CONFIDENCE_MODELELEMENT_URI
- See Also:
-
CONFIDENCE_MODELELEMENT_NAME
- See Also:
-
CONFIDENCE_USE_AUTOMATIC_BATCHES
- See Also:
-
CONFIDENCE_BATCH_SIZE
- See Also:
-
CONFIDENCE_MIN_NUMBER_OF_BATCHES
- See Also:
-
-
Constructor Details
-
SimuComConfig
public SimuComConfig(Map<String, Object> configuration, boolean debug, org.palladiosimulator.recorderframework.core.config.IRecorderConfigurationFactory configurationFactory) - Parameters:
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_URI
-
SimuComConfig
-
-
Method Details
-
addSimuComConfigExtension
-
getSimuComConfigExtension
-
getSimulateFailures
public boolean getSimulateFailures() -
getSimulateLinkingResources
public boolean getSimulateLinkingResources() -
getSimulateThroughputOfLinkingResources
public boolean getSimulateThroughputOfLinkingResources() -
isUseConfidence
public boolean isUseConfidence() -
getConfidenceLevel
public int getConfidenceLevel() -
getConfidenceHalfWidth
public int getConfidenceHalfWidth() -
getConfidenceModelElementName
-
getConfidenceModelElementURI
-
copy
public SimuComConfig copy(org.palladiosimulator.analyzer.workflow.core.runconfig.ExperimentRunDescriptor descriptor) Returns a copy of the instance with a replaced descriptor.- Parameters:
descriptor- Descriptor of the new instance.- Returns:
- Copy of the instance.
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getClone
- Returns:
- Returns a clone of this instance.
-
setAutomaticBatches
public void setAutomaticBatches(boolean automaticBatches) -
isAutomaticBatches
public boolean isAutomaticBatches() -
getBatchSize
public void getBatchSize(int batchSize) -
getBatchSize
public int getBatchSize() -
setMinNumberOfBatches
public void setMinNumberOfBatches(int minNumberOfBatches) -
getMinNumberOfBatches
public int getMinNumberOfBatches() -
getRandomGenerator
public de.uka.ipd.sdq.probfunction.math.IRandomGenerator getRandomGenerator()
-