trig-ger / suffix-tree

C++ implementation of Ukkonen's algorithm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

suffix-tree

A C++ implementation of Ukkonen's algorithm for linear-time suffix tree construction.

Suffix Tree for xabxa$

Build

To build everything simply run make.

Test

Tests are written with bats:

bats test/tests.bats

Using

The compiled program suffixtree takes a single string parameter and outputs a DOT language (Graphviz) representation of the tree to STDOUT. With ImageMagick and Graphviz installed you should see a .jpg like the above:

./suffixtree xabxa$ | dot -Tjpg | display

License

MIT

About

C++ implementation of Ukkonen's algorithm.

License:MIT License


Languages

Language:C++ 91.9%Language:Shell 7.6%Language:Makefile 0.5%