Class ComponentSensitivity
- java.lang.Object
-
- org.palladiosimulator.reliability.solver.sensitivity.MarkovSensitivity
-
- org.palladiosimulator.reliability.solver.sensitivity.ComponentSensitivity
-
public class ComponentSensitivity extends MarkovSensitivity
Provides sensitivity support to alter the failure probabilities of all internal actions within one component.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.reliability.solver.sensitivity.MarkovSensitivity
calculator, helper, LOGGER, logWriter, model, name, numberOfSteps
-
-
Constructor Summary
Constructors Constructor Description ComponentSensitivity(String name, String componentId, DoubleParameterVariation variation)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanalterModel()Alters the model according to the next sensitivity analysis step.protected voidextractSensitivityInformation()Extracts the relevant sensitivity information from the given model.protected List<List<String>>getLogHeadingsMulti()Builds the headings strings for logging.protected List<String>getLogSingleResultsMulti()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 Detail
-
ComponentSensitivity
public ComponentSensitivity(String name, String componentId, DoubleParameterVariation variation)
The constructor.- Parameters:
name- the name of the sensitivity analysiscomponentId- the ID of the component to altervariation- the parameter variation
-
-
Method Detail
-
alterModel
protected boolean alterModel()
Alters the model according to the next sensitivity analysis step.- Specified by:
alterModelin 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:
extractSensitivityInformationin classMarkovSensitivity
-
getLogHeadingsMulti
protected List<List<String>> getLogHeadingsMulti()
Builds the headings strings for logging.- Specified by:
getLogHeadingsMultiin classMarkovSensitivity- Returns:
- the log headings strings
-
getLogSingleResultsMulti
protected List<String> getLogSingleResultsMulti()
Builds the results strings for sensitivity logging.- Specified by:
getLogSingleResultsMultiin classMarkovSensitivity- Returns:
- the results strings
-
-