You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
[4.3.0] - 2022-10-17
Added
EditDistanceDouble: extracted from EditDistance (for sequences) all of the distancef methods for
double-valued distances. The original EditDistance now subclasses this one to retain existing functionality.
Extracted the following classes from SequenceSampler that implement different algorithms for efficiently
randomly sampling array elements without replacement:
SequencePoolSampler: the pool sampling algorithm of Ernvall and Nevalainen (1982),
SequenceReservoirSampler: the reservoir sampling algorithm of Vitter (1985),
SequenceInsertionSampler: the insertion sampling algorithm of Cicirello (2022), and
SequenceCompositeSampler: the composite of the above three of Cicirello (2022).
Changed
Refactored the following classes to reduce cyclomatic complexity, or for other maintainability reasons:
SequenceSampler
ExactMatchDistance (for sequences)
KendallTauSequenceDistance
EditDistance (for sequences)
Deprecated
The SequenceSampler.sampleReservoir methods, which are now replaced by the SequenceReservoirSampler class.
The SequenceSampler.samplePool methods, which are now replaced by the SequencePoolSampler class.
The SequenceSampler.sampleInsertion methods, which are now replaced by the SequenceInsertionSampler class.