Skip to content

JavaPermutationTools, v2.6.0

Compare
Choose a tag to compare
@cicirello cicirello released this 02 Apr 17:31
· 834 commits to master since this release

[2.6.0] - 2021-04-02

Added

  • Added the Permutation.Mechanic.set(Permutation, int[], int, int, int) method.

Changed

  • Refactored the SequenceDistanceMeasurer and SequenceDistanceMeasurerDouble interfaces
    into a hierarchy, eliminated an abstract base class made obsolete by that change, and
    changed all sequence distances in the library to use the new hierarchy. This is a non-breaking
    change, as the only thing removed was a package-private abstract class, and the
    change to the SequenceDistanceMeasurer interface was done in such a way that all inherited
    methods have default implementations.
  • Refactored the PermutationDistanceMeasurer, PermutationDistanceMeasurerDouble,
    NormalizedPermutationDistanceMeasurer, and NormalizedPermutationDistanceMeasurerDouble
    interfaces, and all of the classes that implement them, to move default implementations
    from an abstract base class into the appropriate subinterfaces in hierarchy. This is a
    non-breaking change, as the only thing removed was a package-private abstract class, and the
    changes to interfaces were done in such a way that all inherited methods have default
    implementations.