NetworkX

Previous topic

max_flow_min_cost

Next topic

is_valid_degree_sequence

Graphical degree sequenceΒΆ

Generate graphs with a given degree sequence or expected degree sequence.

is_valid_degree_sequence(deg_sequence[, method]) Returns True if deg_sequence is a valid degree sequence.
is_valid_degree_sequence_havel_hakimi(...) Returns True if deg_sequence is a valid degree sequence.
is_valid_degree_sequence_erdos_gallai(...) Returns True if deg_sequence is a valid degree sequence.