lshkit::FixedTail< LSH, range > Class Template Reference

The modulo operation with fixed divisor. More...

#include <composite.h>

List of all members.

Public Types

typedef LSH Super
typedef Super::Domain Domain

Public Member Functions

template<typename RNG>
void reset (const Parameter &param, RNG &rng)
template<typename RNG>
 FixedTail (const Parameter &param, RNG &rng)
unsigned getRange () const
unsigned operator() (Domain obj) const
const LSH & getLsh () const
template<class Archive>
void serialize (Archive &ar, const unsigned int version)

Protected Attributes

LSH lsh_

Classes

struct  Parameter


Detailed Description

template<typename LSH, unsigned range>
class lshkit::FixedTail< LSH, range >

The modulo operation with fixed divisor.

This is the same as Tail, except the divisor is determined at compile time and passed in as a template parameter. Both the Domain and Parameter of the original LSH are kept the same.


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