Class UsageBranchSensitivity
- java.lang.Object
-
- org.palladiosimulator.solver.reliability.sensitivity.MarkovSensitivity
-
- org.palladiosimulator.solver.reliability.sensitivity.UsageBranchSensitivity
-
public class UsageBranchSensitivity extends MarkovSensitivity
Provides sensitivity support to alter the branch probability of a probabilistic usage branch transition.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.solver.reliability.sensitivity.MarkovSensitivity
calculator, helper, LOGGER, logWriter, model, name, numberOfSteps
-
-
Constructor Summary
Constructors Constructor Description UsageBranchSensitivity(String name, String branchId, String behaviourId, org.palladiosimulator.reliability.sensitivity.DoubleParameterVariation variation)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
alterModel()
Alters the model according to the next sensitivity analysis step.protected void
extractSensitivityInformation()
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.solver.reliability.sensitivity.MarkovSensitivity
finalize, getCurrentStepNumber, getDoubleVariation, getLogSingleResults, getModel, getNextModel, getStringSequence, increaseCurrentStepNumber, initialize, logResults, resetCurrentStepNumber, setLogFileName, setModel, setResultSpecifications
-
-
-
-
Constructor Detail
-
UsageBranchSensitivity
public UsageBranchSensitivity(String name, String branchId, String behaviourId, org.palladiosimulator.reliability.sensitivity.DoubleParameterVariation variation)
The constructor.- Parameters:
name
- the name of the sensitivity analysisbranchId
- the id of the usage branch to alterbehaviourId
- the id of the involved branch behaviourvariation
- the parameter variation
-
-
Method Detail
-
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
protected List<List<String>> getLogHeadingsMulti()
Builds the headings strings for logging.- Specified by:
getLogHeadingsMulti
in classMarkovSensitivity
- Returns:
- the log headings strings
-
getLogSingleResultsMulti
protected List<String> getLogSingleResultsMulti()
Builds the results strings for sensitivity logging.- Specified by:
getLogSingleResultsMulti
in classMarkovSensitivity
- Returns:
- the results strings
-
-