Overview Usage Performance Notes Links | tst 0.68 - 23 Jan 2009 |
Some other TST implementations.
All versions have insert and plain search, other features available as tabled below:
Feature | Associative type | Prefix match | Longest match | Partial match | Hamming search | Iterators | Status |
---|---|---|---|---|---|---|---|
DDJ | raw char* can be assigned | no | no | yes | yes | no (but tree printf dump function traverse() can easily be adapted) | Incomplete (singleton root) |
libtst | raw char* | no | no | no | no | no | Worked-out version of DDJ, but no searches |
Boost.Spirit | any type stored as managed ptr | yes? | no | no | no | no | Used only for parser name tables |
Kaiser | Any type ptr, deleted on key destroy | yes | yes | no? | no? | forward | Interesting design, but development discontinued "for performance reasons" |
pytst | Any type, copied | yes | yes | yes | no | forward traversal calling back a "filter" functor | Under active development. Has SWIG wrappers. |
ekman | Any type, copied | yes | yes | yes | yes | Bidirectional | Under development, test suite available |
Our ternary_tree class adds combinatorial search and levenshtein_search. This could probably also be done using pytst, since any behaviour can be implemented by the traversal filter callback.
ternary_tree 0.68 -- by rasmus ekman -- Page generated with Doxygen 1.5.6 on 23 Jan 2009 |