首页> 外文期刊>Computer Science & Information Technology >Time-Optimal Heuristic Algorithms for Finding Closest-Pair of Points in 2D and 3D
【24h】

Time-Optimal Heuristic Algorithms for Finding Closest-Pair of Points in 2D and 3D

机译:在2D和3D中找到最接近的点对的时间最优启发式算法

获取原文
           

摘要

Given a set of n points in 2D or 3D, the closest-pair problem is to find the pair of points whichare closest to each other. In this paper, we give a new O(n log n) time algorithm for both 2Dand 3D domains. In order to prove correctness of our heuristic empirically, we also providejava implementations of the algorithms. We verified the correctness of this heuristic by verifyingthe answer it produced with the answer provided by the brute force algorithm, through 600 trialruns, with different number of points. We also give empirical results of time taken by runningour implementation with different number of points in both 2D and 3D.
机译:给定2D或3D中的n个点集,最接近对的问题是找到彼此最接近的点对。在本文中,我们针对2D和3D域给出了一种新的O(n log n)时间算法。为了从经验上证明我们的启发式算法的正确性,我们还提供了算法的Java实现。我们通过使用蛮力算法提供的答案,通过600次试运行,以不同的点数来验证它产生的答案,从而验证了这种启发式方法的正确性。我们还给出了在2D和3D中运行具有不同点数的实现所花费的时间的经验结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号