Cargando…

Preconditioning 2D Integer Data for Fast Convex Hull Computations

In order to accelerate computing the convex hull on a set of n points, a heuristic procedure is often applied to reduce the number of points to a set of s points, s ≤ n, which also contains the same hull. We present an algorithm to precondition 2D data with integer coordinates bounded by a box of si...

Descripción completa

Detalles Bibliográficos
Autores principales: Cadenas, José Oswaldo, Megson, Graham M., Luengo Hendriks, Cris L.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2016
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4777294/
https://www.ncbi.nlm.nih.gov/pubmed/26938221
http://dx.doi.org/10.1371/journal.pone.0149860
_version_ 1782419278154170368
author Cadenas, José Oswaldo
Megson, Graham M.
Luengo Hendriks, Cris L.
author_facet Cadenas, José Oswaldo
Megson, Graham M.
Luengo Hendriks, Cris L.
author_sort Cadenas, José Oswaldo
collection PubMed
description In order to accelerate computing the convex hull on a set of n points, a heuristic procedure is often applied to reduce the number of points to a set of s points, s ≤ n, which also contains the same hull. We present an algorithm to precondition 2D data with integer coordinates bounded by a box of size p × q before building a 2D convex hull, with three distinct advantages. First, we prove that under the condition min(p, q) ≤ n the algorithm executes in time within O(n); second, no explicit sorting of data is required; and third, the reduced set of s points forms a simple polygonal chain and thus can be directly pipelined into an O(n) time convex hull algorithm. This paper empirically evaluates and quantifies the speed up gained by preconditioning a set of points by a method based on the proposed algorithm before using common convex hull algorithms to build the final hull. A speedup factor of at least four is consistently found from experiments on various datasets when the condition min(p, q) ≤ n holds; the smaller the ratio min(p, q)/n is in the dataset, the greater the speedup factor achieved.
format Online
Article
Text
id pubmed-4777294
institution National Center for Biotechnology Information
language English
publishDate 2016
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-47772942016-03-10 Preconditioning 2D Integer Data for Fast Convex Hull Computations Cadenas, José Oswaldo Megson, Graham M. Luengo Hendriks, Cris L. PLoS One Research Article In order to accelerate computing the convex hull on a set of n points, a heuristic procedure is often applied to reduce the number of points to a set of s points, s ≤ n, which also contains the same hull. We present an algorithm to precondition 2D data with integer coordinates bounded by a box of size p × q before building a 2D convex hull, with three distinct advantages. First, we prove that under the condition min(p, q) ≤ n the algorithm executes in time within O(n); second, no explicit sorting of data is required; and third, the reduced set of s points forms a simple polygonal chain and thus can be directly pipelined into an O(n) time convex hull algorithm. This paper empirically evaluates and quantifies the speed up gained by preconditioning a set of points by a method based on the proposed algorithm before using common convex hull algorithms to build the final hull. A speedup factor of at least four is consistently found from experiments on various datasets when the condition min(p, q) ≤ n holds; the smaller the ratio min(p, q)/n is in the dataset, the greater the speedup factor achieved. Public Library of Science 2016-03-03 /pmc/articles/PMC4777294/ /pubmed/26938221 http://dx.doi.org/10.1371/journal.pone.0149860 Text en © 2016 Cadenas et al http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Cadenas, José Oswaldo
Megson, Graham M.
Luengo Hendriks, Cris L.
Preconditioning 2D Integer Data for Fast Convex Hull Computations
title Preconditioning 2D Integer Data for Fast Convex Hull Computations
title_full Preconditioning 2D Integer Data for Fast Convex Hull Computations
title_fullStr Preconditioning 2D Integer Data for Fast Convex Hull Computations
title_full_unstemmed Preconditioning 2D Integer Data for Fast Convex Hull Computations
title_short Preconditioning 2D Integer Data for Fast Convex Hull Computations
title_sort preconditioning 2d integer data for fast convex hull computations
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4777294/
https://www.ncbi.nlm.nih.gov/pubmed/26938221
http://dx.doi.org/10.1371/journal.pone.0149860
work_keys_str_mv AT cadenasjoseoswaldo preconditioning2dintegerdataforfastconvexhullcomputations
AT megsongrahamm preconditioning2dintegerdataforfastconvexhullcomputations
AT luengohendrikscrisl preconditioning2dintegerdataforfastconvexhullcomputations