首页 | 本学科首页   官方微博 | 高级检索  
     

多核架构下计算凸壳的并行算法
引用本文:颜 坚,毕硕本,汪 大,郭 忆.多核架构下计算凸壳的并行算法[J].计算机科学,2013,40(2):16-19,57.
作者姓名:颜 坚  毕硕本  汪 大  郭 忆
作者单位:(南京信息工程大学计算机与软件学院 南京210044);(南京信息工程大学遥感学院 南京210044)
摘    要:改进了周培德的Z3-2算法,提出一种在多核架构下计算平面点集凸壳的并行算法。用“颜氏距离”来数字化平面上点与有向线段的位置关系,减少了计算次数和时间。进一步将原算法中比较耗时的两个过程分别在O(1)的时间复杂度内进行迭代分解,即当原问题规模大于给定阂值时,将原问题分解为若干个独立的子问题,若所得子问题的规模仍大于给定阂值,则再对子问题进行分解;所有子问题被加入并行任务组进行并行求解以充分利用多核处理器的并行计算资源。给出了算法的正确性说明,实验结果也表明本算法稳定高效。

关 键 词:凸壳  并行计算  多核  颜氏距离

Parallel Algorithm for Computing Convex Hulls in Multi-processor Architecture
Abstract:This paper Improved the Z3-2 algorithm proposed by ZHOU Pei de, and proposed a parallel algorithm for computing the convex hulls of planar point set in multi-processor architecture. The times and duration of calculation were reduced by digitizing the positional relationship between a point and a directed line segment on plane with "Yan's distance". Further,the two progresses were decomposed iteratively which are the foremost time-consuming parts in the algorithm within the complexity of O(1). That is, the original task is decomposed into several sub-tasks when its scale is greater than a given threshold and then decompose any of the sulrtasks if its scale is still greater than the threshold. All sub-tasks will be executed in parallel from the parallel task group to take full advantage of the parallel computation resources of the multi-processor. The correctness of the algorithm was discussed. The experiment results show that the algorithm is efficient and stable.
Keywords:Convex hull  Parallel computing  Multi core  Yan's distance
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号