public class PositionalDistance extends Object implements IntPermDistanceCalc, Serializable
| Constructor and Description |
|---|
PositionalDistance() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateDistance(IntPermutation perm1,
IntPermutation perm2)
Calculates normalised distance between two permutations perm1 and perm2
|
double |
getMaxDist() |
double |
getMinDist() |
public double calculateDistance(IntPermutation perm1, IntPermutation perm2) throws Exception
IntPermDistanceCalccalculateDistance in interface IntPermDistanceCalcExceptionpublic double getMaxDist()
getMaxDist in interface IntPermDistanceCalcpublic double getMinDist()
getMinDist in interface IntPermDistanceCalcCopyright © 2020. All rights reserved.