SIS
Symmetric Index Structures
|
Go to the source code of this file.
Data Structures | |
struct | Alphabet |
Defines | |
#define | NO_CODE ((U16)(-1)) |
#define | ALPHABET_FIRST_MARKER ((UINT)(0x10000)) |
#define | mAlphabetGetSize(alph) ( (alph)->maxMarker - NO_CODE + (alph)->numberOfSymbols ) |
#define | mAlphabetGetCode(alph, symbol) |
Functions | |
Alphabet * | AlphabetInit () |
void | AlphabetAdd (Alphabet *alph, const Automaton *aut) |
void | AlphabetFree (Alphabet *alph) |
void | AlphabetWrite (Alphabet *alph, FILE *fp) |
Alphabet * | AlphabetRead (FILE *fp) |
#define ALPHABET_FIRST_MARKER ((UINT)(0x10000)) |
Definition at line 5 of file alphabet.h.
Referenced by AlphabetInit(), AlphabetRead(), and AlphabetWrite().
#define mAlphabetGetCode | ( | alph, | |
symbol | |||
) |
( (symbol) < ALPHABET_FIRST_MARKER ? (alph)->symbolToCode[(symbol)] : \ ( (symbol) > (alph)->maxMarker ? NO_CODE : ( (alph)->maxMarker - NO_CODE + (alph)->numberOfSymbols ) ) )
Definition at line 9 of file alphabet.h.
Referenced by CompressedAutomatonDelta().
#define mAlphabetGetSize | ( | alph | ) | ( (alph)->maxMarker - NO_CODE + (alph)->numberOfSymbols ) |
Definition at line 7 of file alphabet.h.
Referenced by TarjanTableInit().
#define NO_CODE ((U16)(-1)) |
Definition at line 4 of file alphabet.h.
Referenced by AlphabetInit(), and CompressedAutomatonDelta().
void AlphabetAdd | ( | Alphabet * | alph, |
const Automaton * | aut | ||
) |
Definition at line 38 of file alphabet.c.
Referenced by CompressedAutomatonAddTarjanTable().
void AlphabetFree | ( | Alphabet * | alph | ) |
Definition at line 55 of file alphabet.c.
Referenced by CompressedAutomatonFree().
Alphabet* AlphabetInit | ( | ) |
Definition at line 3 of file alphabet.c.
Referenced by CompressedAutomatonAddTarjanTable().
Alphabet* AlphabetRead | ( | FILE * | fp | ) |
Definition at line 86 of file alphabet.c.
Referenced by TarjanTableRead().
void AlphabetWrite | ( | Alphabet * | alph, |
FILE * | fp | ||
) |
Definition at line 60 of file alphabet.c.
Referenced by TarjanTableWrite().