diff --git a/README.md b/README.md index 23b3c69..762b5cc 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # RFDistribution This code implements an improved version of the RF distribution computation by Bryant et al. Here, we modified the dynamic programming algorithm introduced by Bryant et al for computing the distribution of RF distance -for a given tree by leveraging the Number-Theoretic Transform (NTT), and improve the running time from O(l^5) to O(l^3log(l)), +for a given tree by leveraging the Number-Theoretic Transform (NTT), and improve the running time from O(l5) to O(l3log(l)), where l is the number of tips of the tree. Given an unrooted phylogenetic tree T with l tips, the procedure for computing the RF distribution of this tree is as follows: -Denote the node adjacent to tip l in T by v_0. Remove tip l, and root the resulting tree with v_0 as the root. We use this +Denote the node adjacent to tip l in T by v0. Remove tip l, and root the resulting tree with v0 as the root. We use this rooted tree as the input to the dynamic programming algorithm. # Installation