dab89c1682e091dfa3780ce95359ebea9f6b7d52 braney Thu May 18 09:49:17 2017 -0700 add licensing info to optimalLeaf library diff --git src/optimalLeaf/Leaf.cc src/optimalLeaf/Leaf.cc index e3fcf05..f1d09c7 100644 --- src/optimalLeaf/Leaf.cc +++ src/optimalLeaf/Leaf.cc @@ -1,15 +1,21 @@ +/* This code provided by Ziv Bar-Joseph with the explicit understanding that + * no licensing is required for it to be used in the UCSC Genome Browser + * as long as reference is made to this paper: + * https://www.ncbi.nlm.nih.gov/pubmed/12801867 + */ + // -------------------------------------------------------------------- // Leaf.cc // This is where the optimal ordering for two subtrees // is comnputed. Uses the known optimal ordering for // each of the subtrees to generate the new ordering of the combined tree. // --------------------------------------------------------------------- //#include <iostream.h> #include <stdlib.h> #include "Leaf.hh" #include "general.hh" int compDist(const void *d1,const void *d2); // Pair for best tree construction LeafPair::LeafPair(int l,int r,LeafPair *pl,LeafPair *pr,int t1,int t2) {