22.01.2015 Views

Refined Buneman Trees

Refined Buneman Trees

Refined Buneman Trees

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• the splits that are generated.<br />

• the quartets that are generated for each split.<br />

• the <strong>Buneman</strong> scores for the quartets.<br />

• the <strong>Buneman</strong> Index for each split.<br />

• the weighted splits reported by the algorithm.<br />

After running the test program it is then possible to study the output from<br />

the program and ensure:<br />

• all unique splits of size n are generated, i.e. all possible splits on the form<br />

0xxx.<br />

• all quartets ab|cd are generated such that a, b ∈ U, c, d ∈ V , a ≤ b and<br />

c ≤ d.<br />

• for each quartet q generated, β q (δ) is calculated correctly.<br />

• for each split σ generated, μ σ (δ) is calculated correctly.<br />

• the weighted splits reported by the algorithm all have positive refined<br />

<strong>Buneman</strong> index, and all splits generated that have positive refined <strong>Buneman</strong><br />

index are reported.<br />

Of course, this process is quite infeasible for larger δ, but the author has<br />

read through outputs from a few runs, and has found no errors. The author<br />

therefore concludes that the reference implementation is correct. An example<br />

of such an output is given in appendix A.<br />

13.4 Performance of the reference implementation<br />

The performance characteristic for the algorithm can be seen in Figure 13.1.<br />

The plots shows running time for input sizes 4–20. Clearly, it is infeasible to<br />

run this implementation on large examples, but for our testing purposes it is<br />

adequate.<br />

76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!