Simple Ordinal#

get_effective_num_candidates(election, mode='Borda') dict[source]#

Compute effective number of candidates of a given election.

is_condorcet(election) dict[source]#

Checks if election witness Condorcet winner

Parameters:

election (OrdinalElection)

Returns:

‘value’: True if Condorcet winner exists, False otherwise

Return type:

dict