Class VariableUsageSensitivity
java.lang.Object
org.palladiosimulator.reliability.solver.sensitivity.MarkovSensitivity
org.palladiosimulator.reliability.solver.sensitivity.VariableUsageSensitivity
This class provides rudimentary support for sensitivity analysis of a system call variable usage.
Further refactorings required.
-
Field Summary
Fields inherited from class org.palladiosimulator.reliability.solver.sensitivity.MarkovSensitivity
calculator, helper, LOGGER, logWriter, model, name, numberOfSteps -
Constructor Summary
ConstructorsConstructorDescriptionVariableUsageSensitivity(String name, String elementId, String parameterName, org.palladiosimulator.pcm.parameter.VariableCharacterisationType characterisationType, VariableUsageType parameterType, StringParameterSequence sequence) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanAlters the model according to the next sensitivity analysis step.protected voidExtracts 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
-
VariableUsageSensitivity
public VariableUsageSensitivity(String name, String elementId, String parameterName, org.palladiosimulator.pcm.parameter.VariableCharacterisationType characterisationType, VariableUsageType parameterType, StringParameterSequence sequence) The constructor.- Parameters:
name- the name of the sensitivity analysiselementId- the ID of the EntryLevelSystemCall or BasicComponent to alterparameterName- the qualified name of the modelled PCM parametercharacterisationType- the property of the parameter to alterparameterType- the type of parameter usage (input parameter for EntryLevelSystemCall or component parameter)sequence- the sequence of parameter value specifications
-
-
Method Details
-
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
Builds the headings strings for logging.- Specified by:
getLogHeadingsMultiin classMarkovSensitivity- Returns:
- the log headings strings
-
getLogSingleResultsMulti
Builds the results strings for sensitivity logging.- Specified by:
getLogSingleResultsMultiin classMarkovSensitivity- Returns:
- the results strings
-