示例#1
0
文件: demo.c 项目: wrpaape/algorithms
int main(void)
{
    const char *string = "rooty tooty point and shooty";

    struct SuffixTree *tree = build_suffix_tree(string);

    free_suffix_tree(tree);

    puts("DONE");

    return 0;
}
示例#2
0
assessment_document::assessment_document(const std::string &path,
                              const std::string &category, int id) :
                              document(path, category, id) {
  read();
  build_suffix_tree();
}