cog.hpp File Reference

`#include "genesis/placement/placement_tree.hpp"`

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) |

Calculate the variance of the PqueryPlacements of a Sample around its Center of Gravity. More... | |