bpp-phyl
2.2.0
|
A structure recording, for a subtree, the sum of root-leaf distances, the sum of their squares, and the number of elements in these sums (ie. the number of leaves). More...
Public Attributes | |
double | sum |
double | squaresSum |
int | numberOfLeaves |
A structure recording, for a subtree, the sum of root-leaf distances, the sum of their squares, and the number of elements in these sums (ie. the number of leaves).
The branch at the base of the subtree should never be included, as the subtree of the root does not have one.
Definition at line 1242 of file TreeTemplateTools.h.
int bpp::TreeTemplateTools::Moments_::numberOfLeaves |
Definition at line 1246 of file TreeTemplateTools.h.
Referenced by bpp::TreeTemplateTools::getBestRootInSubtree_(), bpp::TreeTemplateTools::getRadius(), and bpp::TreeTemplateTools::getSubtreeMoments_().
double bpp::TreeTemplateTools::Moments_::squaresSum |
Definition at line 1245 of file TreeTemplateTools.h.
Referenced by bpp::TreeTemplateTools::getBestRootInSubtree_(), and bpp::TreeTemplateTools::getSubtreeMoments_().
double bpp::TreeTemplateTools::Moments_::sum |
Definition at line 1244 of file TreeTemplateTools.h.
Referenced by bpp::TreeTemplateTools::getBestRootInSubtree_(), bpp::TreeTemplateTools::getRadius(), and bpp::TreeTemplateTools::getSubtreeMoments_().