public interface NormalizedPermutationDistanceMeasurerDouble
| Modifier and Type | Method and Description |
|---|---|
double |
maxf(int length)
Computes the maximum possible distance between permutations
of a specified length.
|
double |
normalizedDistance(Permutation p1,
Permutation p2)
Measures the distance between two permutations, normalized to the interval [0.0, 1.0].
|
double normalizedDistance(Permutation p1, Permutation p2)
Measures the distance between two permutations, normalized to the interval [0.0, 1.0].
p1 - first permutationp2 - second permutationdouble maxf(int length)
length - Permutation length.Copyright © 2005-2020 Vincent A. Cicirello. All rights reserved.