Refined Buneman Trees
Refined Buneman Trees
Refined Buneman Trees
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Algorithm 4 Pruning the overapproximated refined <strong>Buneman</strong> tree<br />
Require: δ is a distance matrix of size n × n<br />
Require: T =(V,E) is an overapproximation of RB(δ)<br />
Ensure: S is a set of splits representing RB(δ)<br />
1: for e ∈ E do<br />
2: Q e = ∅<br />
3: end for<br />
4: for (a, c) ∈ X 2 ∧ aa<br />
10: end for<br />
11: for each edge e on the path from a to c do<br />
12: Q e = Q e ∪{ab e ||cd e }<br />
13: if |Q e |≥3(n − 3) then<br />
14: remove the n − 3 quartets with largest score from Q e<br />
15: end if<br />
16: end for<br />
17: end for<br />
18: for e ∈ E do<br />
19: S e = ∅<br />
20: while |S e | 0 then<br />
32: S = S ∪ σ e<br />
33: end if<br />
34: end for<br />
37