Vote::Count::Score
my $RangeElection = Vote::Count->new( BallotSet => read_range_ballots('t/data/tennessee.range.json') ); my $scored = $RangeElection->Score();
When Range (Cardinal) Ballots are used, it is simple and obvious to total the scores provided by the voters. This contrasts to the related Borda Method which assigns scores based on position on a Ranked Ballot.
Returns a RankCount Object with the choices scored using the scores set by the voters, for Range Ballots.
Used for pairings against Range Ballots. Used by Condorcet and STAR.
where $I is a Vote::Count object created with a Range Ballot Set. my ( $countA, $countB ) = $I->RangeBallotPair( $A, $B) ;
BUG TRACKER
https://github.com/brainbuz/Vote-Count/issues
AUTHOR
John Karr (BRAINBUZ) brainbuz@cpan.org
CONTRIBUTORS
Copyright 2019 by John Karr (BRAINBUZ) brainbuz@cpan.org.
LICENSE
This module is released under the GNU Public License Version 3. See license file for details. For more information on this license visit http://fsf.org.
To install Vote::Count, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Vote::Count
CPAN shell
perl -MCPAN -e shell install Vote::Count
For more information on module installation, please visit the detailed CPAN module installation guide.