Swish is a card game in which players are given cards having symbols (hoops and balls), and find a valid superposition of cards, called a "swish." Dailly, Lafourcade, and Marcadet (FUN 2024) studied a generalized version of Swish and showed that the problem is solvable in polynomial time with one symbol per card, while it is NP-complete with three or more symbols per card. In this paper, we resolve the previously open case of two symbols per card, which corresponds to the original game. We show that Swish is NP-complete for this case. Specifically, we prove the NP-hardness when the allowed transformations of cards are restricted to a single (horizontal or vertical) flip or 180-degree rotation, and extend the results to the original setting allowing all three transformations. In contrast, when neither transformation is allowed, we present a polynomial-time algorithm. Combining known and our results, we establish a complete characterization of the computational complexity of Swish with respect to both the number of symbols per card and the allowed transformations.


翻译:Swish是一种卡牌游戏,玩家获得带有符号(圆环和圆球)的卡片,并需要找到一种有效的卡片叠加方式,称为“swish”。Dailly、Lafourcade和Marcadet(FUN 2024)研究了Swish的广义版本,证明当每张卡片仅有一个符号时该问题可在多项式时间内求解,而当每张卡片有三个或更多符号时该问题是NP完全的。本文解决了先前悬而未决的每张卡片两个符号的情况,这对应原始游戏规则。我们证明Swish在此情况下同样是NP完全的。具体而言,我们证明了当卡片允许的变换仅限于单次(水平或垂直)翻转或180度旋转时的NP困难性,并将结果推广到允许所有三种变换的原始设定。与之相对,当不允许任何变换时,我们提出了一种多项式时间算法。结合已知结果与我们的发现,我们建立了Swish计算复杂性关于每张卡片符号数量与允许变换方式的完整刻画。

0
下载
关闭预览

相关内容

OlymMATH: 奥林匹克级双语数学基准,R1 正确率仅为 21.2%
专知会员服务
11+阅读 · 2025年4月17日
CALDERA 一款对手自动模拟工具
黑白之道
20+阅读 · 2019年9月17日
研究SLAM,对编程的要求有多高?
计算机视觉life
24+阅读 · 2019年2月18日
计算:XGBoost背后的数学之美
论智
12+阅读 · 2018年8月20日
机器人操作的“圣杯问题” -- Bin Picking
机器人学家
16+阅读 · 2018年8月2日
教程 | 基于遗传算法的拼图游戏解决方案
机器之心
112+阅读 · 2017年11月12日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Arxiv
0+阅读 · 2月10日
Arxiv
0+阅读 · 2月8日
Arxiv
0+阅读 · 1月26日
VIP会员
相关VIP内容
OlymMATH: 奥林匹克级双语数学基准,R1 正确率仅为 21.2%
专知会员服务
11+阅读 · 2025年4月17日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员