Subgoal Graphs for Optimal Pathfinding in Eight-Neighbor Grids

Authors

  • Tansel Uras University of Southern California
  • Sven Koenig University of Southern California
  • Carlos Hernandez Univ. Catolica de la Ssma. Concepcion

DOI:

https://doi.org/10.1609/icaps.v23i1.13568

Keywords:

Optimal Pathfinding, Grids, Subgoal

Abstract

Grids are often used to represent maps in video games. In this paper, we propose a method for preprocessing eightneighbor grids to generate subgoal graphs and show how subgoal graphs can be used to find shortest paths fast. We place subgoals at the corners of obstacles (similar to visibility graphs) and add those edges between subgoals that are necessary for finding shortest paths, while ensuring that each edge connects only subgoals that are easily reachable from one another. We describe a method for finding shortest paths by first finding high-level paths through subgoals and then shortest low-level paths between consecutive subgoals on the highlevel path. Our method was one of ten entries in the Grid-Based Path Planning Competition 2012. Among all optimal path planners, ours was the fastest to find complete paths and required the least amount of memory.

Downloads

Published

2013-06-02

How to Cite

Uras, T., Koenig, S., & Hernandez, C. (2013). Subgoal Graphs for Optimal Pathfinding in Eight-Neighbor Grids. Proceedings of the International Conference on Automated Planning and Scheduling, 23(1), 224-232. https://doi.org/10.1609/icaps.v23i1.13568