#include <hash.h>
Public Member Functions | |
UnivHash_noPrimes (float k, float l) | |
UnivHash_noPrimes (Moses::FileHandler *fin) | |
~UnivHash_noPrimes () | |
T | hash (const char *s, count_t h) |
T | hash (const wordID_t *id, const int len, count_t h) |
T | hash (const P x, count_t h) |
void | save (Moses::FileHandler *fout) |
void | load (Moses::FileHandler *fin) |
Definition at line 85 of file hash.h.
UnivHash_noPrimes< T >::UnivHash_noPrimes | ( | float | k, | |
float | l | |||
) | [inline] |
UnivHash_noPrimes< T >::UnivHash_noPrimes | ( | Moses::FileHandler * | fin | ) | [inline] |
Definition at line 94 of file hash.h.
References UnivHash_noPrimes< T >::load().
UnivHash_noPrimes< T >::~UnivHash_noPrimes | ( | ) | [inline] |
T UnivHash_noPrimes< T >::hash | ( | const P | x, | |
count_t | h | |||
) | [inline] |
T UnivHash_noPrimes< T >::hash | ( | const wordID_t * | id, | |
const int | len, | |||
count_t | h | |||
) | [inline, virtual] |
Implements HashBase< T >.
Definition at line 232 of file hash.h.
References UnivHash_noPrimes< T >::hash(), HashBase< T >::m_, and T.
T UnivHash_noPrimes< T >::hash | ( | const char * | s, | |
count_t | h | |||
) | [inline, virtual] |
Implements HashBase< T >.
Definition at line 244 of file hash.h.
References HashBase< T >::m_, MAX_STR_LEN, and T.
Referenced by UnivHash_noPrimes< T >::hash().
void UnivHash_noPrimes< T >::load | ( | Moses::FileHandler * | fin | ) | [inline, virtual] |
Reimplemented from HashBase< T >.
Definition at line 265 of file hash.h.
References T.
Referenced by UnivHash_noPrimes< T >::UnivHash_noPrimes().
void UnivHash_noPrimes< T >::save | ( | Moses::FileHandler * | fout | ) | [inline, virtual] |