@not_implemented_for('undirected')
@not_implemented_for('multigraph')
def score_sequence(G):
 return sorted((d for (v, d) in G.out_degree()))

@ not_implemented_for ( 'undirected' ) @ not_implemented_for ( 'multigraph' ) def score_sequence ( G ) : return sorted ( ( d for ( v , d ) in G . out_degree ( ) ) )
returns the score sequence for the given tournament graph .