DOI QR코드

DOI QR Code

Path-finding Algorithm using Heuristic-based Genetic Algorithm

휴리스틱 기반의 유전 알고리즘을 활용한 경로 탐색 알고리즘

  • 고정운 (공주대학교 게임디자인학과) ;
  • 이동엽 (공주대학교 게임디자인학과)
  • Received : 2017.07.05
  • Accepted : 2017.08.10
  • Published : 2017.10.20

Abstract

The path-finding algorithm refers to an algorithm for navigating the route order from the current position to the destination in a virtual world in a game. The conventional path-finding algorithm performs graph search based on cost such as A-Star and Dijkstra. A-Star and Dijkstra require movable node and edge data in the world map, so it is difficult to apply online games with lots of map data. In this paper, we provide a Heuristic-based Genetic Algorithm Path-finding(HGAP) using Genetic Algorithm(GA). Genetic Algorithm is a path-finding algorithm applicable to game with variable environment and lots of map data. It seek solutions through mating, crossing, mutation and evolutionary operations without the map data. The proposed algorithm is based on Binary-Coded Genetic Algorithm and searches for a path by performing a heuristic operation that estimates a path to a destination to arrive at a destination more quickly.

경로 탐색 알고리즘은 이동 가능한 에이전트가 게임 내의 가상 월드에서 현재 위치로부터 목적지까지 가는 경로를 탐색하는 알고리즘을 뜻한다. 기존의 경로 탐색 알고리즘은 A*, Dijkstra와 같이 비용기반으로 그래프 탐색을 수행한다. A*와 Dijkstra는 월드 맵에서 이동 가능한 노드와 에지 정보들을 필요로 해서 맵의 정보가 다양하고 많은 온라인 게임에 적용하기 힘들다. 본 논문에서는 가변환경이나 맵의 데이터가 방대한 게임에서 적용 가능한 경로 탐색 알고리즘을 개발하기 위해 맵의 정보 없이 교배, 교차, 돌연변이, 진화 연산을 통해 해를 찾는 유전 알고리즘(Genetic Algorithm, GA)을 활용한 Heuristic-based Genetic Algorithm Path-finding(HGAP)를 제안한다. 제안하는 알고리즘은 Binary-Coded Genetic Algorithm을 기반으로 하며 목적지에 더 빨리 도달하기 위해 목적지로 가는 경로를 추정하는 휴리스틱 연산을 수행하여 경로를 탐색한다.

Keywords

References

  1. J. E. Laird, "Using a computer game to develop advanced AI", 2001 IEEE Computer, July 2001.
  2. Hyung-il Kim, "State based Context Awareness Method for Non-Player Character", Journal of Korea Game Society 2014, pp.93-102, Feb 2014.
  3. Sung-lok Choi, "Fast Any-angle Path Planning on Grid Maps with Non-collision Pruning", 2010 IEEE International Conference, Dec 2010.
  4. A. Nash, K. Daniel, S. Koenig, and A. Felner, "Theta*: Any-angle path planning on grids", in Proceedings of AAAI Conference on Artificial Intelligence(AAAI), 2007.
  5. Myoun-jae Lee, "An Artificial Intelligence Evaluation on FSM-Based Game NPC", Journal of Korea Game Society 2014, pp.127-136, Oct 2014.
  6. Eun-sol Kim, Hye-yeon Kim, Kyeon-ah Yu, "Implementation of Adaptive Navigation for NPCs in Computer Games", Journal of Korea Information Science Society 2016, pp.222-228, Feb 2016.
  7. Sung-hyun Cho, "Reducing Search Space of A* Algorithm Using Obstacle Information", Journal of Korea Game Society 2015, pp.179-188, Aug 2015.
  8. Abhilash Sreeramaneni, "A Real-Time Centralized Multi-Agent Pathfinding System using Systemized Iterative Deepening A*", The Graduate School of Seoul National University of Science and Technology, July 2015.
  9. Jeong-won Ko, Sung-jun Park, "Path-Plan Algorithm using Collision Line Search Process", Proceedings of Korea Game Society Spring Conference 2012, pp.249-254, June 2012.
  10. Myun-sub Lee, Byeong-heon Cho, Sung-hoon Jung, Yeong-rak Seong, Ha-ryoung Oh, "Performance Evaluation of Intelligent Characters for Fighting Action Games using Genetic Algorithms", Journal of Institute of Electronics Engineers of Korea 2004, pp.119-128, Dec 2004.
  11. Hak-su Lee, Don-jung Choi, Hye-wuk Jung, Jee-hyong Lee, "Intelligent Tutoring System based on Genetic Algorithm", Proceedings of Korea Institute of Intelligent Systems Fall Conference 2010, pp67-69, Nov 2010.