| Algorithm-Voting documentation | Contained in the Algorithm-Voting distribution. |
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>
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.
| Algorithm-Voting documentation | Contained in the Algorithm-Voting distribution. |
# $Id: Voting.pm 60 2008-09-02 12:11:49Z johntrammell $ # $URL: https://algorithm-voting.googlecode.com/svn/tags/rel-0.01-1/lib/Algorithm/Voting.pm $ package Algorithm::Voting; use strict; use warnings; our $VERSION = '0.01'; 1;