RNAlib-2.1.9h
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 "dist_vars.h"
10
18Tree *make_tree(char *struc);
19
28 Tree *T2);
29
34
40void free_tree(Tree *t);
41
42#endif
Global variables for Distance-Package.
Definition dist_vars.h:41
Tree * make_tree(char *struc)
Constructs a Tree ( essentially the postorder list ) of the structure 'struc', for use in tree_edit_d...
void print_tree(Tree *t)
Print a tree (mainly for debugging)
float tree_edit_distance(Tree *T1, Tree *T2)
Calculates the edit distance of the two trees.
void free_tree(Tree *t)
Free the memory allocated for Tree t.