Measures#
phypanda provides three diversity measures, each available as a module-level
singleton (pp.all_paths, pp.max_tree, pp.min_tree). All implement
the DiversityMeasure protocol. Stubs that raise
NotImplementedError exist for pp.tree, pp.network, and
pp.average_tree.
Measure |
Description |
Fixed-set scoring |
Budgeted optimization |
|---|---|---|---|
All-paths diversity (MAPD) — edges on any root-to-leaf path |
yes |
yes ( |
|
Max PD over all displayed trees — upper bound on network PD |
not yet |
yes ( |
|
Min PD over all displayed trees — lower bound on network PD |
yes |
not yet |
|
Standard tree PD and other objectives (stubs) |
not yet |
not yet |