A toolkit for working with phylogenetic data.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
placement/function/operators.cpp File Reference

Go to the source code of this file.


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


double add_sample_to_mass_tree (Sample const &smp, double const sign, double const scaler, tree::MassTree &target)
 Helper function to copy masses from a Sample to a MassTree. More...
bool compatible_trees (PlacementTree const &lhs, PlacementTree const &rhs)
 Return whether two PlacementTrees are compatible. More...
bool compatible_trees (Sample const &lhs, Sample const &rhs)
 Return whether the PlacementTrees of two Samples are compatible. More...
PlacementTree convert_default_tree_to_placement_tree (tree::DefaultTree const &source_tree)
 Convert a DefaultTree into a PlacementTree. More...
std::pair< std::vector
< tree::MassTree >
, std::vector< double >> 
convert_sample_set_to_mass_trees (SampleSet const &sample_set)
 Convert all Samples in a SampleSet to tree::MassTrees. More...
std::pair< tree::MassTree, double > convert_sample_to_mass_tree (Sample const &sample)
 Convert a Sample to a tree::MassTree. More...
std::ostream & operator<< (std::ostream &out, Sample const &smp)
 Print a table of all Pqueries with their Placements and Names to the stream. More...
std::string print_tree (Sample const &smp)
 Return a simple view of the Tree of a Sample with information about the Pqueries on it. More...