freebsd-ports/games/p5-Algorithm-Pair-Best2/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

11 lines
544 B
Text

Algorithm::Pair::Best2 is a re-write of Algorithm::Pair::Best. The interface is
simplified and the implementation is significantly streamlined.
After creating an Algorithm::Pair::Best2 object (with->new), add items to the
list of items (i.e: players) to be paired. The final list must contain an even
number of items or picking the pairs will throw an exception.
Algorithm::Pair::Best2->pick explores all combinations of items and returns the
pairing list with the best (lowest) score.
WWW: https://metacpan.org/release/Algorithm-Pair-Best2