1 #ifndef GENESIS_PLACEMENT_FUNCTION_MEASURES_H_ 2 #define GENESIS_PLACEMENT_FUNCTION_MEASURES_H_ 50 class PlacementTreeEdgeData;
51 class PlacementTreeNodeData;
53 class PqueryPlacement;
85 double edpl( Pquery
const& pquery, utils::Matrix<double>
const& node_distances );
95 std::vector<double>
edpl( Sample
const& sample, utils::Matrix<double>
const& node_distances );
107 double edpl( Sample
const& sample, Pquery
const& pquery );
138 std::vector<double>
edpl( Sample
const& sample );
161 bool with_pendant_length =
false 200 bool with_pendant_length =
false 206 #endif // include guard double pairwise_distance(const Sample &smp_a, const Sample &smp_b, bool with_pendant_length)
Calculate the normalized pairwise distance between all placements of the two Samples.
double variance(const Sample &smp, bool with_pendant_length)
Calculate the variance 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 edpl(Pquery const &pquery, utils::Matrix< double > const &node_distances)
Calculate the EDPL uncertainty values for a Pquery.