Class SensitivityCalculator
java.lang.Object
org.palladiosimulator.reliability.solver.sensitivity.SensitivityCalculator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecalculateCurrentDoubleValue(DoubleParameterVariation variation, int stepNumber, double baseValue) Calculates the current double value from a given parameter variation and step number.calculateCurrentStringValue(StringParameterSequence sequence, int stepNumber) Calculates the current string value from a given parameter variation and step number.doublecalculateFailurePotential(MarkovTransformationResult result, SensitivityResultSpecification specification) Calculates the total failure potential associated to a given sensitivity result specification.intCalculates the number of steps to perform for a given parameter variation.getCurrentLogEntry(SensitivityParameterVariation variation, int stepNumber) Retrieves the current log entry for a certain sensitivity step.
-
Constructor Details
-
SensitivityCalculator
public SensitivityCalculator()
-
-
Method Details
-
calculateCurrentDoubleValue
public double calculateCurrentDoubleValue(DoubleParameterVariation variation, int stepNumber, double baseValue) Calculates the current double value from a given parameter variation and step number.- Parameters:
variation- the parameter variationstepNumber- the step numberbaseValue- the original value (for offset calculations)- Returns:
- the current value
-
calculateCurrentStringValue
Calculates the current string value from a given parameter variation and step number.- Parameters:
sequence- the parameter variationstepNumber- the step number- Returns:
- the current value
-
calculateFailurePotential
public double calculateFailurePotential(MarkovTransformationResult result, SensitivityResultSpecification specification) Calculates the total failure potential associated to a given sensitivity result specification.- Parameters:
result- the Markov transformation resultspecification- the result specification- Returns:
- the failure potential
-
calculateNumberOfSteps
Calculates the number of steps to perform for a given parameter variation.- Parameters:
variation- the parameter variation- Returns:
- the number of steps to perform
-
getCurrentLogEntry
Retrieves the current log entry for a certain sensitivity step.- Parameters:
variation- the parameter variationstepNumber- the step number- Returns:
- the current log entry
-