Class MarkovSolver


  • public class MarkovSolver
    extends Object
    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 Detail

      • getSingletonInstance

        public static MarkovSolver getSingletonInstance()
        Retrieves the singleton solver instance.
        Returns:
        the singleton solver instance
      • solve

        public double[][] solve​(org.palladiosimulator.reliability.markov.MarkovChain markovChain)
        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