Class ClassesFailureProbabilityAggregation


  • public class ClassesFailureProbabilityAggregation
    extends Object
    Class used for aggregation of failure probabilities according to a FailureAnalysisFailureType when considering failure categories (classes).
    • Constructor Detail

      • ClassesFailureProbabilityAggregation

        public ClassesFailureProbabilityAggregation​(FailureAnalysisFailureType failureType)
        Creates a new instance of this class, given the failure analysis failure type.
        Parameters:
        failureAggregationType -
    • Method Detail

      • addToFailureProbabilityBy

        public void addToFailureProbabilityBy​(double failureProbability)
        Adds to the current aggregated failure probability additional failure probability.
        Parameters:
        failureProbability - the failure probability to be added to the existing one
      • getFailureProbability

        public double getFailureProbability()
        Retrieves the aggregated failure probability.
        Returns:
        the aggregated failure probability
      • setType

        public void setType​(FailureAnalysisFailureType failureType)
        Sets the failure type.
        Parameters:
        failureAggregationType - the failure type