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:59
Rooted tree graph class.
Definition rooted_tree.hpp:107
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:736
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:178
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:162
double exp_num_crossings(const graphs::undirected_graph &g) noexcept
Computes the the expected number of crossings in unconstrained arrangements, .
Definition C_rla.hpp:76
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:114
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:145
Main namespace of the library.
Definition definitions.hpp:48