/[gentoo-src]/votify/Votify.pm
Gentoo

Diff of /votify/Votify.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# $Id: Votify.pm,v 1.4 2005/05/16 18:40:07 agriffis Exp $ 1# $Id: Votify.pm,v 1.5 2005/05/16 23:58:09 agriffis Exp $
2# 2#
3# Copyright 2005 Gentoo Foundation 3# Copyright 2005 Gentoo Foundation
4# Distributed under the terms of the GNU General Public License v2 4# Distributed under the terms of the GNU General Public License v2
5# 5#
6# votify.pm: common classes for votify and countify 6# votify.pm: common classes for votify and countify
382 for my $B (@candidates) { 382 for my $B (@candidates) {
383 next if $transitive_defeats{"$A+$B"} or not $transitive_defeats{"$B+$A"}; 383 next if $transitive_defeats{"$A+$B"} or not $transitive_defeats{"$B+$A"};
384 # countify marks entries +++ instead of *** when they've already 384 # countify marks entries +++ instead of *** when they've already
385 # been ranked. 385 # been ranked.
386 if ($self->{'table'}{"$A+$A"} eq '***') { 386 if ($self->{'table'}{"$A+$A"} eq '***') {
387 print "option $A is eliminated ($A does not beat $B and $B beats $A)\n"; 387 print "option $A is eliminated ($B trans-defeats $A, and $A does not trans-defeat $B)\n";
388 } 388 }
389 next A; 389 next A;
390 } 390 }
391 push @active, $A; 391 push @active, $A;
392 } 392 }
6411; 6411;
642 642
643__END__ 643__END__
644 644
645$Log: Votify.pm,v $ 645$Log: Votify.pm,v $
646Revision 1.5 2005/05/16 23:58:09 agriffis
647change wording
648
646Revision 1.4 2005/05/16 18:40:07 agriffis 649Revision 1.4 2005/05/16 18:40:07 agriffis
647fix shortname calculation 650fix shortname calculation
648 651
649Revision 1.3 2005/05/16 18:10:46 agriffis 652Revision 1.3 2005/05/16 18:10:46 agriffis
650ranking works completely now, even if it needs badly to be refactored 653ranking works completely now, even if it needs badly to be refactored
654 657
655 658
656__END__ 659__END__
657 660
658$Log: Votify.pm,v $ 661$Log: Votify.pm,v $
662Revision 1.5 2005/05/16 23:58:09 agriffis
663change wording
664
659Revision 1.4 2005/05/16 18:40:07 agriffis 665Revision 1.4 2005/05/16 18:40:07 agriffis
660fix shortname calculation 666fix shortname calculation
661 667
662Revision 1.3 2005/05/16 18:10:46 agriffis 668Revision 1.3 2005/05/16 18:10:46 agriffis
663ranking works completely now, even if it needs badly to be refactored 669ranking works completely now, even if it needs badly to be refactored

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20