亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

您現在的位置是:蟲蟲下載站 > 資源下載 > 其他 > Input : A set S of planar points Output : A convex hull for S Step 1: If S contains no more than f

Input : A set S of planar points Output : A convex hull for S Step 1: If S contains no more than f

  • 資源大小:3 K
  • 上傳時間: 2017-02-19
  • 上傳用戶:yjpynnpl
  • 資源積分:2 下載積分
  • 標      簽: contains Output convex planar

資 源 簡 介

Input : A set S of planar points Output : A convex hull for S Step 1: If S contains no more than five points, use exhaustive searching to find the convex hull and return. Step 2: Find a median line perpendicular to the X-axis which divides S into SL and SR SL lies to the left of SR . Step 3: Recursively construct convex hulls for SL and SR. Denote these convex hulls by Hull(SL) and Hull(SR) respectively. Step 4: Apply the merging procedure to merge Hull(SL) and Hull(SR) together to form a convex hull. Time complexity: T(n) = 2T(n/2) + O(n) = O(n log n)

相 關 資 源

主站蜘蛛池模板: 太谷县| 津南区| 繁昌县| 军事| 方城县| 抚松县| 界首市| 南昌市| 云南省| 辽中县| 惠东县| 东丽区| 革吉县| 遵义市| 板桥市| 登封市| 晋州市| 韶山市| 兴宁市| 武隆县| 五常市| 曲靖市| 瑞金市| 阳东县| 宜兰市| 原阳县| 武隆县| 疏勒县| 班玛县| 龙岩市| 武夷山市| 五寨县| 茌平县| 正阳县| 小金县| 密山市| 额尔古纳市| 成都市| 黑龙江省| 上虞市| 宣恩县|