Optimal algorithms for 2 × n AB games - A graph-partition approach

Shan Tai Chen, Shun Shii Lin*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

9 Citations (Scopus)

Abstract

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.

Original languageEnglish
Pages (from-to)105-126
Number of pages22
JournalJournal of Information Science and Engineering
Volume20
Issue number1
Publication statusPublished - 2004 Jan

Keywords

  • AB game
  • Algorithms
  • Game tree
  • Mastermind
  • Search strategies

ASJC Scopus subject areas

  • Software
  • Human-Computer Interaction
  • Hardware and Architecture
  • Library and Information Sciences
  • Computational Theory and Mathematics

Fingerprint

Dive into the research topics of 'Optimal algorithms for 2 × n AB games - A graph-partition approach'. Together they form a unique fingerprint.

Cite this