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) ;
John Karr (BRAINBUZ) email@example.com
Copyright 2019 by John Karr (BRAINBUZ) firstname.lastname@example.org.
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.