1 #ifndef GENESIS_TREE_FUNCTION_TREE_SET_H_ 2 #define GENESIS_TREE_FUNCTION_TREE_SET_H_ 76 std::function<
bool( TreeNode
const&, TreeNode
const& )> node_comparator,
77 std::function<
bool( TreeEdge
const&, TreeEdge
const& )> edge_comparator
94 #endif // include guard Tree * find_tree(TreeSet &tree_set, std::string const &name)
Get the first Tree in a TreeSet that is stored with a given name, or nullptr if not found...
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
tree::TreeSet tree_set(SampleSet const &sample_set)
Return a TreeSet containing all the trees of the SampleSet.
bool identical_topology(Tree const &lhs, Tree const &rhs, bool identical_indices)
Return whether both trees have an identical topology.
bool equal(Tree const &lhs, Tree const &rhs, std::function< bool(TreeNode const &, TreeNode const &) > node_comparator, std::function< bool(TreeEdge const &, TreeEdge const &) > edge_comparator)
Compare two trees for equality given binary comparator functionals for their nodes and edges...