lshkit::LSB< LSH > Class Template Reference

Take the LSB of the hash value. More...

#include <composite.h>

Inheritance diagram for lshkit::LSB< LSH >:

lshkit::FixedTail< LSH, 2 > List of all members.

Public Types

typedef FixedTail< LSH, 2 > Super
typedef Super::Domain Domain

Public Member Functions

template<typename RNG>
 LSB (const Parameter &param, RNG &rng)

Classes

struct  Parameter

Detailed Description

template<typename LSH>
class lshkit::LSB< LSH >

Take the LSB of the hash value.

This is a special case of FixedTail, with the divisor being 2, with the effect of taking only the least significant bit of the hash value. This is mainly used to generate sketches.


The documentation for this class was generated from the following file:
Get LSHKIT at SourceForge.net. Fast, secure and Free Open Source software downloads doxygen