pub fn random_tasks_graph<N, E, R, A>(
rng: &mut R,
num_components: usize,
n_range: A,
p: f64,
) -> DiGraph<N, E>where
N: Clone,
E: Clone,
Standard: Distribution<N> + Distribution<E>,
R: Rng + ?Sized,
A: SampleRange<usize> + Clone,