Class MarkovSolver
java.lang.Object
org.palladiosimulator.reliability.solver.MarkovSolver
This class solves Markov Chains in the sense that it calculates the probability of getting from
the Start State to the Success State (but not into the Failure State).
-
Method Summary
Modifier and TypeMethodDescriptionstatic MarkovSolver
Retrieves the singleton solver instance.double[][]
solve
(MarkovChain markovChain) Calculates the probability for the given Markov Chain to reach the Success State starting from the Start State.
-
Method Details
-
getSingletonInstance
Retrieves the singleton solver instance.- Returns:
- the singleton solver instance
-
solve
Calculates the probability for the given Markov Chain to reach the Success State starting from the Start State.- Parameters:
markovChain
- the given Markov Chain- Returns:
- the probability matrix
-