[][src]Module wybr::tally

Election data tallies

Re-exports

pub use self::vote_matrix::VoteMatrix;
pub use self::vote_tree::Transfer;
pub use self::vote_tree::VoteTree;

Modules

vote_matrix
vote_tree

VoteTree tally for STV and Borda elections

Structs

Metadata

Structure holding metadata about the election

Enums

VoteReadError

Errors possible during ballot data parsing

VoteToken

VoteToken represents an unit of information parsed from the input file Wybr I/O is based on an idea that ballot file parser shall return an iterator of VoteTokens, and they can be collected into something that is Tally, currently VoteMatrix or VoteTree. Finally, either of this is then passed to some vote counting method or other tool.

Traits

Tally

Generic trait for tallied ballot data