1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Source: libmath-convexhull-monotonechain-perl
Section: perl
Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Nicolas Dandrimont <nicolas.dandrimont@crans.org>
Build-Depends: debhelper (>= 9.20120312),
perl
Standards-Version: 3.9.4
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmath-convexhull-monotonechain-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmath-convexhull-monotonechain-perl.git
Homepage: https://metacpan.org/release/Math-ConvexHull-MonotoneChain/
Package: libmath-convexhull-monotonechain-perl
Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
Description: Perl module to calculate a convex hull using Andrew's monotone chain algorithm
Math::ConvexHull::MonotoneChain optionally exports a single function
convex_hull which calculates the convex hull of the input points and returns
it. Andrew's monotone chain convex hull algorithm constructs the convex hull
of a set of 2-dimensional points in O(n*log(n)) time.
.
It does so by first sorting the points lexicographically (first by
x-coordinate, and in case of a tie, by y-coordinate), and then constructing
upper and lower hulls of the points in O(n) time. It should be somewhat faster
than a plain Graham's scan (also O(n*log(n))) in practice since it avoids polar
coordinates.
|