45#include <lal/graphs/rooted_tree.hpp>
46#include <lal/graphs/free_tree.hpp>
Free tree graph class.
Definition: free_tree.hpp:60
Rooted tree graph class.
Definition: rooted_tree.hpp:103
std::pair< node, node > tree_centroid(const graphs::rooted_tree &t) noexcept
Calculate the centroid of a rooted tree.
Main namespace of the library.
Definition: basic_types.hpp:50