45#include <lal/linear_arrangement.hpp>
46#include <lal/numeric/rational.hpp>
47#include <lal/graphs/rooted_tree.hpp>
48#include <lal/graphs/free_tree.hpp>
49#include <lal/linarr/dependency_flux.hpp>
Free tree graph class.
Definition free_tree.hpp:60
Rooted tree graph class.
Definition rooted_tree.hpp:109
free_tree to_free_tree(const bool norm=true, const bool check=true) const noexcept
Converts this rooted tree into a free tree (see free_tree).
bool is_rooted_tree() const noexcept
Is this tree a valid rooted tree?
Definition rooted_tree.hpp:634
Linear arrangement of vertices.
Definition linear_arrangement.hpp:103
std::vector< dependency_flux > dependency_flux_compute(const graphs::free_tree &t, const linear_arrangement &pi={}) noexcept
Computes the flux of a dependency tree.
Main namespace of the library.
Definition basic_types.hpp:48