An external-memory retrograde analysis algorithm

  • Authors:
  • Ping-hsun Wu;Ping-Yi Liu;Tsan-sheng Hsu

  • Affiliations:
  • Institute of Information Science, Academia Sinica, Taipei, Taiwan;Department of Computer Sciences, University of Texas, Austin;Institute of Information Science, Academia Sinica, Taipei, Taiwan

  • Venue:
  • CG'04 Proceedings of the 4th international conference on Computers and Games
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper gives a new sequential retrograde analysis algorithm for the construction of large endgame databases that are too large to be loaded entirely into the physical memory. The algorithm makes use of disk I/O patterns and saves disk I/O time. Using our algorithm we construct a set of Chinese-chess endgame databases with one side having attacking pieces. The performance result shows that our algorithm works well even when the number of positions in the constructed endgame is larger than the number of bits in the main memory of our computer. We built the 12-men database KCPGGMMKGGMM, the largest database reported in Chinese chess, which has 8,785,969,200 positions after removing symmetrical positions on a 2.2GHz P4 machine with 1 GB main memory. This process took 79 hours. We have also found positions with the largest DTM and DTC values in Chinese chess so far. They are in the 11-men database KCPGGMKGGMM; the values are 116 and 96, respectively.