you can find the 0.1 version (with a few bugs, no doubt, here): tclstree-0.1.load ./stree.so
set stree_set [stree: :new_set] stree: :add_string $stree_set "foo to you and me" stree: :add_string $stree_set "foo to me and you" stree: :add_string $stree_set "foo to all the people in the deep blue sea" set my_stree [stree: :make_tree $stree_set] set s [stree: :longest_repeated_substring $my_stree 0 0] puts [stree: :get_strings $s]
stree: :destroy_tree $my_stree
Last modified: Saturday, Oct 18, 2003 @ 08:48pm |