1 #ifndef __VIENNA_RNA_PACKAGE_TREE_DIST_H__
2 #define __VIENNA_RNA_PACKAGE_TREE_DIST_H__
6 * \brief Functions for Tree Edit Distances
12 * \brief Constructs a Tree ( essentially the postorder list ) of the
13 * structure 'struc', for use in tree_edit_distance().
15 * \param struc may be any rooted structure representation.
18 Tree *make_tree(char *struc);
21 * \brief Calculates the edit distance of the two trees.
27 float tree_edit_distance( Tree *T1,
31 * \brief Print a tree (mainly for debugging)
33 void print_tree(Tree *t);
36 * \brief Free the memory allocated for Tree t.
40 void free_tree(Tree *t);