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
 10 ['B', 'A']
-
 
3
 
-
 
4
INPUT SUMMARY AND SINGLE RUN TRACE
1
INPUT SUMMARY
5
	7 ballots
2
	7 ballots
6
	Choosing 2 winners
3
	Choosing 2 winners
7
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
4
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
8
 
5
 
9
	BALLOT MARKS	1ST	2ND	NONE
6
	BALLOT MARKS	1ST	2ND	NONE
Line 19... Line 16...
19
		['B', 'A']
16
		['B', 'A']
20
		['B', 'A']
17
		['B', 'A']
21
		['B', 'A']
18
		['B', 'A']
22
		['B', 'A']
19
		['B', 'A']
23
 
20
 
24
SELECTION #1: B
-
 
25
	redistributing 1 effective of 1 excess ballot(s) at random from B
21
Tracked 4 alternative decisions (skipped 0 with low probability)
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
 
-
 
54
Number of random choices made: 1
-
 
55
 
22
 
56
FINAL RESULTS
23
FINAL RESULTS
57
	B
-
 
58
	A
24
1.000000: ['B', 'A']