1 #ifndef GENESIS_TREE_BIPARTITION_RF_H_ 2 #define GENESIS_TREE_BIPARTITION_RF_H_ 40 #include <unordered_map> 41 #include <unordered_set> 74 std::unordered_map<std::string, size_t>
const& names
192 #endif // include guard
utils::Matrix< double > rf_distance_relative(TreeSet const &trees)
Compute the pairwise relative RF (Robinson-Foulds) distance metric between a set of trees...
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
utils::Matrix< size_t > rf_distance_absolute(TreeSet const &trees)
Compute the pairwise absolute RF (Robinson-Foulds) distance metric between a set of trees...
std::vector< utils::Bitvector > rf_get_bitvectors(Tree const &tree, std::unordered_map< std::string, size_t > const &names)
Get all split Bitvectors for a given Tree.
std::unordered_map< std::string, size_t > rf_taxon_name_map(Tree const &tree)
Get a mapping from taxon names to unique IDs.
std::unordered_map< utils::Bitvector, utils::Bitvector > rf_get_occurrences(TreeSet const &trees)
Get an occurrence map for each split found in the given TreeSet.