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) firstname.lastname@example.org
Copyright 2019-2021 by John Karr (BRAINBUZ) email@example.com.
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.
This software is provided as is, per the terms of the GNU Public License. Professional support and customisation services are available from the author.