Generate graphs with a given degree sequence or expected degree sequence.
is_valid_degree_sequence(sequence[, method]) | Returns True if the sequence is a valid degree sequence. |
is_valid_degree_sequence_havel_hakimi(sequence) | Returns True if the sequence is a valid degree sequence. |
is_valid_degree_sequence_erdos_gallai(sequence) | Returns True if the sequence is a valid degree sequence. |