Class FailureDescription
- java.lang.Object
-
- org.palladiosimulator.solver.reliability.pcm2markov.FailureDescription
-
public class FailureDescription extends Object
Describes a point of failure in a PCM model.
-
-
Constructor Summary
Constructors Constructor Description FailureDescription(org.palladiosimulator.reliability.MarkovFailureType type, double probability)
Creates a new FailureDescription.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getFailureProbability()
Retrieves the probability of failure.org.palladiosimulator.reliability.MarkovFailureType
getFailureType()
Retrieves the type of failure.void
setFailureProbability(double failureProbability)
Overwrites an existing failure probability.
-
-
-
Method Detail
-
getFailureProbability
public final double getFailureProbability()
Retrieves the probability of failure.- Returns:
- the probability of failure
-
getFailureType
public final org.palladiosimulator.reliability.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
-
-
-