freebsd-ports/games/p5-Algorithm-Pair-Best/pkg-descr
Aaron Dalton b4af7b9ed1 Adding port games/p5-Algorithm-Pair-Best, Perl module to generate
tournament pairings.

Approved by:	tobez (implicit)
2006-06-13 00:00:22 +00:00

15 lines
820 B
Text

After creating an Algorithm::Pair::Best->new object, add a list of items
(players) to be paired. add connects the new items into a linked list. The
linked list must consist of an even number of items or you'll get an error
when you try to pick the pairs.
Pairings are determined partially by the original order items were added,
but more importantly, items are paired based on scores which are
determined by an info hash used to attach any random data to the item, and
user supplied functions to provide a score for each item in relation to
other items. It may be convenient to add access methods to the
Algorithm::Pair::Best package from the main namespace (see the scoreSubs
option to new below for an example).
WWW: http://search.cpan.org/dist/Algorithm-Pair-Best
Author: Reid Augustin <reid@HelloSix.com>