Interface DistanceMatrix<A extends Order,​B extends Order>

    • Method Detail

      • init

        void init​(StochasticLanguage<A> languageA,
                  StochasticLanguage<B> languageB,
                  org.processmining.framework.plugin.ProMCanceller canceller)
           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getDistances

        double[] getDistances()
        Gives an array with distances, for use in lpsolve. Notice: there are "empty" values in this array to make it directly suitable for lpsolve. Should be a fast method (all computations must have been done in the init function)
        Returns:
      • getDistance

        double getDistance​(int l,
                           int m)
        Get one particular distance. Should be a fast method (all computations must have been done in the init function)
        Parameters:
        l -
        m -
        Returns: