-
- All Superinterfaces:
java.lang.Cloneable
- All Known Implementing Classes:
DistanceMatrixAbstract,DistanceMatrixNormalisedLevenshtein,DistanceMatrixPartialCertainVsPartialCertainLevenshtein,DistanceMatrixPartialUncertainVsPartialCertainLevenshteinBest,DistanceMatrixPartialUncertainVsPartialCertainLevenshteinWorst,DistanceMatrixTotalVsPartialCertainLevenshtein,TransposedDistanceMatrixWrapper
public interface DistanceMatrix<A extends Order,B extends Order> extends java.lang.Cloneable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DistanceMatrix<A,B>clone()doublegetDistance(int l, int m)Get one particular distance.double[]getDistances()Gives an array with distances, for use in lpsolve.voidinit(StochasticLanguage<A> languageA, StochasticLanguage<B> languageB, org.processmining.framework.plugin.ProMCanceller canceller)
-
-
-
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:
-
clone
DistanceMatrix<A,B> clone()
-
-