Package edu.kit.ipd.sdq.eventsim
Class SimulationConfiguration
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.AbstractSimulationConfig
-
- edu.kit.ipd.sdq.eventsim.SimulationConfiguration
-
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationConfig
,ISimulationConfiguration
,Serializable
public class SimulationConfiguration extends de.uka.ipd.sdq.simulation.AbstractSimulationConfig implements ISimulationConfiguration
A configuration object for a simulation component based advanced simulator configuration. This objects provides all properties necessary to be able to build aEventSimConfig
base on it.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description 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.-
Fields inherited from class de.uka.ipd.sdq.simulation.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
Constructors Constructor Description SimulationConfiguration(Map<String,Object> configuration, boolean debug)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getConfigurationMap()
Gives access to the raw configuration map as created at simulation launch.InstrumentationDescription
getInstrumentationDescription()
PCMModel
getPCMModel()
long[]
getRandomSeed()
boolean
isSimulateLinkingResources()
boolean
isSimulateThroughputOfLinkingResources()
void
setInstrumentationDescription(InstrumentationDescription instrumentationDescription)
void
setModel(PCMModel model)
-
Methods inherited from class de.uka.ipd.sdq.simulation.AbstractSimulationConfig
addListener, disposeRandomGenerator, getAdditionalExperimentRunDescription, getEngine, getExperimentRunDescriptor, getListeners, getMaxMeasurementsCount, getNameBase, getNameExperimentRun, getRecorderConfigurationFactory, getRecorderName, getSeedFromConfig, getSimulatorId, getSimuTime, getVariationId, getVerboseLogging, isDebug, setAdditionalExperimentRunDescription, setExperimentRunDescriptor, setNameBase
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationConfig
getNameExperimentRun
-
Methods inherited from interface edu.kit.ipd.sdq.eventsim.api.ISimulationConfiguration
getListeners, getMaxMeasurementsCount, getSimuTime, isDebug
-
-
-
-
Field Detail
-
SIMULATE_LINKING_RESOURCES
public static final String SIMULATE_LINKING_RESOURCES
whether to simulate linking resources in detail, including marshalling/demarshalling, with Steffen's completions.- See Also:
- Constant Field Values
-
SIMULATE_THROUGHPUT_OF_LINKING_RESOURCES
public static final String SIMULATE_THROUGHPUT_OF_LINKING_RESOURCES
whether to include throughput in the simulation without marshaling/demarshalling.- See Also:
- Constant Field Values
-
-
Method Detail
-
getConfigurationMap
public Map<String,Object> getConfigurationMap()
Description copied from interface:ISimulationConfiguration
Gives access to the raw configuration map as created at simulation launch.- Specified by:
getConfigurationMap
in interfaceISimulationConfiguration
- Returns:
- A map of configuration keys and values
-
getRandomSeed
public long[] getRandomSeed()
- Specified by:
getRandomSeed
in interfaceISimulationConfiguration
-
getPCMModel
public PCMModel getPCMModel()
- Specified by:
getPCMModel
in interfaceISimulationConfiguration
-
setModel
public void setModel(PCMModel model)
-
setInstrumentationDescription
public void setInstrumentationDescription(InstrumentationDescription instrumentationDescription)
-
getInstrumentationDescription
public InstrumentationDescription getInstrumentationDescription()
-
isSimulateLinkingResources
public boolean isSimulateLinkingResources()
- Specified by:
isSimulateLinkingResources
in interfaceISimulationConfiguration
-
isSimulateThroughputOfLinkingResources
public boolean isSimulateThroughputOfLinkingResources()
- Specified by:
isSimulateThroughputOfLinkingResources
in interfaceISimulationConfiguration
-
-