DOI QR코드

DOI QR Code

그리드 기반 맵에서 꼭지점 정보를 이용한 휴리스틱의 설계

Design of Heuristics Using Vertex Information in a Grid-based Map

  • 김지혜 (덕성여자대학교 컴퓨터학과) ;
  • 정예원 (덕성여자대학교 컴퓨터학과) ;
  • 유견아 (덕성여자대학교 컴퓨터학과)
  • Kim, Ji-Hyui (Dept. of Computer Science, Duksung Women's University) ;
  • Jung, Ye-Won (Dept. of Computer Science, Duksung Women's University) ;
  • Yu, Kyeon-Ah (Dept. of Computer Science, Duksung Women's University)
  • 투고 : 2014.10.08
  • 심사 : 2014.12.01
  • 발행 : 2015.01.31

초록

컴퓨터 게임 배경이 정교하게 표현되면서 그리드 기반으로 표현된 게임 맵에서 $A^*$ 알고리즘을 이용한 경로 찾기는 전체 게임 성능을 저해하는 요인이 되고 있다. 셀 단위의 세밀한 표현으로 상태 공간이 커져 탐색 시간이 증가하기 때문이다. 본 논문에서는 정규 그리드로 표현된 컴퓨터 게임 배경을 꼭지점 리스트로 된 다각형 기반 맵으로 변환하고 다각형의 꼭지점에 대한 가시성 정보를 이용하여 효율적인 경로 찾기가 가능하게 하는 방법을 제안한다. 다각형 기반 맵으로의 변환은 오프라인으로 전처리하여 실시간 쿼리에는 영향을 미치지 않도록 하며 꼭지점의 가시성 정보를 이용하는 휴리스틱을 설계함으로서 추정의 정확도를 높여 경로 탐색 시에 방문하는 노드수를 획기적으로 감소시키도록 한다. 시뮬레이션에서는 제안한 방법들이 그리드 기반 방식의 장점을 유지하면서 탐색 공간과 탐색 시간을 효율적으로 감소시킴을 확인한다.

As computer game maps get more elaborate, path-finding by using $A^*$ algorithm in grid-based game maps becomes bottlenecks of the overall game performance. It is because the search space becomes large as the number of nodes increases with detailed representation in cells. In this paper we propose an efficient pathfinding method in which the computer game maps in a regular grid is converted into the polygon-based representation of the list of vertices and then the visibility information about vertices of polygons can be utilized. The conversion to the polygon-based map does not give any effect to the real-time query process because it is preprocessed offline. The number of visited nodes during search can be reduced dramatically by designing heuristics using visibility information of vertices that make the accuracy of the estimation enhanced. Through simulations, we show that the proposed methods reduce the search space and the search time effectively while maintaining the advantages of the grid-based method.

키워드

참고문헌

  1. A. Botea, M. Muller, and J. Schaeffer. Near Optimal Hierarchical Path-finding. In Journal of Game Development (Issue 1, Volume 1), 2004.
  2. Rabin, S. "$A^*$ speed optimizations and $A^*$ Aesthetic Optimizations," In: Deloura, M. (eds.): Game Programming Gems. Charles Rive Media, 264-287, 2000.
  3. A. V. Goldberg and C. Harrelson. Computing The Shortest Path: $A^*$ Search Meets Graph Theory. In SIAM Symposium on Discrete Algorithms (SODA), 2005.
  4. N.R. Sturtevant,, A. Felner, M, Barrer, J. Schaeer, and N. Burch. Memory-Based Heuristics for Explicit State Spaces. SOCS, In Proceedings of the Twenty-First International Joint Conference on Artificial Intelligence (IJCAI-09), 609-614, 2009.
  5. S. Thrun and A. Bucken. Integrating Grid-Based and Topological Maps for Mobile Robot Navigation. In Proceedings of the 13th National Conference on Artificial Intelligence, 1996.
  6. Pinter, M. "Towards more realistic pathfinding," Game Developer Magazine April, 2001.
  7. X. Cui and H. Shi. $A^*$-based pathfinding in modern computer games. International Journal of Computer Science and Network Security, 11(1):125-130, 2011.
  8. N.R. Sturtevant, Benchmarks for Grid-Based Pathfinding, IEEE Transactions on Computational Intelligence and AI in Games, Volume:4(2), pp 144-148, 2012. https://doi.org/10.1109/TCIAIG.2012.2197681
  9. N.R. Sturtevant, Memory-efficient abstractions for pathfinding. In Proceedings of the third conference on Artificial Intelligence and Interactive Digital Entertainment, pp. 31-36, 2007.
  10. Y. Bjornsson and K. Halldorsson. Improved heuristics for optimal path-nding on game maps. AIIDE, pp9-14, 2006.
  11. M. Goldenberg, A. Felner, N.R. Sturtevant, and J. Schaeer. Portal-Based True-Distance Heuristics for Path Finding. SOCS, In Symposium on Combinatorial Search, 39-45, 2010.
  12. D. Harabor and A. Botea. Breaking Path Symmetries in 4-connected Grid Maps. In AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment (AIIDE), 2010.
  13. D. Harabor and A. Grastien. Online Graph Pruning for Pathfinding on Grid Maps. In National Conference on Artificial Intelligence (AAAI), 2011.
  14. H. Kim, K. Yu and J. Kim, "Reducing the Search Space for Pathfinding in Navigation Meshes by Using Visibility Tests", Journal of Electrical Engineering & Technology, Vol. 6, No. 6, pp. 867-873, 2011. https://doi.org/10.5370/JEET.2011.6.6.867
  15. J.C. Latombe, "Robot Motion Planning", KAP, pp. 310-317, 1991.