Interface NormalizedPermutationDistanceMeasurer

    • Method Detail

      • max

        int max​(int length)
        Computes the maximum possible distance between permutations of a specified length.
        Parameters:
        length - Permutation length.
        Returns:
        the maximum distance between a pair of permutations of the specified length.