45#include <lal/graphs/rooted_tree.hpp>
46#include <lal/graphs/free_tree.hpp>
Free tree graph class.
Definition free_tree.hpp:59
Rooted tree graph class.
Definition rooted_tree.hpp:107
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 definitions.hpp:48