dfa4bc6b1f
The Munkres module provides an implementation of the Munkres algorithm (also called the Hungarian algorithm or the Kuhn-Munkres algorithm), useful for solving the Assignment Problem. Assignment Problem: Let C be an nxn matrix representing the costs of each of n workers to perform any of n jobs. The assignment problem is to assign jobs to workers in a way that minimizes the total cost. Since each worker can perform only one job and each job can be assigned to only one worker the assignments represent an independent set of the matrix C.
21 lines
569 B
Makefile
21 lines
569 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2012/05/30 11:05:30 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= munkres-1.0.5.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://pypi.python.org/packages/source/m/munkres/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pypi.python.org/pypi/munkres/
|
|
COMMENT= Munkres algorithm for the Assignment Problem
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # none
|
|
REPLACE_PYTHON= munkres.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|