首页 /研究 /Ultra-Fast Optimal Pathfinding without Runtime Search
OTHER

Ultra-Fast Optimal Pathfinding without Runtime Search

Adi Botea

发表年份
2011
引用次数
49
访问权限
开放获取

摘要

Pathfinding is important in many applications, including games, robotics and GPS itinerary planning. In games, most pathfinding methods rely on runtime search. Despite numerous enhancements introduced in recent years, runtime search has the disadvantage that, in bad cases, most parts of a map need to be explored, causing a time performance degradation. In this work we explore a significantly different approach to pathfinding, eliminating the need for runtime search. Optimal paths between all pairs of locations are pre-computed. Since straightforward ways to store pre-computed paths are prohibitively expensive even for maps of moderate size, pre-computed data are compressed, reducing the memory requirements dramatically. At runtime, pathfinding is very fast, as it requires visiting only the locations on an optimal path. In each location, a quick computation provides the next move along the optimal path. We demonstrate the effectiveness of this approach on Baldur's Gate game maps. The compression factor reaches two orders of magnitude, bringing the memory requirements down to reasonable values. Compared to A* search, the runtime speedup reaches and even exceeds two orders of magnitude. When averaged over paths of similar cost, the speedup reaches a value of 700 in our experiments.

关键词

PathfindingSpeedupComputer sciencePath (computing)ComputationAlgorithmShortest path problemParallel computingTheoretical computer scienceProgramming language

相关论文

查看 OTHER 分类全部论文