~jpakkane/libcolumbus/lessfuzz-test

« back to all changes in this revision

Viewing changes to include/Trie.hh

  • Committer: Jussi Pakkanen
  • Date: 2013-01-31 10:23:45 UTC
  • Revision ID: jussi.pakkanen@canonical.com-20130131102345-naze75up8ho9cigg
Use trie for word backing storage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    ~Trie();
41
41
 
42
42
    bool hasWord(const Word &word) const;
 
43
    TrieOffset findWord(const Word &word) const;
43
44
    TrieOffset insertWord(const Word &word, const WordID wordID);
44
45
    TrieOffset getRoot() const;
45
46
    TrieOffset getSiblingList(TrieOffset node) const;