Crate stv_rs

source ·
Expand description

Single Transferable Vote implementation in Rust. The Meek algorithm is implemented in the corresponding module.

Modules§

  • Module providing traits to abstract over the arithmetic needed for STV, and various implementations of this arithmetic.
  • Utilities to write elections into the BLT format.
  • Type definitions for the command-line interface.
  • Single Transferable Vote implementation of Meek’s algorithm. This aims to give consistent results with Droop.py.
  • Hand-rolled parallelism utilities for vote counting.
  • Module to parse STV ballot files.
  • A simulation of plurality block voting based on ranked ballots.
  • Types to represent an election.
  • vote_count 🔒
    Module to count votes, based on input ballots and the current keep factor values.