Algorithm::Voting - voting algorithm implementations
use Algorithm::Voting::Ballot; use Algorithm::Voting::Plurality; my $box = Algorithm::Voting::Plurality->new(); # a ballot box foreach my $candidate (get_votes()) { $box->add( Algorithm::Voting::Ballot->new($candidate) ); } print $box->as_string;
Modules in this package implement various voting algorithms (e.g. Plurality, Sortition, etc.) as well as related objects (ballots, etc.).
johntrammell@gmail.com, <johntrammell at gmail.com>
<johntrammell at gmail.com>
Please report any bugs or feature requests via the Google Code web interface at http://code.google.com/p/algorithm-voting/.
You can find documentation for this module with the perldoc command.
perldoc Algorithm::Voting
This project is hosted at Google Code. You can find up-to-date information on this project at URL http://code.google.com/p/algorithm-voting/.
Copyright 2008 johntrammell@gmail.com, all rights reserved.
This software is intended for educational and entertainment purposes only.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Algorithm::Voting, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::Voting
CPAN shell
perl -MCPAN -e shell install Algorithm::Voting
For more information on module installation, please visit the detailed CPAN module installation guide.