Skip to main content
Log in

An optimal minimax algorithm

  • Combinatorial Optimization
  • Published:
Annals of Operations Research Aims and scope Submit manuscript

Abstract

Computer game-playing programs repeatedly calculate minimax elements μ = min i max j M ij of large pay off matricesM ij . A straightforwardrow-by-row calculation of μ scans rows ofM ij one at a time, skipping to a new row whenever an element is encountered that exceeds a current minimax. Anoptimal calculation, derived here, scans the matrix more erratically but finds μ after testing the fewest possible matrix elements. Minimizing the number of elements tested is reasonable when elements must be computed as needed by evaluating future game positions. This paper obtains the expected number of tests required when the elements are independent, identically distributed, random variables. For matrices 50 by 50 or smaller, the expected number of tests required by the row-by-row calculation can be at most 42% greater than the number for the optimal calculation. When the numbersR, C of rows and columns are very large, both calculations require an expected number of tests nearRC/InR.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. J.C.C. McKinsey,Introduction to the Theory of Games (McGraw-Hill, New York, 1952).

    Google Scholar 

  2. C.E. Shannon, Programming a computer to play chess, Phil. Mag. 41(1950)256.

    Google Scholar 

  3. D. Knuth and R. Moore, An analysis of alpha-beta pruning, Artificial Intelligence 6(1975)293.

    Google Scholar 

  4. J. Pearl, Asymptotic properties of minimax trees and game searching procedures, Artificial Intelligence 14(1980)113.

    Google Scholar 

  5. T.A. Marsland, Relative efficiency of alpha-beta implementations,IJCAI Conf. Proc. No. 8, Vol. 2, Karlsruhe (1983) p. 763.

    Google Scholar 

  6. E.T. Copson,An Introduction to the Theory of Functions of a Complex Variable (Oxford, London, 1935).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Gilbert, E.N. An optimal minimax algorithm. Ann Oper Res 4, 103–121 (1985). https://doi.org/10.1007/BF02022038

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02022038

Keywords and phrases

Navigation