1 #ifndef GENESIS_PLACEMENT_FUNCTION_COG_H_ 2 #define GENESIS_PLACEMENT_FUNCTION_COG_H_ 74 bool const with_pendant_length =
false 89 bool const with_pendant_length =
false 101 bool const with_pendant_length =
false 107 #endif // include guard double center_of_gravity_variance(Sample const &smp, bool const with_pendant_length)
Calculate the variance of the PqueryPlacements of a Sample around its Center of Gravity.
std::pair< PlacementTreeEdge const *, double > center_of_gravity(Sample const &smp, bool const with_pendant_length)
Calculate the Center of Gravity of the placements on a tree.
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
double center_of_gravity_distance(Sample const &smp_a, Sample const &smp_b, bool const with_pendant_length)
Calculate the distance between the two Centers of Gravity of two Samples.