Algorithm-Pair-Swiss
view release on metacpan or search on metacpan
lib/Algorithm/Pair/Swiss.pm view on Meta::CPAN
croak q{All parties must have a defined stringification}
unless defined "$i";
croak qq{All parties must have a unique stringification, but "$i" seems to be a duplicate}
if exists $self->{exclude}->{"$i"};
$self->{exclude}->{"$i"}={}
}
}
=item @pairs = $pairer-E<gt>B<pairs>
Returns the best pairings found as a list of arrayref's, each containing
one pair of parties.
=cut
sub pairs {
my $self = shift;
my @pairs = _pairs([$self->parties],$self->{exclude});
return @pairs;
}
( run in 0.490 second using v1.01-cache-2.11-cpan-4e96b696675 )