Return a directed random graph.
Chooses each of the possible n(n-1) edges with probability p.
This is a directed version of G_np.
Parameters: | n : int
p : float
create_using : graph, optional (default DiGraph)
seed : int, optional
|
---|
See also
Notes
This is an O(n^2) algorithm.
References
[R68] |
|
[R69] |
|