Package it.unimi.dsi.law.util
Utility classes.
-
Interface Summary Interface Description ConsistentHashFunction.SkipStrategy<T> Allows to skip suitable items when searching for the closest replica. -
Class Summary Class Description ConsistentHashFunction<T extends Comparable<? super T>> Provides an implementation of consistent hashing.CRC64 Provides static methods to compute 64-bit CRCs of strings and byte arrays.ExchangeCounter Computes the number of discordances between two score vectors using Knight's O(n log n) MergeSort-based algorithm.ExchangeWeigher Computes the weight of discordances using a generalisation of Knight's algorithm.KahanSummation Kahan's summation algorithm encapsulated in an object.NormL1 Deprecated. NormL2 Deprecated. UseNorm.L_2
.Precision A set of commodity methods to manipulate precision of doubles.
Norm.L_1
.