Skip to content

AmrAhmadKali/elections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

elections

A ranked-choice voting system that enable users to provide an ordered list of the candidiates according to their preferences

Background

In a ranked-choice system (also called tideman system), voters can vote for more than one candidate. Instead of just voting for their top choice, they can rank the candidates in order of preference. Generally speaking, the Tideman method works by constructing a “graph” of candidates, where an arrow (i.e. edge) from candidate A to candidate B indicates that candidate A wins against candidate B in a head-to-head matchup. So in the following ballots

image

The according graph would be

image

Once the graph is made, the source of the graph (the one with no edges pointing towards it) is the winner!

About

Ranked-choice voting system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages