Skip to main content
Top

2017 | OriginalPaper | Chapter

Bounds for Static Black-Peg AB Mastermind

Authors : Christian Glazik, Gerold Jäger, Jan Schiemann, Anand Srivastav

Published in: Combinatorial Optimization and Applications

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Mastermind is a famous two-player game introduced by M. Meirowitz (1970). Its combinatorics has gained increased interest over the last years for different variants.
In this paper we consider a version known as the Black-Peg AB Game, where one player creates a secret code consisting of c colors on \(p \le c\) pegs, where each color is used at most once. The second player tries to guess the secret code with as few questions as possible. For each question he receives the number of correctly placed colors. In the static variant the second player doesn’t receive the answers one at a time, but all at once after asking the last question. There are several results both for the AB and the static version, but the combination of both versions has not been considered so far. The most prominent case is \(n:=p=c\), where the secret code and all questions are permutations. The main result of this paper is an upper bound of \(\mathcal {O}(n^{1.525})\) questions for this setting. With a slight modification of the arguments of Doerr et al. (2016) we also give a lower bound of \(\varOmega (n\log n)\). Furthermore, we complement the upper bound for \(p=c\) by an optimal \((\lceil 4c/3 \rceil -1)\)-strategy for the special case \(p=2\) and arbitrary \(c\ge 2\) and list optimal strategies for six additional pairs (pc) .

Dont have a licence yet? Then find out more about our products and how to get one now:

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!

Literature
1.
go back to reference Asuncion, A.U., Goodrich, M.T.: Nonadaptive mastermind algorithms for string and vector databases, with case studies. IEEE Trans. Knowl. Data Eng. 25(1), 131–144 (2013)CrossRef Asuncion, A.U., Goodrich, M.T.: Nonadaptive mastermind algorithms for string and vector databases, with case studies. IEEE Trans. Knowl. Data Eng. 25(1), 131–144 (2013)CrossRef
2.
3.
go back to reference Cáceres, J., Hernando, C., Mora, M., Pelayo, I.M., Puertas, M.L., Seara, C., Wood, D.R.: On the metric dimension of cartesian products of graphs. SIAM J. Discret. Math. 21(2), 423–441 (2007)CrossRefMATHMathSciNet Cáceres, J., Hernando, C., Mora, M., Pelayo, I.M., Puertas, M.L., Seara, C., Wood, D.R.: On the metric dimension of cartesian products of graphs. SIAM J. Discret. Math. 21(2), 423–441 (2007)CrossRefMATHMathSciNet
4.
go back to reference Doerr, B., Doerr, C., Spöhel, R., Thomas, H.: Playing Mastermind With Many Colors. J. ACM 63(5), 42:1–42:23 (2016). ACMCrossRefMathSciNet Doerr, B., Doerr, C., Spöhel, R., Thomas, H.: Playing Mastermind With Many Colors. J. ACM 63(5), 42:1–42:23 (2016). ACMCrossRefMathSciNet
9.
go back to reference Jäger, G., Peczarski, M.: The number of pessimistic guesses in generalized mastermind. Inf. Process. Lett. 109(12), 635–641 (2009)CrossRefMATHMathSciNet Jäger, G., Peczarski, M.: The number of pessimistic guesses in generalized mastermind. Inf. Process. Lett. 109(12), 635–641 (2009)CrossRefMATHMathSciNet
10.
go back to reference Jäger, G., Peczarski, M.: The number of pessimistic guesses in generalized black-peg mastermind. Inf. Process. Lett. 111(19), 933–940 (2011)CrossRefMATHMathSciNet Jäger, G., Peczarski, M.: The number of pessimistic guesses in generalized black-peg mastermind. Inf. Process. Lett. 111(19), 933–940 (2011)CrossRefMATHMathSciNet
11.
go back to reference Jäger, G., Peczarski, M.: The worst case number of questions in generalized AB game with and without white-peg answers. Discret. Appl. Math. 184, 20–31 (2015)CrossRefMATHMathSciNet Jäger, G., Peczarski, M.: The worst case number of questions in generalized AB game with and without white-peg answers. Discret. Appl. Math. 184, 20–31 (2015)CrossRefMATHMathSciNet
12.
go back to reference Riordan, J.: Introduction to Combinatorial Analysis. Dover Books on Mathematics. Dover Publications, New York (2002) Riordan, J.: Introduction to Combinatorial Analysis. Dover Books on Mathematics. Dover Publications, New York (2002)
13.
go back to reference Schrijver, A.: Combinatorial Optimization: Polyhedra and Efficiency. Algorithms and Combinatorics, 1st edn. Springer, Heidelberg (2003)MATH Schrijver, A.: Combinatorial Optimization: Polyhedra and Efficiency. Algorithms and Combinatorics, 1st edn. Springer, Heidelberg (2003)MATH
14.
go back to reference Stuckman, J., Zhang, G.Q.: Mastermind is NP-complete. INFOCOMP J. Comput. Sci. 5(2), 25–28 (2006) Stuckman, J., Zhang, G.Q.: Mastermind is NP-complete. INFOCOMP J. Comput. Sci. 5(2), 25–28 (2006)
Metadata
Title
Bounds for Static Black-Peg AB Mastermind
Authors
Christian Glazik
Gerold Jäger
Jan Schiemann
Anand Srivastav
Copyright Year
2017
DOI
https://doi.org/10.1007/978-3-319-71147-8_28

Premium Partner