RNAlib-2.2.9

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

treedist.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_TREE_DIST_H
2 #define VIENNA_RNA_PACKAGE_TREE_DIST_H
3
9 #include <ViennaRNA/dist_vars.h>
10
18 Tree *make_tree(char *struc);
19
27 float tree_edit_distance( Tree *T1,
28 Tree *T2);
29
33 void print_tree(Tree *t);
34
40 void free_tree(Tree *t);
41
42 #endif
make_tree
Tree * make_tree(char *struc)
Constructs a Tree ( essentially the postorder list ) of the structure &#39;struc&#39;, for use in tree_edit_d...
free_tree
void free_tree(Tree *t)
Free the memory allocated for Tree t.
tree_edit_distance
float tree_edit_distance(Tree *T1, Tree *T2)
Calculates the edit distance of the two trees.
print_tree
void print_tree(Tree *t)
Print a tree (mainly for debugging)
dist_vars.h
Global variables for Distance-Package.
Tree
Tree data structure.
Definition: dist_vars.h:47