LexicalAssocMem Struct Reference
[LexicalAssocMem - Lexical Associative Memory module]

Lexical Associative Memory (LAM). More...


Data Fields

LexicalAccessTableaccess_table
LexicalEntry(* access )(const LexicalMemoryHandler lexical_memory, const LexicalEntryIndex key)
 Recover the entry associated to a given key.
LexicalEntry(* getGraphyFromUniqId )(const LexicalMemoryHandler lexical_memory, const UniqId identifier)
 Return the graphy corresponding to its unique identifier.


Detailed Description

Lexical Associative Memory (LAM).

Lexical associative memories store lexical entries and allow to recover the key associated to a given graphy, and the graphy associated to a given key (bidirectional access).

See also:
LexicalAccessTable


Field Documentation

LexicalEntry(* LexicalAssocMem::access)(const LexicalMemoryHandler lexical_memory, const LexicalEntryIndex key)

Recover the entry associated to a given key.

Returns the lexical entry associated to a given key of a lexical memory

Remarks:
If no entry corresponds to the given key, the function returns NULL
Parameters:
[in] lexical_memory The lexical memory
[in] key The key of the entry to recover
Returns:
The corresponding lexical entry

LexicalAccessTable* LexicalAssocMem::access_table

Lexical access table (LAT) encapsulated by the Lexical Associative Memory (LAM)

LexicalEntry(* LexicalAssocMem::getGraphyFromUniqId)(const LexicalMemoryHandler lexical_memory, const UniqId identifier)

Return the graphy corresponding to its unique identifier.

Return the lexical entry given by its unique corresponding identifier.

Remarks:
In a given lexical memory, any stored entry corresponds to a unique identifier and any valid identifier corresponds to a unique stored entry.
Parameters:
[in] lexical_memory The lexical memory
[in] identifier The entry identifier
Returns:
The corresponding entry


Generated on Thu Mar 22 17:46:31 2007 for SlpTk by  doxygen 1.4.7