9.10.6. networkx.algorithms.tournament.score_sequence

networkx.algorithms.tournament.score_sequence(G)[source]

Returns the score sequence for the given tournament graph.

The score sequence is the sorted list of the out-degrees of the nodes of the graph.

Parameters:

G : NetworkX graph

A directed graph representing a tournament.

Returns:

list

A sorted list of the out-degrees of the nodes of G.