45#include <lal/numeric/rational.hpp>
46#include <lal/graphs/undirected_graph.hpp>
47#include <lal/graphs/free_tree.hpp>
48#include <lal/graphs/rooted_tree.hpp>
Free tree graph class.
Definition: free_tree.hpp:60
Rooted tree graph class.
Definition: rooted_tree.hpp:103
Undirected graph class.
Definition: undirected_graph.hpp:67
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:850
double var_num_crossings_tree(const graphs::free_tree &t) noexcept
Computes the variance of the number of crossings of a tree in unconstrained arrangements,...
Definition: C_rla.hpp:179
numeric::rational exp_num_crossings_rational(const graphs::undirected_graph &g) noexcept
Computes the the expected number of crossings in unconstrained arrangements, .
numeric::rational var_num_crossings_forest_rational(const graphs::undirected_graph &g) noexcept
Computes the variance of the number of crossings of a forest in unconstrained arrangements,...
numeric::rational var_num_crossings_rational(const graphs::undirected_graph &g, bool reuse=true) noexcept
Computes the variance of the number of crossings of a graph in unconstrained arrangements,...
numeric::rational var_num_crossings_tree_rational(const graphs::free_tree &t) noexcept
Computes the variance of the number of crossings of a tree in unconstrained arrangements,...
Definition: C_rla.hpp:163
double exp_num_crossings(const graphs::undirected_graph &g) noexcept
Computes the the expected number of crossings in unconstrained arrangements, .
Definition: C_rla.hpp:77
double var_num_crossings(const graphs::undirected_graph &g, bool reuse=true) noexcept
Computes the variance of the number of crossings of a graph in unconstrained arrangements,...
Definition: C_rla.hpp:115
double var_num_crossings_forest(const graphs::undirected_graph &g) noexcept
Computes the variance of the number of crossings of a forest in unconstrained arrangements,...
Definition: C_rla.hpp:146
Main namespace of the library.
Definition: basic_types.hpp:50