A toolkit for working with phylogenetic data.
v0.18.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cog.hpp File Reference

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::placement
 

Functions

std::pair< PlacementTreeEdge
const *, double > 
center_of_gravity (Sample const &smp, bool const with_pendant_length=false)
 Calculate the Center of Gravity of the placements on a tree. More...
 
double center_of_gravity_distance (Sample const &smp_a, Sample const &smp_b, bool const with_pendant_length=false)
 Calculate the distance between the two Centers of Gravity of two Samples. More...
 
double center_of_gravity_variance (Sample const &smp, bool const with_pendant_length=false)
 Calcualte the variance of the PqueryPlacements of a Sample around its Center of Gravity. More...