Affiliation:
1. Universität Salzburg, Salzburg, Austria
Abstract
simple but very efficient algorithm for computing motorcycle graphs. An analysis of the mean trace length of
n
random motorcycles suggests that, on average, a motorcycle crosses only a constant number of cells within a √
n
× √
n
rectangular grid, provided that the motorcycles are distributed sufficiently uniformly over the area covered by the grid. This analysis motivates a simple algorithm for computing motorcycle graphs: We use the standard priority-queue--based algorithm and enhance it with geometric hashing by means of a rectangular grid. If the motorcycles are distributed sufficiently uniformly, then our stochastic analysis predicts an
O
(
n
log
n
) runtime. Indeed, extensive experiments run on 22,000 synthetic and real-world datasets confirm a runtime of less than 10
−5
n
log
n
seconds for the vast majority of our datasets on a standard PC. Further experiments with our software, Moca, also confirm the mean trace length and average number of cells crossed by a motorcycle, as predicted by our analysis. This makes Moca the first implementation that is efficient enough to be applied in practice for computing motorcycle graphs of large datasets. Actually, it is easy to extend Moca to make it compute a generalized version of the original motorcycle graph, thus enabling a significantly larger field of applications.
Publisher
Association for Computing Machinery (ACM)
Subject
Theoretical Computer Science
Reference13 articles.
1. A novel type of skeleton for polygons;Aichholzer O.;J. Universal Comput. Sci.,1995
2. Cutting hyperplanes for divide-and-conquer
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Incremental Construction of Motorcycle Graphs;Algorithms;2022-06-27
2. How to Draw a Planarization;SOFSEM 2017: Theory and Practice of Computer Science;2017
3. A Faster Algorithm for Computing Motorcycle Graphs;Discrete & Computational Geometry;2014-08-29
4. A FAST STRAIGHT-SKELETON ALGORITHM BASED ON GENERALIZED MOTORCYCLE GRAPHS;International Journal of Computational Geometry & Applications;2012-10