Skip to content

gerrich/plane_trie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plane_trie

Read only Trie (patricia like tree).

Build from sorted string list. Load via mmap. Nodes are stored in postorder i.e root is last.

build from splited sorted file. nodes are writen in file in postorder.

TODO: merge tries

half_trie: words are plited in two parts prefix_trie - plane trie build of prefixes second_tries - set of tries. each corresponds to it's own prefix.

first: search for prefix in prefix trie second: search for rest of the word in corresponding second trie

TODO: UT for half trie

TODO: fb-trie - two half_tries one with words in straight order - another with reversed words TODO: UT for fb-trie

BUILD: cmake -DCMAKE_INCLUDE_PATH=../gtest-svn/include/ -DCMAKE_LIBRARY_PATH=../gtest-build/ .

About

Create trie (patricia like tree) from sorted string list. Load via mmap. Nodes are in postorder i.e root is last.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors