- a perl module that

finding the minimum and maximum of an array with at most
  3n/2 - 2 comparisons

Approved by:	co-mentor (vanilla)
This commit is contained in:
Cheng-Lung Sung 2004-10-28 09:41:18 +00:00
parent ee22df3797
commit a52ebce9f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120380
5 changed files with 37 additions and 0 deletions

View file

@ -589,6 +589,7 @@
SUBDIR += p5-Algorithm-Interval2Prefix
SUBDIR += p5-Algorithm-MDiff
SUBDIR += p5-Algorithm-MarkovChain
SUBDIR += p5-Algorithm-MinMax
SUBDIR += p5-Algorithm-NaiveBayes
SUBDIR += p5-Algorithm-Networksort
SUBDIR += p5-Algorithm-Numerical-Shuffle

View file

@ -0,0 +1,22 @@
# New ports collection makefile for: Algorithm::MinMax
# Date created: Thu Oct 28 17:18:43 CST 2004
# Whom: clsung
#
# $FreeBSD$
#
PORTNAME= Algorithm-MinMax
PORTVERSION= 0.01
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Algorithm
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Perl modules to find the minimum and maximum of an array
PERL_CONFIGURE= yes
MAN3= Algorithm::MinMax.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
MD5 (Algorithm-MinMax-0.01.tar.gz) = 4fbc998d532bc883503eb4db764149ba
SIZE (Algorithm-MinMax-0.01.tar.gz) = 2144

View file

@ -0,0 +1,7 @@
Algorithm::MinMax finds the minimum and maximum of a given
array with at most 3n/2 - 2 comparisons, where n is the
number of elements of the array.
WWW: http://search.cpan.org/dist/Algorithm-MinMax
--clsung

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/Algorithm/MinMax.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/MinMax/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/MinMax
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true