50#include <lal/numeric/rational.hpp>
51#include <lal/graphs/undirected_graph.hpp>
52#include <lal/graphs/free_tree.hpp>
53#include <lal/graphs/rooted_tree.hpp>
112 const uint64_t n = t.get_num_nodes();
147 assert(t.is_rooted_tree());
149 const uint64_t n = t.get_num_nodes();
165 assert(t.is_rooted_tree());
Free tree graph class.
Definition free_tree.hpp:60
Rooted tree graph class.
Definition rooted_tree.hpp:109
Undirected graph class.
Definition undirected_graph.hpp:66
Exact rational number.
Definition rational.hpp:63
double to_double() const noexcept
Converts this rational to a double-precision floating-point value.
Definition rational.hpp:853
numeric::rational exp_sum_edge_lengths_bipartite_rational(const graphs::undirected_graph &g) noexcept
Expected sum of edge lengths of a bipartite graph in bipartite arrangments, .
Definition D_rla.hpp:187
numeric::rational var_sum_edge_lengths_rational(const graphs::undirected_graph &g) noexcept
Computes the variance of the sum of the length of edges of a graph, .
numeric::rational exp_sum_edge_lengths_rational(const graphs::undirected_graph &g) noexcept
Expected sum of edge lengths of an undirected graph in unconstrained arrangments, .
Definition D_rla.hpp:75
double exp_sum_edge_lengths(const graphs::undirected_graph &g) noexcept
Expected sum of edge lengths of an undirected graph in unconstrained arrangments, .
Definition D_rla.hpp:89
numeric::rational exp_sum_edge_lengths_projective_rational(const graphs::rooted_tree &rt) noexcept
Expected sum of edge lengths of a tree constrained to projective arrangments, .
double exp_sum_edge_lengths_planar(const graphs::free_tree &t) noexcept
Expected sum of edge lengths of a tree constrained to planar arrangments, .
Definition D_rla.hpp:300
double exp_sum_edge_lengths_bipartite(const graphs::undirected_graph &g) noexcept
Expected sum of edge lengths of a bipartite graph in bipartite arrangments, .
Definition D_rla.hpp:206
double var_sum_edge_lengths(const graphs::undirected_graph &g) noexcept
Computes the variance of the sum of the length of edges of a graph, .
Definition D_rla.hpp:349
double exp_sum_edge_lengths_projective(const graphs::rooted_tree &rt) noexcept
Expected sum of edge lengths of a tree constrained to projective arrangments, .
Definition D_rla.hpp:242
numeric::rational exp_sum_edge_lengths_planar_rational(const graphs::free_tree &t) noexcept
Expected sum of edge lengths of a tree constrained to planar arrangments, .
Main namespace of the library.
Definition basic_types.hpp:48