Vote::Count::Helper::NthApproval
use Vote::Count::Helper::NthApproval; for my $defeat ( NthApproval( $STV_Election ) ) { $STV_Election->Defeat( $defeat ); }
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,
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.