Function traitgraph::algo::predefined_graphs::compute_m_from_n_and_c[][src]

pub fn compute_m_from_n_and_c(n: usize, c: f64) -> usize
Expand description

Computes the amount of edges in a graph with n nodes, given the hamiltonian edge factor c.