Returns True if some multigraph can realize the sequence.
Parameters: | deg_sequence : list
|
---|---|
Returns: | valid : bool
|
Notes
The worst-case run time is O(n) where n is the length of the sequence.
References
[R242] | S. L. Hakimi. “On the realizability of a set of integers as degrees of the vertices of a linear graph”, J. SIAM, 10, pp. 496-506 (1962). |