Skip to content

An STL-styled trie in C++11

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

ImportantProjects/trie

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trie is a templatized trie container library written in C++11. It aims to be compatible with STL syntax. It possesses bidirectional iterators and most (meaningful) STL methods. It can store any iterable container, such as std::string or std::vector<T>. This trie was written as a project for a college course, and is fairly well documented throughout. It is believed to be reasonably bug-free. The writeup is included in report.pdf.

The trie consumes about the same amount of memory as a std::set containing the same data. Unfortunately, performance is generally slightly worse than that of a std::set, mostly because of the iterator implementation. The next logical improvement is to implement a full PATRICIA trie algorithm; this would substantially increase algorithm complexity.

trie is released under the GNU LGPL. See the files COPYING and COPYING.LESSER for more details. Pull requests and bug reports are welcome!

About

An STL-styled trie in C++11

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.5%
  • Makefile 1.5%