Subversion Repositories Local Hare Voting

Rev

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

INPUT SUMMARY AND RUN TRACE
        7 ballots
        Choosing 2 winners
        Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win

        BALLOT MARKS    1ST     2ND     NONE
        A                 3       4        0
        B                 4       3        0

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A', 'B']
                ['A', 'B']
                ['A', 'B']
        B:
                ['B', 'A']
                ['B', 'A']
                ['B', 'A']
                ['B', 'A']
POPPED UNIVERSE 1 (p = 1.000000, 0 pending):

SELECTION #1: B
        redistributing 4 effective ballots, 1 at a time
        creating 3 universes (p = 0.250000)
        to A: ['B', 'A']

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A', 'B']
                ['A', 'B']
                ['A', 'B']
                ['B', 'A']
        B:
                ['B', 'A']
                ['B', 'A']
                ['B', 'A']

SELECTION #2: A
        redistributing 0 effective ballots, 0 at a time

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A', 'B']
                ['A', 'B']
                ['A', 'B']
                ['B', 'A']
        B:
                ['B', 'A']
                ['B', 'A']
                ['B', 'A']
RESULTS FOR UNIVERSE 1 (p = 0.250000): ['B', 'A']
POPPED UNIVERSE 4 (p = 0.250000, 2 pending):
        redistributing 1 ballots
        to A: ['B', 'A']

SELECTION #2: A
        redistributing 0 effective ballots, 0 at a time

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A', 'B']
                ['A', 'B']
                ['A', 'B']
                ['B', 'A']
        B:
                ['B', 'A']
                ['B', 'A']
                ['B', 'A']
RESULTS FOR UNIVERSE 4 (p = 0.250000): ['B', 'A']
POPPED UNIVERSE 3 (p = 0.250000, 1 pending):
        redistributing 1 ballots
        to A: ['B', 'A']

SELECTION #2: A
        redistributing 0 effective ballots, 0 at a time

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A', 'B']
                ['A', 'B']
                ['A', 'B']
                ['B', 'A']
        B:
                ['B', 'A']
                ['B', 'A']
                ['B', 'A']
RESULTS FOR UNIVERSE 3 (p = 0.250000): ['B', 'A']
POPPED UNIVERSE 2 (p = 0.250000, 0 pending):
        redistributing 1 ballots
        to A: ['B', 'A']

SELECTION #2: A
        redistributing 0 effective ballots, 0 at a time

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A', 'B']
                ['A', 'B']
                ['A', 'B']
                ['B', 'A']
        B:
                ['B', 'A']
                ['B', 'A']
                ['B', 'A']
RESULTS FOR UNIVERSE 2 (p = 0.250000): ['B', 'A']

Dropped 0 universes with low probability

FINAL RESULTS
        1.000000: ['B', 'A']