Class ResourceMTTRSensitivity
java.lang.Object
org.palladiosimulator.reliability.solver.sensitivity.MarkovSensitivity
org.palladiosimulator.reliability.solver.sensitivity.ResourceMTTRSensitivity
This class provides rudimentary support for sensitivity analysis of a hardware resource MTTR
value.
-
Field Summary
Fields inherited from class org.palladiosimulator.reliability.solver.sensitivity.MarkovSensitivity
calculator, helper, LOGGER, logWriter, model, name, numberOfSteps
-
Constructor Summary
ConstructorDescriptionResourceMTTRSensitivity
(String name, String resourceContainerId, String processingResourceTypeId, DoubleParameterVariation variation) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Alters the model according to the next sensitivity analysis step.protected void
Extracts the relevant sensitivity information from the given model.Builds the headings strings for logging.Builds the results strings for sensitivity logging.Methods inherited from class org.palladiosimulator.reliability.solver.sensitivity.MarkovSensitivity
finalize, getCurrentStepNumber, getDoubleVariation, getLogSingleResults, getModel, getNextModel, getStringSequence, increaseCurrentStepNumber, initialize, logResults, resetCurrentStepNumber, setLogFileName, setModel, setResultSpecifications
-
Constructor Details
-
ResourceMTTRSensitivity
public ResourceMTTRSensitivity(String name, String resourceContainerId, String processingResourceTypeId, DoubleParameterVariation variation) The constructor.- Parameters:
name
- the name of the sensitivity analysisresourceContainerId
- the resource container to alterprocessingResourceTypeId
- the resource type to altervariation
- the parameter variation
-
-
Method Details
-
alterModel
protected boolean alterModel()Alters the model according to the next sensitivity analysis step.- Specified by:
alterModel
in classMarkovSensitivity
- Returns:
- indicates if the model could be successfully altered
-
extractSensitivityInformation
protected void extractSensitivityInformation()Extracts the relevant sensitivity information from the given model.- Specified by:
extractSensitivityInformation
in classMarkovSensitivity
-
getLogHeadingsMulti
Builds the headings strings for logging.- Specified by:
getLogHeadingsMulti
in classMarkovSensitivity
- Returns:
- the log headings strings
-
getLogSingleResultsMulti
Builds the results strings for sensitivity logging.- Specified by:
getLogSingleResultsMulti
in classMarkovSensitivity
- Returns:
- the results strings
-