45#include <lal/linear_arrangement.hpp>
46#include <lal/graphs/free_tree.hpp>
47#include <lal/graphs/rooted_tree.hpp>
48#include <lal/linarr/algorithms_Dmin_projective.hpp>
49#include <lal/linarr/algorithms_Dmin_planar.hpp>
50#include <lal/linarr/algorithms_Dmin.hpp>
Free tree graph class.
Definition: free_tree.hpp:60
Rooted tree graph class.
Definition: rooted_tree.hpp:103
algorithms_Dmin
The different algorithms for computing the minimum sum of the length of the edges .
Definition: algorithms_Dmin.hpp:58
@ Shiloach
Yossi Shiloach's algorithm.
algorithms_Dmin_projective
The different algorithms for computing the minimum sum of the length of the edges in projective arra...
Definition: algorithms_Dmin_projective.hpp:62
@ AlemanyEstebanFerrer
Alemany-Esteban-Ferrer's algorithm.
std::pair< uint64_t, linear_arrangement > min_sum_edge_lengths(const graphs::free_tree &t, const algorithms_Dmin &a=algorithms_Dmin::Shiloach) noexcept
Computes the minimum value of in free trees.
algorithms_Dmin_planar
The different algorithms for computing the minimum sum of the length of the edges in planar arrangem...
Definition: algorithms_Dmin_planar.hpp:62
@ AlemanyEstebanFerrer
Alemany-Esteban-Ferrer's algorithm.
std::pair< uint64_t, linear_arrangement > min_sum_edge_lengths_planar(const graphs::free_tree &t, const algorithms_Dmin_planar &a=algorithms_Dmin_planar::AlemanyEstebanFerrer) noexcept
Computes the minimum value of in trees under the planarity constraint.
std::pair< uint64_t, linear_arrangement > min_sum_edge_lengths_projective(const graphs::rooted_tree &t, const algorithms_Dmin_projective &a=algorithms_Dmin_projective::AlemanyEstebanFerrer) noexcept
Computes the minimum value of in rooted trees under the projectivity constraint.
Main namespace of the library.
Definition: basic_types.hpp:50