Subversion Repositories Local 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
  5 ['A', 'C']
3
  5 ['A', 'B']
4
 
5
INPUT SUMMARY AND SINGLE RUN TRACE
6
	6 ballots
7
	Choosing 2 winners
8
	Need ceil((6 + 1)/(2 + 1)) = 3 ballots to win
9
 
10
	BALLOT MARKS	1ST	2ND	NONE
11
	A                 6	  0	   0
12
	B                 0	  3	   0
13
	C                 0	  3	   0
14
 
15
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
16
	A:
17
		['A', 'B', 'C']
18
		['A', 'B', 'C']
19
		['A', 'B', 'C']
20
		['A', 'C', 'B']
21
		['A', 'C', 'B']
22
		['A', 'C', 'B']
23
 
24
SELECTION #1: A
25
	redistributing 3 effective of 3 excess ballot(s) at random from A
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
 
47 jtkorb 73
Number of random choices made: 3
45 jtkorb 74
 
75
FINAL RESULTS
76
	A
77
	B