User:BenBE/Schulze method: Difference between revisions

Example and instruction to get full ranking
(Tasks _never_ reside in the User namespace!)
(Example and instruction to get full ranking)
Line 15:
## A defeat (A,X) is weaker than a defeat (B,Y) if V(A,X) is less than V(B,Y). Also, (A,X) is weaker than (B,Y) if V(A,X) is equal to V(B,Y) and V(X,A) is greater than V(Y,B).
## A weakest defeat is a defeat that has no other defeat weaker than it. There may be more than one such defeat.
# If there are no defeats within the Schwartz set, then the winner is chosen from the options in the Schwartz set. If there is only one such option, it is the winner. If there are multiple options, the electormore withpreferred theoption castingwins; voteon choosesa whichtie of thoseboth options winsare ranked the same.
# As long as there are candidates not yet ranked, remove all relations directly involving a candidate already ranked.
 
Unfortunately noone of the management had any time to spare for counting the ballots for the poor developers after the election as they had just too many candidates, a much to big community and too much own work on their desks. Also they wanted to get the winning team quickly. So they were looking to automatically get the ranking given all the (digitized) ballots or accumulated rankings (i.e. number of ballots with a given variant of ranking).
 
In a first pre-election to determine who was going to hand over the flowers to the winners the following outcome was reached (example from English Wikipedia):
 
5 A>C>B>E>D
Examples:
5 A>D>E>C>B
8 B>E>D>A>C
3 C>A>B>E>D
7 C>A>E>B>D
2 C>B>A>D>E
7 D>C>E>B>A
8 E>B>A>D>C
 
That is 5 voters ranked the candidates in the order strictly preferring A over C over B over E over D. Equally ranked candidates would have been delimited with an equal sign between them (e.g. A>C=B>E>D meaning C and B ranked the same).
 
Counting this preselection they found the following ranking:
# E
# A
# C
# B
# D
 
Please also include the '''Matrix of pairwise preferences''' and '''Strengths of the strongest paths''' together with the pairwise and transitive defeats in the output alongside the final candidate ranking.
Anonymous user