Skip to main content

2015 | OriginalPaper | Buchkapitel

Playing Several Variants of Mastermind with Constant-Size Memory is not Harder than with Unbounded Memory

verfasst von : Gerold Jäger, Marcin Peczarski

Erschienen in: Combinatorial Algorithms

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

We investigate a version of the Mastermind game, where the codebreaker may only store a constant number of questions and answers, called Constant-Size Memory Mastermind, which was recently introduced by Doerr and Winzen. We concentrate on the most difficult case, where the codebreaker may store only one question and one answer, called Size-One Memory Mastermind. We consider two variants of the game: the original one, where the answer is coded with white and black pegs, and the simplified one, where only black pegs are used in the answer. We show that for two pegs and an arbitrary number of colors, the number of questions needed by the codebreaker in an optimal strategy in the worst case for these games is equal to the corresponding number of questions in the games without a memory restriction. In other words, for these cases restricting the memory size does not make the game harder for the codebreaker. This is a continuation of a result of Doerr and Winzen, who showed that this holds asymptotically for a fixed number of colors and an arbitrary number of pegs. Furthermore, by computer search we determine additional pairs (pc), where again the numbers of questions in an optimal strategy in the worst case for Size-One Memory Mastermind and original Mastermind are equal.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Chen, S.T., Lin, S.S.: Optimal algorithms for \(2 \times n\) AB games–a graph-partition approach. J. Inform. Sci. Eng. 20(1), 105–126 (2004) Chen, S.T., Lin, S.S.: Optimal algorithms for \(2 \times n\) AB games–a graph-partition approach. J. Inform. Sci. Eng. 20(1), 105–126 (2004)
2.
Zurück zum Zitat Chen, S.T., Lin, S.S.: Optimal algorithms for \(2 \times n\) Mastermind games–a graph-partition approach. Comput. J. 47(5), 602–611 (2004)CrossRef Chen, S.T., Lin, S.S.: Optimal algorithms for \(2 \times n\) Mastermind games–a graph-partition approach. Comput. J. 47(5), 602–611 (2004)CrossRef
4.
Zurück zum Zitat Doerr, B., Spöhel, R., Thomas, H., Winzen, C.: Playing mastermind with many colors. In: Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2013), SIAM, pp. 695–704 (2013) Doerr, B., Spöhel, R., Thomas, H., Winzen, C.: Playing mastermind with many colors. In: Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2013), SIAM, pp. 695–704 (2013)
5.
6.
Zurück zum Zitat Doerr, B., Winzen, C.: Playing Mastermind with constant-size memory. In: Proceedings of 29th International Symposium on Theoretical Aspects of Computer Science (STACS 2012). Leibniz International Proceedings in Informatics (LIPIcs), vol. 14, pp. 441–452. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2012) Doerr, B., Winzen, C.: Playing Mastermind with constant-size memory. In: Proceedings of 29th International Symposium on Theoretical Aspects of Computer Science (STACS 2012). Leibniz International Proceedings in Informatics (LIPIcs), vol. 14, pp. 441–452. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2012)
8.
Zurück zum Zitat Droste, S., Jansen, T., Wegener, I.: Upper and lower bounds for randomized search heuristics in black-box optimization. Theory Comput. Syst. 39(4), 525–544 (2006)MATHMathSciNetCrossRef Droste, S., Jansen, T., Wegener, I.: Upper and lower bounds for randomized search heuristics in black-box optimization. Theory Comput. Syst. 39(4), 525–544 (2006)MATHMathSciNetCrossRef
9.
Zurück zum Zitat Erdős, P., Rényi, A.: On two problems of information theory. Magyar Tud. Akad. Mat. Kutató Int. Közl. 8, 229–243 (1963) Erdős, P., Rényi, A.: On two problems of information theory. Magyar Tud. Akad. Mat. Kutató Int. Közl. 8, 229–243 (1963)
10.
11.
Zurück zum Zitat Goodrich, M.T.: On the algorithmic complexity of the Mastermind game with black-peg results. Inform. Process. Lett. 109(13), 675–678 (2009)MATHMathSciNetCrossRef Goodrich, M.T.: On the algorithmic complexity of the Mastermind game with black-peg results. Inform. Process. Lett. 109(13), 675–678 (2009)MATHMathSciNetCrossRef
12.
Zurück zum Zitat Jäger, G., Peczarski, M.: The number of pessimistic guesses in Generalized Mastermind. Inform. Process. Lett. 109(12), 635–641 (2009)MATHMathSciNetCrossRef Jäger, G., Peczarski, M.: The number of pessimistic guesses in Generalized Mastermind. Inform. Process. Lett. 109(12), 635–641 (2009)MATHMathSciNetCrossRef
13.
Zurück zum Zitat Jäger, G., Peczarski, M.: The number of pessimistic guesses in Generalized Black-peg Mastermind. Inform. Process. Lett. 111(19), 933–940 (2011)MATHMathSciNetCrossRef Jäger, G., Peczarski, M.: The number of pessimistic guesses in Generalized Black-peg Mastermind. Inform. Process. Lett. 111(19), 933–940 (2011)MATHMathSciNetCrossRef
14.
Zurück zum Zitat Jäger, G., Peczarski, M.: The worst case number of questions in Generalized AB game with and without white-peg answers. Discrete Appl. Math. 184, 20–31 (2015)MathSciNetCrossRef Jäger, G., Peczarski, M.: The worst case number of questions in Generalized AB game with and without white-peg answers. Discrete Appl. Math. 184, 20–31 (2015)MathSciNetCrossRef
15.
Zurück zum Zitat Knuth, D.E.: The computer as Mastermind. J. Recr. Math. 9(1), 1–6 (1976–1977) Knuth, D.E.: The computer as Mastermind. J. Recr. Math. 9(1), 1–6 (1976–1977)
16.
Zurück zum Zitat Koyama, K., Lai, T.W.: An optimal Mastermind strategy. J. Recr. Math. 25(4), 251–256 (1993)MATH Koyama, K., Lai, T.W.: An optimal Mastermind strategy. J. Recr. Math. 25(4), 251–256 (1993)MATH
Metadaten
Titel
Playing Several Variants of Mastermind with Constant-Size Memory is not Harder than with Unbounded Memory
verfasst von
Gerold Jäger
Marcin Peczarski
Copyright-Jahr
2015
DOI
https://doi.org/10.1007/978-3-319-19315-1_17

Premium Partner