Beispiel #1
0
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;
}
Beispiel #2
0
assessment_document::assessment_document(const std::string &path,
                              const std::string &category, int id) :
                              document(path, category, id) {
  read();
  build_suffix_tree();
}