Class MarkovComparator

java.lang.Object
org.palladiosimulator.reliability.solver.compare.MarkovComparator

public class MarkovComparator extends Object
Provides functionality to compare two Markov models. The comparison is based on the tracing information which uniquely identifies each Markov state.
  • Constructor Details

    • MarkovComparator

      public MarkovComparator()
  • Method Details

    • compare

      public void compare(MarkovChain firstChain, MarkovChain secondChain)
      Compares two Markov chains.
      Parameters:
      firstChain - the first chain
      secondChain - the second chain
    • compare

      public void compare(String firstMarkovFileName, String secondMarkovFileName)
      Loads and compares the Markov models identified by the two given file names. The files must exist and contain valid Markov models.
      Parameters:
      firstMarkovFileName - the file name of the first Markov model
      secondMarkovFileName - the file name of the second Markov model