Generating Random Polygons with Given Vertices
Generating Random Polygons with Given Vertices
复制标题
生成具有给定顶点的随机多边形
DOI:
10.1016/0925-7721(95)00031-3
复制
发表时间:
1996
期刊:
影响因子:
--
通讯作者:
Joseph S. B. Mitchell
中科院分区:
文献类型:
--
作者:
Chong Zhu;Gopalakrishnan Sundaram;J. Snoeyink;Joseph S. B. Mitchell
The problem of generating “random” geometric objects is motivated by the need to generate test instances for geometric algorithms. We examine the specific problem of generating a random x-monotone polygon on a given set of n vertices. Here, “random” is taken to mean that we select uniformly at random a polygon, from among all those x-monotone polygons having the given n vertices. We give an algorithm that generates a random monotone polygon in O(n) time and space after O(K) preprocessing time, where n < K < n2is the number of edges of the visibility graph of the x-monotone chain of the given vertex set. We also give an O(n3) time algorithm for generating a random convex polygon whose vertices are a subset of a given set of n points. Finally, we discuss some further extensions, as well as the challenging open problem of generating random simple polygons.