Start Submission Become a Reviewer

Reading: On the convex layers of a planer dynamic set of points

Download

A- A+
dyslexia friendly

Research Articles

On the convex layers of a planer dynamic set of points

Authors:

K. R. Wijeweera ,

University of Ruhuna, LK
About K. R.

Department of Computer Science

 

Postgraduate Institute of Science, University of Peradeniya

X close

S. R. Kodituwakku

University of Peradeniya, LK
About S. R.

Department of Statistics and Computer Science

 

Postgraduate Institute of Science, University of Peradeniya

X close

Abstract

The convex hull of a planer set of points can be defined as the set of vertices of the smallest convex polygon containing all the points. If S is a planer set of points then convex layers of S can be derived by iteratively computing the convex hull of S and then removing it from S. Computation of the convex layers has widely been studied in the static environment where the set of points is fixed. The theoretical lower bound of computing the convex layers of a fixed set of points is O (n log n). The static convex layers algorithms with the optimal time complexity have already been proposed in the literature. A set of points where the points can be inserted or deleted is called a dynamic set of points. The set of convex layers should be reconstructed from the scratch at each insertion or deletion if a static convex layers algorithm was used to handle a dynamic set of points. Therefore, it takes O (n log n) time to handle an insertion or a deletion even for an optimal static convex layers algorithm. A dynamic convex layers algorithm has been proposed recently that can perform an insertion or a deletion by doing a slight modification to the existing set of convex layers. It takes O (n) time for an insertion or a deletion. It assumes that the set of points does not contain collinear points and that assumption is not valid in practical applications. Furthermore, the notion of tangent used in that approach restricts the extension of the algorithm into higher dimensions. This paper proposes a novel dynamic convex layers algorithm to eliminate the drawbacks in the existing algorithm. Salient feature of this algorithm is that it represents each layer as a set of line segments. The layers are modified upon an insertion or a deletion of a point by adding some new line segments and deleting some existing line segments. The proposed algorithm takes O (n3/k2) time for an insertion or a deletion where k is the number of convex layers. A computer implementation is also presented. The proposed algorithm can work with set of points with collinear points and coincident points. The notion used in the algorithm can easily be extended to higher dimensions. Suppose the set of convex layers have already been found for a given set of points. Further, suppose that the layers are close to each other and new points are expected to fall within the region bounded by the outermost layer. This kind of situations widely occurs in practice and then the proposed algorithm takes O (n) time for an inclusion or a deletion.
How to Cite: Wijeweera, K. R., & Kodituwakku, S. R. (2018). On the convex layers of a planer dynamic set of points. Ceylon Journal of Science, 47(2), 165–174. DOI: http://doi.org/10.4038/cjs.v47i2.7513
Published on 15 Jun 2018.
Peer Reviewed

Downloads

  • PDF (EN)

    comments powered by Disqus