Subversion Repositories Remote Hare Voting

Rev

Rev 45 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
45 jtkorb 1
SUMMARY AFTER 10 TIMES
2
 10 ['B', 'A']
3
 
4
INPUT SUMMARY AND SINGLE RUN TRACE
5
	7 ballots
6
	Choosing 2 winners
7
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
8
 
9
	BALLOT MARKS	1ST	2ND	NONE
10
	A                 3	  4	   0
11
	B                 4	  3	   0
12
 
13
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
14
	A:
15
		['A', 'B']
16
		['A', 'B']
17
		['A', 'B']
18
	B:
19
		['B', 'A']
20
		['B', 'A']
21
		['B', 'A']
22
		['B', 'A']
23
 
24
SELECTION #1: B
25
	redistributing 1 effective of 1 excess ballot(s) at random from B
26
	random choice = ['B', 'A']
27
	to A: ['B', 'A']
28
 
29
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
30
	A:
31
		['A', 'B']
32
		['A', 'B']
33
		['A', 'B']
34
		['B', 'A']
35
	B:
36
		['B', 'A']
37
		['B', 'A']
38
		['B', 'A']
39
 
40
SELECTION #2: A
41
	redistributing 0 effective of 1 excess ballot(s) at random from A
42
 
43
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
44
	A:
45
		['A', 'B']
46
		['A', 'B']
47
		['A', 'B']
48
		['B', 'A']
49
	B:
50
		['B', 'A']
51
		['B', 'A']
52
		['B', 'A']
53
 
47 jtkorb 54
Number of random choices made: 1
45 jtkorb 55
 
56
FINAL RESULTS
57
	B
58
	A