Video-game designers often tessellate continuous 2-dimensional terrain into a grid of blocked and unblocked square cells. The three main ways to calculate short paths on such a grid are to determine truly shortest paths, shortest vertex paths and shortest grid paths, listed here in decreasing order of computation time and increasing order of resulting path length. We show that, for both vertex and grid paths on both 4-neighbor and 8-neighbor grids, placing vertices at cell corners rather than at cell centers tends to result in shorter paths. We quantify the advantage of cell corners over cell centers theoretically with tight worst-case bounds on the ratios of path lengths, and empirically on a large set of benchmark test cases. We also quantify the advantage of 8-neighbor grids over 4-neighbor grids.
CITATION STYLE
Bailey, J., Tovey, C., Uras, T., Koenig, S., & Nash, A. (2015). Path planning on grids: The effect of vertex placement on path length. In Proceedings of the 11th AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, AIIDE 2015 (Vol. 2015-November, pp. 108–114). The AAAI Press. https://doi.org/10.1609/aiide.v11i1.12808
Mendeley helps you to discover research relevant for your work.