WSTester updated to work plus hopefully all the other changes that need to go into...
[jabaws.git] / binaries / src / ViennaRNA / Cluster / cluster.h
diff --git a/binaries/src/ViennaRNA/Cluster/cluster.h b/binaries/src/ViennaRNA/Cluster/cluster.h
new file mode 100644 (file)
index 0000000..ea26bc0
--- /dev/null
@@ -0,0 +1,16 @@
+typedef struct{
+        int   set1;
+        int   set2;
+        float distance;
+        float distance2;
+        } Union;
+
+extern Union *wards_cluster(float **clmat);
+extern Union *neighbour_joining(float **clmat);
+extern void   printf_phylogeny(Union *tree, char *type);
+
+
+/* Auxiliary information in a Union tree: 
+      tree[0].set1 contains the number of elements of tree, i.e.,
+      tree[tree[0].set1-1]] is the last one !!
+*/