Returns True if deg_sequence is a valid degree sequence.
A degree sequence is valid if some graph can realize it. Validation proceeds via the Erdős-Gallai algorithm.
Worst-case run time is: O( n**2 )
Parameters : | deg_sequence : list
|
---|---|
Returns : | valid : bool
|
References