#include <hash.h>


Public Member Functions | |
| UnivHash_linear (float m, count_t H, P pr) | |
| UnivHash_linear (FileHandler *fin) | |
| ~UnivHash_linear () | |
| T | hash (const char *s, count_t h) |
| T | hash (const wordID_t *id, const int len, count_t h) |
| T | hash (const wordID_t id, const count_t pos, const T prevValue, count_t h) |
| void | save (FileHandler *fout) |
| void | load (FileHandler *fin) |
Definition at line 45 of file hash.h.
| UnivHash_linear< T >::UnivHash_linear | ( | float | m, | |
| count_t | H, | |||
| P | pr | |||
| ) | [inline] |
| UnivHash_linear< T >::UnivHash_linear | ( | FileHandler * | fin | ) | [inline] |
| UnivHash_linear< T >::~UnivHash_linear | ( | ) | [inline] |
| T UnivHash_linear< T >::hash | ( | const wordID_t | id, | |
| const count_t | pos, | |||
| const T | prevValue, | |||
| count_t | h | |||
| ) | [inline] |
| T UnivHash_linear< T >::hash | ( | const wordID_t * | id, | |
| const int | len, | |||
| count_t | h | |||
| ) | [inline, virtual] |
Implements HashBase< T >.
Definition at line 271 of file hash.h.
References CHECK, HashBase< T >::m_, and value.
| T UnivHash_linear< T >::hash | ( | const char * | s, | |
| count_t | h | |||
| ) | [inline, virtual] |
Implements HashBase< T >.
Definition at line 57 of file hash.h.
Referenced by PerfectHash< T >::insert(), PerfectHash< T >::query(), PerfectHash< T >::remove(), PerfectHash< T >::update(), and PerfectHash< T >::update2().

| void UnivHash_linear< T >::load | ( | FileHandler * | fin | ) | [inline] |
Definition at line 304 of file hash.h.
References MAX_NGRAM_ORDER.
Referenced by UnivHash_linear< count_t >::UnivHash_linear().

| void UnivHash_linear< T >::save | ( | FileHandler * | fout | ) | [inline] |
1.5.9