Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 798 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 798 Bytes

Tideman Ranked Pairs Election Algorithm

GoDoc

See this Wikipedia page for a full description of TRP.

This implementation is tested with Ginkgo/Gomega and uses the "workbench" samples from condorcet.ca to assert this project's results are identical to what that reference implementation generates (thereby also proving their reference implementation is at least as correct as this one).

This implementation was not based on any other code reference: just the Wikipedia article and the outputs from condorcet.ca's Java Swing-based vote counter desktop app (no code was found for it).