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

Detailed Description

Header for Placement Measures functions.

Definition in file measures.hpp.

#include "genesis/placement/placement_tree.hpp"
#include <cstddef>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  Matrix< T >
 

Namespaces

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

Functions

double edpl (Pquery const &pquery, utils::Matrix< double > const &node_distances)
 Calculate the EDPL uncertainty values for a Pquery. More...
 
std::vector< double > edpl (Sample const &sample, utils::Matrix< double > const &node_distances)
 Calculate the edpl() for all Pqueries in the Sample. More...
 
double edpl (Sample const &sample, Pquery const &pquery)
 Calculate the EDPL uncertainty values for a Pquery. More...
 
std::vector< double > edpl (Sample const &sample)
 Calculate the edpl() for all Pqueries in the Sample. More...
 
double pairwise_distance (const Sample &smp_a, const Sample &smp_b, bool with_pendant_length=false)
 Calculate the normalized pairwise distance between all placements of the two Samples. More...
 
double variance (const Sample &smp, bool with_pendant_length=false)
 Calculate the variance of the placements on a tree. More...