Introduction
Classical shortest-path algorithms like Dijkstra or A* often fail to account for the functional hierarchy of urban road networks. By treating all road segments equally, these methods frequently explore irrelevant local streets, leading to high computational costs and routes that feel unnatural to human drivers. This paper proposes a "knowledge-based route finding" approach that leverages road hierarchy to isolate search spaces, significantly improving performance while maintaining route quality.
The Problem: Computational Waste and Non-Human Paths
Standard search algorithms are "blind" to road types. This lack of domain knowledge results in two primary drawbacks:
- Computational Inefficiency: Algorithms waste cycles exploring residential mazes when a nearby expressway would be the obvious choice for a human.
- Suboptimal User Experience: A mathematically optimal path might involve numerous turns through minor roads to save a negligible distance, whereas drivers prefer the simplicity and speed of major thoroughfares.
The objective is to prune the search space effectively, focusing on the "skeleton" of the city to find paths that are both fast to compute and intuitive to follow.
Methodology: Hierarchical Partitioning
The authors introduce a framework that partitions the road network based on road types: minor roads, major roads, and expressways. The Major Road Network (MRN) serves as the primary structure, dividing the city into numerous small "grids" or sub-networks of minor roads.
Three implementation methods were explored:
- Method 1 (Static Partitioning): The network is pre-divided. During search, only the source grid, destination grid, and the MRN are considered.
- Method 2 (Memory-Efficient): To accommodate low-memory hardware, only the MRN is kept in RAM, while minor road grids are paged from disk as needed.
- Method 3 (Node Marking): Nodes in a unified graph are tagged with grid IDs. The search is restricted to nodes within the relevant source/destination grids or those belonging to the MRN.
Evaluation and Results
The approach was tested on the Singapore Road Network, comprising approximately 12,600 nodes and 30,700 segments. The MRN consisted of roughly 1,100 nodes, with the remainder partitioned into 958 minor-road grids.
The system, dubbed KB-RFinder, demonstrated substantial performance gains over full-network searches.
Key findings include:
- Significant Speedup: Knowledge-based methods were 7 to 9 times faster for distance-based routing and 3 to 4 times faster for time-based routing compared to standard A* on the full network.
- Path Quality Trade-off: The resulting routes were approximately 9% longer than the absolute shortest path. However, these routes were more "human-oriented," favoring major roads which are typically easier to navigate.
- Scalability: Method 2 proved that hierarchical search can operate effectively on limited hardware (e.g., a 486 PC with 4MB RAM) by minimizing the active memory footprint.
Conclusion
By integrating geographical knowledge into search algorithms, route finding can be made significantly more efficient and user-friendly. While there is a slight trade-off in mathematical optimality, the gains in computational speed and the alignment with human driving preferences make hierarchical partitioning a powerful technique for large-scale navigation systems. Future work may address dynamic traffic conditions and further refine the handling of multi-segment shortcuts through minor roads.
Summary updated