Module convex_hull

Module convex_hull 

Source

Functionsยง

convex_hull_apply
Apply the convex hull algorithm to build a split network from splits. n_tax is the number of taxa (1-based semantics). splits is 0-based but we treat ids as 1..=nsplits in bitsets and logs.
convex_hull_apply_with_used
Same as convex_hull_apply but reuses used_splits (1-based bits).