We consider data structures for graphs where we maintain a subset of the nodes called sites, and allow proximity queries, such as asking for the closest site to a query node, and update operations that enable or disable nodes as sites. We refer to a data structure that can efficiently react to such updates as reactive. We present novel reactive proximity data structures for graphs of polynomial expansion, i.e., the class of graphs with small separators, such as planar graphs and road networks. Our data structures can be used in several logistical problems and geographic information systems dealing with real-time data, such as emergency dispatching. We experimentally compare our data structure to Dijkstra's algorithm in a system emulating random queries in a real road network.
- Pub Date:
- March 2018
- Computer Science - Data Structures and Algorithms
- Full version of the paper in 13th Latin American Theoretical INformatics Symposium (LATIN 2018), April 16-10, 2018, Buenos Aires, Argentina. 2nd version: improved writeup and slight improvements in the runtimes via a more detailed analysis