Hash_shiftAddXOR< T > Class Template Reference

#include <hash.h>

Inheritance diagram for Hash_shiftAddXOR< T >:

Inheritance graph
[legend]
Collaboration diagram for Hash_shiftAddXOR< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Hash_shiftAddXOR (float m, count_t H=5)
 ~Hash_shiftAddXOR ()
T hash (const char *s, count_t h)
T hash (const wordID_t *id, const int len, count_t h)


Detailed Description

template<typename T>
class Hash_shiftAddXOR< T >

Todo:
ask abby2

Definition at line 117 of file hash.h.


Constructor & Destructor Documentation

template<typename T >
Hash_shiftAddXOR< T >::Hash_shiftAddXOR ( float  m,
count_t  H = 5 
) [inline]

Definition at line 120 of file hash.h.

template<typename T >
Hash_shiftAddXOR< T >::~Hash_shiftAddXOR (  )  [inline]

Definition at line 124 of file hash.h.


Member Function Documentation

template<typename T >
T Hash_shiftAddXOR< T >::hash ( const wordID_t id,
const int  len,
count_t  h 
) [inline, virtual]

Implements HashBase< T >.

Definition at line 128 of file hash.h.

template<typename T >
T Hash_shiftAddXOR< T >::hash ( const char *  s,
count_t  h 
) [inline, virtual]

Implements HashBase< T >.

Definition at line 168 of file hash.h.

References HashBase< T >::m_, MAX_STR_LEN, and T.


The documentation for this class was generated from the following file:

Generated on Mon Aug 17 00:32:00 2015 for Moses by  doxygen 1.5.9