Package be.panako.util
Class Hamming
java.lang.Object
be.panako.util.Hamming
public class Hamming
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Hamming()
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Hamming
public Hamming()
-
-
Method Details
-
d
public static int d(int x, int y) -
d
public static int d(long x, long y)Returns Hamming distance between the two long integers. -
d
public static int d(java.util.BitSet x, java.util.BitSet y)
-