Sun, L., Jiao, P., Xu, K., Yin, Q., & Zha, Y. (2017). Modified Adversarial Hierarchical Task Network Planning in Real-Time Strategy Games. Preprints. https://doi.org/10.20944/preprints201704.0119.v1
Sun, L., Quanjun Yin and Yabing Zha. 2017 "Modified Adversarial Hierarchical Task Network Planning in Real-Time Strategy Games" Preprints. https://doi.org/10.20944/preprints201704.0119.v1
Real-time strategy (RTS) game has proposed many challenges for AI research for its large state spaces, enormous branch factors, limited decision time and dynamic adversarial environment. To tackle above problems, the method called Adversarial Hierarchical Task Network planning (AHTN) has been proposed and achieves favorable performance. However, the HTN description it used cannot express complex relationships among tasks and impacts of environment on tasks. Moreover, the AHTN cannot handle task failures during plan execution. In this paper, we propose a modified AHTN planning algorithm named AHTNR. The algorithm introduces three elements essential task, phase and exit condition to extend the HTN description. To deal with possible task failures, the AHTNR first uses the extended HTN description to identify failed tasks. And then a novel task repair strategy is proposed based on historical information to maintain the validity of previous plan. Finally, empirical results are presented for the μRTS game, comparing AHTNR to the state-of-the-art search algorithms for RTS games.
HTN planning; real-time strategy game; plan repair
Computer Science and Mathematics, Computer Science
This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.