treedist.h
Go to the documentation of this file.
#ifndef VIENNA_RNA_PACKAGE_TREE_DIST_H
#define VIENNA_RNA_PACKAGE_TREE_DIST_H
#include <ViennaRNA/dist_vars.h>
Tree *make_tree(char *struc);
float tree_edit_distance( Tree *T1,
Tree *T2);
void print_tree(Tree *t);
void free_tree(Tree *t);
#endif
make_tree
Tree * make_tree(char *struc)
Constructs a Tree ( essentially the postorder list ) of the structure 'struc', 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
Definition: dist_vars.h:41