Function traitgraph_algo::predefined_graphs::compute_m_from_n_and_c
source · pub fn compute_m_from_n_and_c(n: usize, c: f64) -> usizeExpand description
Computes the amount of edges in a graph with n nodes, given the hamiltonian edge factor c.