1 #ifndef GENESIS_PLACEMENT_FUNCTION_DISTANCES_H_ 2 #define GENESIS_PLACEMENT_FUNCTION_DISTANCES_H_ 61 class PqueryPlacement;
64 class PlacementEdgeData;
65 class PlacementNodeData;
129 PqueryPlain
const& pquery_a,
130 PqueryPlain
const& pquery_b,
132 bool with_pendant_length =
false 143 Pquery
const& pquery_a,
144 Pquery
const& pquery_b,
146 bool with_pendant_length =
false 156 PqueryPlacement
const& place_a,
157 PqueryPlacement
const& place_b,
169 Pquery
const& pquery_a,
170 Pquery
const& pquery_b,
184 PqueryPlacement
const& place_a,
185 PqueryPlacement
const& place_b,
201 Pquery
const& pquery,
213 PqueryPlacement
const& placement,
250 Pquery
const& pquery,
262 PqueryPlacement
const& placement,
270 #endif // include guard size_t placement_path_length_distance(PqueryPlacement const &place_a, PqueryPlacement const &place_b, utils::Matrix< size_t > const &node_path_lengths)
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
double placement_distance(PqueryPlacement const &place_a, PqueryPlacement const &place_b, utils::Matrix< double > const &node_distances)
Calculate the distance between two PqueryPlacements, using their positin on the tree::TreeEdges, measured in branch length units.
Class for representing phylogenetic trees.
double pquery_path_length_distance(Pquery const &pquery_a, Pquery const &pquery_b, utils::Matrix< size_t > const &node_path_lengths)
Calculate the weighted discrete distance between two Pqueries, measured as the pairwise distance in n...
double pquery_distance(PqueryPlain const &pquery_a, PqueryPlain const &pquery_b, utils::Matrix< double > const &node_distances, bool with_pendant_length)
Calculate the weighted distance between two plain pqueries. It is mainly a helper method for distance...