کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
421107 684142 2015 12 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
The worst case number of questions in Generalized AB game with and without white-peg answers
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
The worst case number of questions in Generalized AB game with and without white-peg answers
چکیده انگلیسی

The AB game is a two-player game, where the codemaker has to choose a secret code and the codebreaker has to guess it in as few questions as possible. It is a variant of the famous Mastermind game, with the only difference that all pegs in both, the secret and the questions must have distinct colors. In this work, we consider the Generalized AB game, where for given arbitrary numbers pp, cc with p≤cp≤c the secret code consists of pp pegs each having one of cc colors and the answer consists of a number of black and white pegs. There the number of black pegs equals the number of pegs matching in the corresponding question and the secret in position and color, and the number of white pegs equals the additional number of pegs matching in the corresponding question and the secret only in color. We consider also a variant of the Generalized AB game, where the information of white pegs is omitted. This variant is called Generalized Black-peg AB game. Let ab(p,c) and abb(p,c) be the number of questions in the worst case needed by the codebreaker to guess the secret for Generalized AB game and Generalized Black-peg AB game, respectively. Combining a computer program with theoretical considerations, we confirm known exact values of ab(2,c) and ab(3,c) and prove tight bounds for ab(4,c). Furthermore, we present exact values for abb(2,c) and abb(3,c) and tight bounds for abb(4,c).

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Discrete Applied Mathematics - Volume 184, 31 March 2015, Pages 20–31
نویسندگان
, ,