pub fn create_random_hamiltonian_graph<Graph: DynamicGraph, Random: Rng>(
graph: &mut Graph,
node_amount: usize,
c: f64,
random: &mut Random,
)Expand description
Creates a random hamiltonian graph with the given amount of nodes.
Assumes that the graph is empty.
The amount of arcs will be c * n * (log(n) + log(log(n))), where n is the amount of nodes.