bpp-phyl3  3.0.0
bpp::TreeTemplateTools::Moments_ Struct Reference

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
 

Detailed Description

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 1197 of file TreeTemplateTools.h.

Member Data Documentation

◆ numberOfLeaves

int bpp::TreeTemplateTools::Moments_::numberOfLeaves

◆ squaresSum

double bpp::TreeTemplateTools::Moments_::squaresSum

◆ sum

double bpp::TreeTemplateTools::Moments_::sum

The documentation for this struct was generated from the following file: