Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> perl >> libmath-convexhull-monotonechain-perl
etiona  ] [  nabia  ] [  aramo  ]

パッケージ: libmath-convexhull-monotonechain-perl (0.1-1build9)

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.

その他の libmath-convexhull-monotonechain-perl 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: libc6 (>= 2.17)
    GNU C Library: Shared libraries
    以下のパッケージによって提供される仮想パッケージでもあります: libc6-udeb
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    以下のパッケージによって提供される仮想パッケージです: perl-base

libmath-convexhull-monotonechain-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
arm64 8.5 kB36 kB [ファイル一覧]