Class FindMarkovianRepresentationKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static List<Matrix> findMarkovianRepresentation(List<Matrix> rep, Function2<List<Matrix>, Matrix, List<Matrix>> transfun, Function2<List<Matrix>, Integer, Double> evalfun, Double precision) Obtains a Markovian representation from a non-Markovian one while keeping the size the same, by applying a series of elementary transformations.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • findMarkovianRepresentation

         final static List<Matrix> findMarkovianRepresentation(List<Matrix> rep, Function2<List<Matrix>, Matrix, List<Matrix>> transfun, Function2<List<Matrix>, Integer, Double> evalfun, Double precision)

        Obtains a Markovian representation from a non-Markovian one while keeping the size the same, by applying a series of elementary transformations.

        Parameters:
        rep - The initial non-Markovian representation (list of matrices)
        transfun - A function that transforms the representation using the given similarity transformation matrix
        evalfun - A function that returns how far the representation is from the Markovian one
        precision - A representation is considered Markovian if it is closer than the precision (default 1e-7)
        Returns:

        The Markovian representation, if found. If not found, the closest one is returned.

        Note: This function should not be called directly. It is used by 'phFromME', 'mapFromRAP', etc.