Subversion Repositories Remote Hare Voting

Rev

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

Rev Author Line No. Line
57 jtkorb 1
INPUT SUMMARY AND RUN TRACE
45 jtkorb 2
	7 ballots
3
	Choosing 2 winners
4
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
5
 
6
	BALLOT MARKS	1ST	2ND	NONE
7
	A                 3	  4	   0
8
	B                 4	  3	   0
9
 
10
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
11
	A:
12
		['A', 'B']
13
		['A', 'B']
14
		['A', 'B']
15
	B:
16
		['B', 'A']
17
		['B', 'A']
18
		['B', 'A']
19
		['B', 'A']
61 jtkorb 20
POPPED UNIVERSE 1 (p = 1.000000, 0 pending):
45 jtkorb 21
 
22
SELECTION #1: B
61 jtkorb 23
	redistributing 4 effective ballots, 1 at a time
24
	creating 3 universes (p = 0.250000)
45 jtkorb 25
	to A: ['B', 'A']
26
 
27
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
28
	A:
29
		['A', 'B']
30
		['A', 'B']
31
		['A', 'B']
32
		['B', 'A']
33
	B:
34
		['B', 'A']
35
		['B', 'A']
36
		['B', 'A']
37
 
38
SELECTION #2: A
61 jtkorb 39
	redistributing 0 effective ballots, 0 at a time
45 jtkorb 40
 
41
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
42
	A:
43
		['A', 'B']
44
		['A', 'B']
45
		['A', 'B']
46
		['B', 'A']
47
	B:
48
		['B', 'A']
49
		['B', 'A']
50
		['B', 'A']
61 jtkorb 51
RESULTS FOR UNIVERSE 1 (p = 0.250000): ['B', 'A']
52
POPPED UNIVERSE 4 (p = 0.250000, 2 pending):
53
	redistributing 1 ballots
54
	to A: ['B', 'A']
45 jtkorb 55
 
61 jtkorb 56
SELECTION #2: A
57
	redistributing 0 effective ballots, 0 at a time
45 jtkorb 58
 
61 jtkorb 59
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
60
	A:
61
		['A', 'B']
62
		['A', 'B']
63
		['A', 'B']
64
		['B', 'A']
65
	B:
66
		['B', 'A']
67
		['B', 'A']
68
		['B', 'A']
69
RESULTS FOR UNIVERSE 4 (p = 0.250000): ['B', 'A']
70
POPPED UNIVERSE 3 (p = 0.250000, 1 pending):
71
	redistributing 1 ballots
72
	to A: ['B', 'A']
73
 
74
SELECTION #2: A
75
	redistributing 0 effective ballots, 0 at a time
76
 
77
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
78
	A:
79
		['A', 'B']
80
		['A', 'B']
81
		['A', 'B']
82
		['B', 'A']
83
	B:
84
		['B', 'A']
85
		['B', 'A']
86
		['B', 'A']
87
RESULTS FOR UNIVERSE 3 (p = 0.250000): ['B', 'A']
88
POPPED UNIVERSE 2 (p = 0.250000, 0 pending):
89
	redistributing 1 ballots
90
	to A: ['B', 'A']
91
 
92
SELECTION #2: A
93
	redistributing 0 effective ballots, 0 at a time
94
 
95
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
96
	A:
97
		['A', 'B']
98
		['A', 'B']
99
		['A', 'B']
100
		['B', 'A']
101
	B:
102
		['B', 'A']
103
		['B', 'A']
104
		['B', 'A']
105
RESULTS FOR UNIVERSE 2 (p = 0.250000): ['B', 'A']
106
 
107
Dropped 0 universes with low probability
108
 
45 jtkorb 109
FINAL RESULTS
61 jtkorb 110
	1.000000: ['B', 'A']