Return a directed graph with the given degree sequences.
Parameters : | in_deg_sequence : list of integers
out_deg_sequence : list of integers
create_using : graph, optional (default DiGraph)
|
---|---|
Returns : | G : DiGraph
|
Raises : | NetworkXError :
|
See also
Notes
Algorithm as described by Kleitman and Wang [R253].
References
[R253] | (1, 2) D.J. Kleitman and D.L. Wang Algorithms for Constructing Graphs and Digraphs with Given Valences and Factors Discrete Mathematics, 6(1), pp. 79-88 (1973) |