【24h】

Beyond Knights and Knaves

机译:超越骑士和刀

获取原文

摘要

In the classic knights and knaves problem, there are n people in a room each of whom is a knight or a knave. Knights always tell the truth while knaves always lie. Everyone in the room knows each other's identity. You are allowed to ask questions of the form "Person i, is person j a knight?" and you are told that there are more knights than knaves. What is the fewest number of questions you can ask to determine a knight? How about to determine everyone's identity? In this paper, we consider the knights and no-men problem, where a no-man is a person who always answers "no". Assuming there are at least k knights, we show that (n-1 2) - (「)(k-2)(n-1)~2/2(k-1)」 questions are necessary and sufficient in the worst case to identify a knight. We also show that n - 2 questions suffice to identify a no-man, and (n-1 2) - (「)(k-2)(n-1)~2/2(k-1)」+ n - 2 questions suffice to identify everyone in the room. We then consider a generalization of the knights and knaves problem that captures most of the variants of the knights and knaves problem in the literature. In the agent labeling problem, we wish to identify everyone's type; in the agent identification problem, we wish to identify an agent having a particular type. We present results with regards to the fewest number of questions needed in the worst case to solve both the agent labeling and agent identification problems. Our tools and results are graph theoretic in nature.
机译:在经典的骑士和刀问题中,一个房间里只有n个人,每个人都是骑士或小刀。骑士总是撒谎,而骑士总是撒谎。房间里的每个人都知道彼此的身份。您可以提出以下形式的问题:“人i,人j是骑士吗?”有人告诉您,骑士比刀还多。确定一个骑士可以问的最少的问题是什么?如何确定每个人的身份?在本文中,我们考虑了骑士与无人问题,其中无人是一个总是回答“否”的人。假设至少有k个骑士,我们证明(n-1 2)-(「)(k-2)(n-1)〜2/2(k-1)”问题在最坏的情况下是必要和充分的识别一个骑士。我们还表明,n-2个问题足以识别无人,并且(n-1 2)-(``)(k-2)(n-1)〜2/2(k-1)''+ n- 2个问题足以识别房间中的每个人。然后,我们考虑对骑士和刀问题的概括,该概括涵盖了文献中有关骑士和刀问题的大多数变体。在代理商标签问题中,我们希望识别每个人的类型;在代理商识别问题中,我们希望识别具有特定类型的代理商。我们提出了关于在最坏的情况下解决代理商标签和代理商标识问题所需的最少问题数量的结果。我们的工具和结果本质上都是图论的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号