SIS
Symmetric Index Structures
/Users/dbr/ma/src/bas/lml/hash.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Hash

Functions

HashHashInit (void *set, UINT(*GetIndexOfNewObject)(void *, const void *), UINT(*GetFirstIndex)(void *), UINT(*GetNextIndex)(void *, UINT), boolean(*Equals)(void *, const void *, UINT), UINT(*HashCode)(void *, const void *, UINT), UINT(*HashCode2)(void *, UINT, UINT))
void HashFree (Hash *hash)
UINT HashAdd (Hash *hash, const void *object)
UINT HashGetIndex (Hash *hash, const void *object)
void HashReset (Hash *hash)

Function Documentation

UINT HashAdd ( Hash hash,
const void *  object 
)

Definition at line 32 of file hash.c.

void HashFree ( Hash hash)

Definition at line 71 of file hash.c.

Referenced by CDAWGBuildHelpFree(), and SuffixTreeBuildHelpFree().

UINT HashGetIndex ( Hash hash,
const void *  object 
)

Definition at line 60 of file hash.c.

Referenced by Delta(), FindRightState(), and lmu::cis::sis::SCDAWGAdapter::FindRightState().

Hash* HashInit ( void *  set,
UINT(*)(void *, const void *)  GetIndexOfNewObject,
UINT(*)(void *)  GetFirstIndex,
UINT(*)(void *, UINT GetNextIndex,
boolean(*)(void *, const void *, UINT Equals,
UINT(*)(void *, const void *, UINT HashCode,
UINT(*)(void *, UINT, UINT HashCode2 
)

Definition at line 5 of file hash.c.

Referenced by CDAWGBuildHelpInit(), and SuffixTreeBuildHelpInit().

void HashReset ( Hash hash)

Definition at line 76 of file hash.c.