Inheritance diagram for lshkit::metric::basic_hamming:
Public Member Functions
|unsigned||__hamming (B a, B b)|
|unsigned||__hamming (unsigned char c1, unsigned char c2) const|
Static Public Attributes
|static unsigned||char_bit_cnt |
Take the hamming distance between two values of type T as bit-vectors. Normally you should use hamming instead of basic_hamming.