45#include <lal/linear_arrangement.hpp>
46#include <lal/graphs/free_tree.hpp>
47#include <lal/graphs/rooted_tree.hpp>
Free tree graph class.
Definition: free_tree.hpp:60
Rooted tree graph class.
Definition: rooted_tree.hpp:103
std::pair< uint64_t, linear_arrangement > max_sum_edge_lengths_projective(const graphs::rooted_tree &t) noexcept
Computes the maximum value of in rooted trees under the projectivity constraint.
std::pair< std::vector< uint64_t >, node > max_sum_edge_lengths_projective_roots(const graphs::free_tree &t) noexcept
Computes the maximum value of in trees under the projectivity constraint at every vertex of the tree...
std::pair< uint64_t, linear_arrangement > max_sum_edge_lengths_planar(const graphs::free_tree &t) noexcept
Computes the maximum value of in trees under the planarity constraint.
Main namespace of the library.
Definition: basic_types.hpp:50
uint64_t node
Node type. See Node / Vertex page for further details.
Definition: basic_types.hpp:53