NAME
Vote::Count::Helper::NthApproval
VERSION 1.21
SYNOPSIS
package MySTVElection;
use Moose;
extends 'Vote::Count::Charge';
with 'Vote::Count::Charge::NthApproval';
for my $defeat ( NthApproval( $STV_Election ) ) {
$STV_Election->Defeat( $defeat );
}
NthApproval
Finds the choice that would fill the last seat if the remaining seats were to be filled by highest Top Count, and sets the Vote Value for that Choice as the requirement. All Choices that do not have a weighted Approval greater than that requirement are returned, they will never be elected and are safe to defeat immediately.
Results are logged to the verbose log,
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.