Subversion Repositories Remote Hare Voting

Rev

Rev 47 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 47 Rev 75
Line 1... Line -...
1
SUMMARY AFTER 10 TIMES
-
 
2
  5 ['A', 'C']
-
 
3
  5 ['A', 'B']
-
 
4
 
-
 
5
INPUT SUMMARY AND SINGLE RUN TRACE
1
INPUT SUMMARY
6
	6 ballots
2
	6 ballots
7
	Choosing 2 winners
3
	Choosing 2 winners
8
	Need ceil((6 + 1)/(2 + 1)) = 3 ballots to win
4
	Need ceil((6 + 1)/(2 + 1)) = 3 ballots to win
9
 
5
 
10
	BALLOT MARKS	1ST	2ND	NONE
6
	BALLOT MARKS	1ST	2ND	NONE
Line 19... Line 15...
19
		['A', 'B', 'C']
15
		['A', 'B', 'C']
20
		['A', 'C', 'B']
16
		['A', 'C', 'B']
21
		['A', 'C', 'B']
17
		['A', 'C', 'B']
22
		['A', 'C', 'B']
18
		['A', 'C', 'B']
23
 
19
 
24
SELECTION #1: A
-
 
25
	redistributing 3 effective of 3 excess ballot(s) at random from A
20
Tracked 20 alternative decisions (skipped 0 with low probability)
26
	random choice = ['A', 'B', 'C']
-
 
27
	to B: ['A', 'B', 'C']
-
 
28
	random choice = ['A', 'C', 'B']
-
 
29
	to C: ['A', 'C', 'B']
-
 
30
	random choice = ['A', 'B', 'C']
-
 
31
	to B: ['A', 'B', 'C']
-
 
32
 
-
 
33
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
-
 
34
	A:
-
 
35
		['A', 'B', 'C']
-
 
36
		['A', 'C', 'B']
-
 
37
		['A', 'C', 'B']
-
 
38
	C:
-
 
39
		['A', 'C', 'B']
-
 
40
	B:
-
 
41
		['A', 'B', 'C']
-
 
42
		['A', 'B', 'C']
-
 
43
 
-
 
44
ELIMINATED: C
-
 
45
	redistributing 1 ballot(s) from C
-
 
46
	to B: ['A', 'C', 'B']
-
 
47
 
-
 
48
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
-
 
49
	A:
-
 
50
		['A', 'B', 'C']
-
 
51
		['A', 'C', 'B']
-
 
52
		['A', 'C', 'B']
-
 
53
	C:
-
 
54
	B:
-
 
55
		['A', 'B', 'C']
-
 
56
		['A', 'B', 'C']
-
 
57
		['A', 'C', 'B']
-
 
58
 
-
 
59
SELECTION #2: B
-
 
60
	no excess ballots to redistribute
-
 
61
 
-
 
62
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
-
 
63
	A:
-
 
64
		['A', 'B', 'C']
-
 
65
		['A', 'C', 'B']
-
 
66
		['A', 'C', 'B']
-
 
67
	C:
-
 
68
	B:
-
 
69
		['A', 'B', 'C']
-
 
70
		['A', 'B', 'C']
-
 
71
		['A', 'C', 'B']
-
 
72
 
-
 
73
Number of random choices made: 3
-
 
74
 
21
 
75
FINAL RESULTS
22
FINAL RESULTS
76
	A
23
0.500000: ['A', 'C']
77
	B
24
0.500000: ['A', 'B']