Class SensitivityCalculator


  • public class SensitivityCalculator
    extends Object
    • Constructor Detail

      • SensitivityCalculator

        public SensitivityCalculator()
    • Method Detail

      • calculateCurrentDoubleValue

        public double calculateCurrentDoubleValue​(org.palladiosimulator.reliability.sensitivity.DoubleParameterVariation variation,
                                                  int stepNumber,
                                                  double baseValue)
        Calculates the current double value from a given parameter variation and step number.
        Parameters:
        variation - the parameter variation
        stepNumber - the step number
        baseValue - the original value (for offset calculations)
        Returns:
        the current value
      • calculateCurrentStringValue

        public String calculateCurrentStringValue​(org.palladiosimulator.reliability.sensitivity.StringParameterSequence sequence,
                                                  int stepNumber)
        Calculates the current string value from a given parameter variation and step number.
        Parameters:
        sequence - the parameter variation
        stepNumber - the step number
        Returns:
        the current value
      • calculateFailurePotential

        public double calculateFailurePotential​(MarkovTransformationResult result,
                                                org.palladiosimulator.reliability.sensitivity.SensitivityResultSpecification specification)
        Calculates the total failure potential associated to a given sensitivity result specification.
        Parameters:
        result - the Markov transformation result
        specification - the result specification
        Returns:
        the failure potential
      • calculateNumberOfSteps

        public int calculateNumberOfSteps​(org.palladiosimulator.reliability.sensitivity.SensitivityParameterVariation variation)
        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

        public String getCurrentLogEntry​(org.palladiosimulator.reliability.sensitivity.SensitivityParameterVariation variation,
                                         int stepNumber)
        Retrieves the current log entry for a certain sensitivity step.
        Parameters:
        variation - the parameter variation
        stepNumber - the step number
        Returns:
        the current log entry