The Exact Query Complexity of Yes-No Permutation Mastermind

03/25/2020
by   Moura El Ouali, et al.
0

Mastermind is famous two-players game. The first player (codemaker) chooses a secret code which the second player (codebreaker) is supposed to crack within a minimum number of code guesses (queries). Therefore, codemaker's duty is to help codebreaker by providing a well-defined error measure between the secret code and the guessed code after each query. We consider a variant, called Yes-No AB-Mastermind, where both secret code and queries must be repetition-free and the provided information by codemaker only indicates if a query contains any correct position at all. For this Mastermind version with n positions and k< n colors we prove a lower bound of log_2(k+1-n)+log_2(k+2-n)+...+log_2(k) and an upper bound of nlog_2(n)+k on the number of queries necessary to break the secret code. For the important case k=n, where both secret code and queries represent permutations, our results imply an exact asymptotic complexity of Θ(nlog_2(n)) queries.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/20/2018

The Query Complexity of a Permutation-Based Variant of Mastermind

We study the query complexity of a permutation-based variant of the gues...
research
03/17/2022

Optimal schemes for combinatorial query problems with integer feedback

A query game is a pair of a set Q of queries and a set ℱ of functions, o...
research
03/30/2022

Wordle is NP-hard

Wordle is a single-player word-guessing game where the goal is to discov...
research
11/11/2020

Mastermind with a Linear Number of Queries

Since the 60's Mastermind has been studied for the combinatorial and inf...
research
10/22/2019

Sequential metric dimension for random graphs

In the localization game, the goal is to find a fixed but unknown target...
research
10/27/2019

Complexity and Information in Invariant Inference

This paper addresses the complexity of SAT-based invariant inference, a ...
research
10/17/2011

Playing Mastermind With Constant-Size Memory

We analyze the classic board game of Mastermind with n holes and a const...

Please sign up or login with your details

Forgot password? Click here to reset