Algorithm::Voting::Sortition

Implements RFC 3797, "Publicly Verifiable Nominations Committee (NomCom) Random Selection"
Download

Algorithm::Voting::Sortition Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • John J. Trammell
  • Publisher web site:
  • http://search.cpan.org/~jtrammell/

Algorithm::Voting::Sortition Tags


Algorithm::Voting::Sortition Description

Implements RFC 3797, "Publicly Verifiable Nominations Committee (NomCom) Random Selection" Algorithm::Voting::Sortition is a Perl module that implements RFC 3797, "Publicly Verifiable Nominations Committee (NomCom) Random Selection".SYNOPSISTo choose two of our favorite Hogwarts pals via sortition: use Algorithm::Voting::Sortition; # choose a list of candidates my @candidates = qw/ Harry Hermione Ron Neville Albus Severus Ginny Hagrid Fred George /; # the results of our predetermined entropy source my @keysource = ( , # 8/9/08 powerball numbers "W 4-1", # final score of 8/8/08 Twins game ); # use sortition to determine the winners my $race = Algorithm::Voting::Sortition->new( candidates => @candidates, source => @keysource, n => 2, ); printf "Key string is: '%s' ", $race->keystring; print $race->as_string; Requirements: · Perl


Algorithm::Voting::Sortition Related Software