欢迎访问《图学学报》 分享到:

图学学报

• 几何与图形学 • 上一篇    下一篇

一种求凸多边形宽度的优化算法

  

  • 出版日期:2011-04-29 发布日期:2015-08-12

An Optimal Algorithm for Calculating the Width of Convex Polygons

  • Online:2011-04-29 Published:2015-08-12

摘要: :提出了一种优化的线性时间算法计算凸多边形的宽度。首先证明了凸多边形的宽度只可能介于“点边式”跨度之间,缩小了宽度的计算范围。其次提出了一种距离比较算法,降低了凸多边形跨度的计算量。最后,在“点边式”基本算法和距离比较算法的基础上,提出了计算宽度的优化算法。仿真分析表明,提出的优化算法提高了计算凸多边形宽度的效率,算法的时间复杂性降为O(n)。

关键词: 计算几何, 优化算法, 点边式, 凸多边形

Abstract: An optimal linear time algorithm is proposed to calculate the width of convex polygons. It is proved that the width of a convex polygon only be found between the span of vertex-edge pairs. In this way, the range of calculation narrows down. Then an algorithm using distance comparison is investigated to reduce the calculation of the span. Based on the basic algorithm of vertex-edge pairs and the distance comparison, the optimal algorithm for calculating the width is proposed. The simulation results show that the proposed algorithm greatly improves the efficiency of caculating the width of convex polygons, and reduces the time complexity to O(n).

Key words: computational geometry, optimal algorithm, vertex-edge pairs, convex polygon