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 Havel-Hakimi algorithm.
Worst-case run time is: O( n**(log n) )
Parameters : | deg_sequence : list
|
---|---|
Returns : | valid : bool
|
References