Algorithm::Voting - voting algorithm implementations


Algorithm-Voting documentation Contained in the Algorithm-Voting distribution.

Index


Code Index:

NAME

Top

Algorithm::Voting - voting algorithm implementations

SYNOPSIS

Top

    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;

DESCRIPTION

Top

Modules in this package implement various voting algorithms (e.g. Plurality, Sortition, etc.) as well as related objects (ballots, etc.).

AUTHOR

Top

johntrammell@gmail.com, <johntrammell at gmail.com>

BUGS

Top

Please report any bugs or feature requests via the Google Code web interface at http://code.google.com/p/algorithm-voting/.

SUPPORT

Top

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 & LICENSE

Top


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;