UnivHash_tableXOR< T > Class Template Reference

#include <hash.h>

Inheritance diagram for UnivHash_tableXOR< T >:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UnivHash_tableXOR (float m, count_t H=5)
 ~UnivHash_tableXOR ()
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 UnivHash_tableXOR< T >

Todo:
ask abby2

Definition at line 140 of file hash.h.


Constructor & Destructor Documentation

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

Definition at line 143 of file hash.h.

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

Definition at line 147 of file hash.h.


Member Function Documentation

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

Implements HashBase< T >.

Definition at line 151 of file hash.h.

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

Implements HashBase< T >.

Definition at line 203 of file hash.h.

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


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

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