50#include <lal/definitions.hpp>
51#include <lal/linarr/dependency_flux.hpp>
52#include <lal/graphs/free_tree.hpp>
53#include <lal/graphs/rooted_tree.hpp>
67std::vector<dependency_flux>
79std::vector<dependency_flux>
Free tree graph class.
Definition free_tree.hpp:59
Rooted tree graph class.
Definition rooted_tree.hpp:107
free_tree to_free_tree(bool norm=true, 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:470
std::vector< dependency_flux > compute_flux(const graphs::free_tree &t, const linear_arrangement &pi={}) noexcept
Computes the flux of a dependency tree.
Main namespace of the library.
Definition definitions.hpp:48
std::vector< position > linear_arrangement
A linear arrangement of the nodes of a graph.
Definition definitions.hpp:72