Class ClassesFailureProbabilityAggregation

java.lang.Object
org.palladiosimulator.reliability.solver.reporting.ClassesFailureProbabilityAggregation

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

    • ClassesFailureProbabilityAggregation

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

    • 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
    • getType

      public FailureAnalysisFailureType getType()
      Returns the failure type.
      Returns:
      the failure type
    • setType

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