fptp

package
v0.0.0-...-9d9be1d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package fptp implements a first-past-the-post electoral system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tally

func Tally(ballots []polling.Ballot) polling.Result

Tally tallies ballots into a single first-past-the-post result. If there is a tie for first, both are returned as winners.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL