Random Polygon Generation through Convex Layers

Sanjib Sadhu, Niraj Kumar, Bhudev Kumar
2013 Procedia Technology - Elsevier  
In this paper we have designed a randomized algorithm to generate a random polygon P from a given set S={p 1 , p 2 ,..., p n } of n points lying on a two dimensional plane. As a preprocessing task, we first compute the convex hull layers from the set S in O(n 2 ) time by modifying the well known Jarvis march algorithm. Next, we execute our algorithm taking the convex hull layers as input to generate random polygons over given point set. This is a Las-Vegas randomized algorithm with O(n ogn)
more » ... which is much improved over the existing one. We also give a procedure to count the total number of different polygons that can be generated by our algorithm. This number help us to calculate the probability of generating a unique polygon in each execution which measure the randomness of our algorithm.
doi:10.1016/j.protcy.2013.12.371 fatcat:shpzymlbfrhwxbisdxhj3my5rq