DYNAMIC RAY SHOOTING AND SHORTEST PATHS IN PLANAR SUBDIVISIONS VIA BALANCED GEODESIC TRIANGULATIONS

Citation
Mt. Goodrich et R. Tamassia, DYNAMIC RAY SHOOTING AND SHORTEST PATHS IN PLANAR SUBDIVISIONS VIA BALANCED GEODESIC TRIANGULATIONS, Journal of algorithms, 23(1), 1997, pp. 51-73
Citations number
25
Categorie Soggetti
Mathematics,Mathematics,"Computer Science Theory & Methods
Journal title
ISSN journal
01966774
Volume
23
Issue
1
Year of publication
1997
Pages
51 - 73
Database
ISI
SICI code
0196-6774(1997)23:1<51:DRSASP>2.0.ZU;2-M
Abstract
We give new methods for maintaining a data structure that supports ray -shooting and shortest-path queries in a dynamically changing connecte d planar subdivision L. Our approach is based on a new dynamic method for maintaining a balanced decomposition of a simple polygon via geode sic triangles. We maintain such triangulations by viewing their dual t rees as balanced trees. We show that rotations in these trees can be i mplemented via simple ''diagonal swapping'' operations performed on th e corresponding geodesic triangles, and that edge insertion and deleti on can be implemented on these trees using operations akin to the stan dard split and splice operations. We also maintain a dynamic point loc ation structure on the geodesic triangulation, so that we may implemen t ray-shooting queries by first locating the ray's endpoint and then w alking along the ray from geodesic triangle to geodesic triangle until we hit the boundary of some region of L. The shortest path between tw o points in the same region is obtained by locating the two points and then walking from geodesic triangle to geodesic triangle either follo wing a boundary or taking a shortcut through a common tangent. Our dat a structure uses O(n) space and supports queries and updates in O(log( 2) n) worst-case time, where n. is the current size of L. It outperfor ms the previous best data structure for this problem by a log n factor in all the complexity measures (space, query times, and update times) . (C) 1997 Academic Press.