vote 0.1.0

Common voting methods
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# About
This crate provides functionality for several common voting methods.

# Example Usage
Using this crate is easy! Simply add this crate as a dependency and then `use` it:
``` 
use vote::*;

// Make a preference profile
let v = vec![vec![1, 2, 3]; 4];

// Load it into a voting method
let m = RandomDictator(v.clone());

// Get the ranking
println!("{:?}", m.get_ranking());

```