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>
116(const graphs::undirected_graph& g, const
bool reuse = true)
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
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:181
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_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:165
double var_num_crossings(const graphs::undirected_graph &g, const bool reuse=true) noexcept
Computes the variance of the number of crossings of a graph in unconstrained arrangements,...
Definition C_rla.hpp:116
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
numeric::rational var_num_crossings_rational(const graphs::undirected_graph &g, const bool reuse=true) noexcept
Computes the variance of the number of crossings of a graph in unconstrained arrangements,...
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:147
Main namespace of the library.
Definition basic_types.hpp:48