0ae8a455c3
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: http://search.cpan.org/dist/Algorithm-Pair-Best2/ Feature safe: yes
21 lines
420 B
Makefile
21 lines
420 B
Makefile
# New ports collection makefile for: p5-Algorithm-Pair-Best2
|
|
# Date created: 2011-11-24
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Algorithm-Pair-Best2
|
|
PORTVERSION= 2.035
|
|
CATEGORIES= games perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Select tournament pairings
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Algorithm::Pair::Best2.3
|
|
|
|
.include <bsd.port.mk>
|