JISE


  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]


Journal of Information Science and Engineering, Vol. 20 No. 1, pp. 105-126


Optimal Algorithms for 2xn AB Games - A Graph-Partition Approach


Shan-Tai Chen and Shun-Shii Lin+ 
Department of Information and Computer Education
+Graduate Institute of Computer Science and Information Engineering 
Taipei, 106 Taiwan 
E-mail: linss@csie.ntnu.edu.tw


    This paper presents new and systematic methodologies to analyze deductive games and obtain optimal algorithms for 2 ´ n AB games, where n ³2. We have invented a graphic model to represent the game-guessing process. With this novel approach, we find some symmetric and recursive structures in the process. This not only reduces the size of the search space, but also helps us to derive the optimum strategies more efficiently. By using this technique, we develop optimal strategies for 2 × n AB games in the expected and worst cases, and are able to derive the following new results: (1) én/2ù + 1 guesses are necessary and sufficient for 2 ´ n AB games in the worst case, (2) the minimum number of guesses required for 2 ´ n AB games in the expected case is (4n3 + 21n2 - 76n + 72)/12n(n - 1) if n is even, and (4n3 + 21n2 - 82n + 105)/12n(n - 1) if n is odd. The optimization of this problem bears resemblance with other computational problems, such as circuit testing, differential cryptanalysis, on-line models with equivalent queries, and additive search problems. Any conclusion of this kind of deductive game may be applied, although probably not directly, to any of these problems, as well as to any other combinatorial optimization problem.


Keywords: AB game, algorithms, game tree, mastermind, search strategies

  Retrieve PDF document (JISE_200401_06.pdf)