Class FailureDescription

java.lang.Object
org.palladiosimulator.reliability.solver.pcm2markov.FailureDescription

public class FailureDescription extends Object
Describes a point of failure in a PCM model.
  • Constructor Details

    • FailureDescription

      public FailureDescription(MarkovFailureType type, double probability)
      Creates a new FailureDescription.
      Parameters:
      type - the type of failure
      probability - the probability of failure
  • Method Details

    • getFailureProbability

      public final double getFailureProbability()
      Retrieves the probability of failure.
      Returns:
      the probability of failure
    • getFailureType

      public final MarkovFailureType getFailureType()
      Retrieves the type of failure.
      Returns:
      the type of failure
    • setFailureProbability

      public void setFailureProbability(double failureProbability)
      Overwrites an existing failure probability.
      Parameters:
      failureProbability -