NAME

Vote::Count::Score

VERSION 1.214

Synopsis

my $RangeElection = Vote::Count->new(
  BallotSet  => read_range_ballots('t/data/tennessee.range.json')
  );
my $scored = $RangeElection->Score();

Range Score Methods

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.

Score

Returns a RankCount Object with the choices scored using the scores set by the voters, for Range Ballots.

RangeBallotPair

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-2021 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.

SUPPORT

This software is provided as is, per the terms of the GNU Public License. Professional support and customisation services are available from the author.