Interface PermutationDistanceMeasurerDouble
-
- All Known Subinterfaces:
PermutationDistanceMeasurer
- All Known Implementing Classes:
AcyclicEdgeDistance,BlockInterchangeDistance,CyclicEdgeDistance,CyclicIndependentDistance,CyclicIndependentDistanceDouble,CyclicReversalIndependentDistance,CyclicReversalIndependentDistanceDouble,CyclicRTypeDistance,DeviationDistance,DeviationDistanceNormalized,DeviationDistanceNormalized2005,EditDistance,ExactMatchDistance,InterchangeDistance,KendallTauDistance,LeeDistance,ReinsertionDistance,ReversalDistance,ReversalIndependentDistance,ReversalIndependentDistanceDouble,RTypeDistance,ScrambleDistance,SquaredDeviationDistance
public interface PermutationDistanceMeasurerDoubleImplement this interface, PermutationDistanceMeasurerDouble, to define a distance metric for permutations, where the distance is a floating-point value.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubledistancef(Permutation p1, Permutation p2)Measures the distance between two permutations
-
-
-
Method Detail
-
distancef
double distancef(Permutation p1, Permutation p2)
Measures the distance between two permutations- Parameters:
p1- first permutationp2- second permutation- Returns:
- distance between p1 and p2
-
-