NAME
Vote::Count::Borda
VERSION 0.012
Borda Wieght
Borda's original method assigned each position the inverse if its position, ie in a 9 choice ballot position 1 was worth 9, while position 9 was worth 1, and position 8 was worth 2.
When Creating a VoteCount object the Borda weight may be set by passing a coderef. The coderef takes two arguments. The first argument is the position of the choice in question. The second argument is the depth of the ballot. The optional bordadepth attribute will set an arbitrary depth. Some popular options such inversion ( where choice $c becomes $c/1 then inverted to 1/$c) don't need to know the depth. In such cases the coderef should just ignore the second argument.
The default Weight when none are provided is Borda's original weight. If the bordadepth attribute is set it will be followed.
Private Method _bordashrinkballot( $BallotSet, $active )
Takes a BallotSet and active list and returns a BallotSet reduced to only the active choices. When choices are removed later choices are promoted.
BUG TRACKER
https://github.com/brainbuz/Vote-Count/issues
AUTHOR
John Karr (BRAINBUZ) brainbuz@cpan.org
CONTRIBUTORS
Copyright 2019 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.