中文
相关论文

相关论文: NP-Completeness Proofs of All or Nothing, Water Wa…

200 篇论文

Pencil puzzles are puzzles that can be solved by writing down solutions on a paper, using only logical reasoning. In this paper, we utilize the "T-metacell" framework developed by Tang and the MIT Hardness Group to prove the NP-completeness…

计算复杂性 · 计算机科学 2026-01-15 Nattapol Kiatchaipipat , Suthee Ruangwises

Building on the results published in arxiv:2004.12849 we present a general framework for demonstrating the NP-hardness of satisfying many genres of loop and path puzzles using a 'T-metacell' gadget. We then use this to prove the…

计算复杂性 · 计算机科学 2022-02-07 Hadyn Tang

We prove that Hamiltonicity in maximum-degree-3 grid graphs (directed or undirected) is ASP-complete, i.e., it has a parsimonious reduction from every NP search problem (including a polynomial-time bijection between solutions). As a…

计算复杂性 · 计算机科学 2026-05-05 MIT Hardness Group , Josh Brunner , Lily Chung , Erik D. Demaine , Jenny Diomidova , Della Hendrickson , Andy Tockman

In the Nikoli pencil-and-paper game Tatamibari, a puzzle consists of an $m \times n$ grid of cells, where each cell possibly contains a clue among +, -, |. The goal is to partition the grid into disjoint rectangles, where every rectangle…

计算复杂性 · 计算机科学 2020-05-11 Aviv Adler , Jeffrey Bosboom , Erik D. Demaine , Martin L. Demaine , Quanquan C. Liu , Jayson Lynch

The circuits of a polyhedron are a superset of its edge directions. Circuit walks, a sequence of steps along circuits, generalize edge walks and are "short" if they have few steps or small total length. Both interpretations of short are…

最优化与控制 · 数学 2024-03-11 Steffen Borgwardt , Weston Grewe , Sean Kafer , Jon Lee , Laura Sanità

Wataridori is a pencil puzzle that involves drawing paths in a rectangular grid to connect circles into pairs while satisfying several constraints. In this paper, we prove that deciding whether a given Wataridori puzzle has a solution is…

计算复杂性 · 计算机科学 2026-03-18 Suthee Ruangwises

Upward planarity testing and Rectilinear planarity testing are central problems in graph drawing. It is known that they are both NP-complete, but XP when parameterized by treewidth. In this paper we show that these two problems are…

"Eye-Witless", "Haisu" and "Oriental House" are genres of logic puzzles invented by William Hu, and "Detour" is a genre of logic puzzle invented by online user Guowen Zhang. Each of these puzzles revolves around constructing a path or loop…

组合数学 · 数学 2020-04-28 Hadyn Tang

When can $t$ terminal pairs in an $m \times n$ grid be connected by $t$ vertex-disjoint paths that cover all vertices of the grid? We prove that this problem is NP-complete. Our hardness result can be compared to two previous NP-hardness…

We perform a systematic study in the computational complexity of the connected variant of three related transversal problems: Vertex Cover, Feedback Vertex Set, and Odd Cycle Transversal. Just like their original counterparts, these…

数据结构与算法 · 计算机科学 2017-09-22 Nina Chiarelli , Tatiana R. Hartinger , Matthew Johnson , Martin Milanič , Daniël Paulusma

Proving the NP-completeness of pencil-and-paper puzzles typically relies on reductions from combinatorial problems such as the satisfiability problem (SAT). Although the properties of these problems are well studied, their purely…

计算复杂性 · 计算机科学 2026-03-10 Kosuke Susukita , Junichi Teruyama

The defining feature of memoryless quantum walks is that they operate on the vertex space of a graph, and therefore can be used to produce search algorithms with minimal memory. We present a memoryless walk that can find a unique marked…

量子物理 · 物理学 2022-04-21 Peter Høyer , Janet Leahy

In 2007, Arkin et al. initiated a systematic study of the complexity of the Hamiltonian cycle problem on square, triangular, or hexagonal grid graphs, restricted to polygonal, thin, superthin, degree-bounded, or solid grid graphs. They…

计算复杂性 · 计算机科学 2017-07-03 Erik D. Demaine , Mikhail Rudoy

Supergrid graphs contain grid graphs and triangular grid graphs as their subgraphs. The Hamiltonian cycle and path problems for general supergrid graphs were known to be NP-complete. A graph is called Hamiltonian if it contains a…

离散数学 · 计算机科学 2019-05-07 Fatemeh Keshavarz-Kohjerdi , Ruo-Wei Hung

Let $G$ be a directed graph with $n$ vertices and $m$ edges, embedded on a surface $S$, possibly with boundary, with first Betti number $\beta$. We consider the complexity of finding closed directed walks in $G$ that are either contractible…

计算几何 · 计算机科学 2019-03-22 Jeff Erickson , Yipu Wang

Determining if an input undirected graph is Hamiltonian, i.e., if it has a cycle that visits every vertex exactly once, is one of the most famous NP-complete problems. We consider the following generalization of Hamiltonian cycles: for a…

数据结构与算法 · 计算机科学 2026-05-06 Antoine Amarilli , Arthur Lombardo , Mikaël Monet

Some classical graph problems such as finding minimal spanning tree, shortest path or maximal flow can be done efficiently. We describe slight variations of such problems which are shown to be NP-complete. Our proofs use straightforward…

计算复杂性 · 计算机科学 2020-01-14 Per Alexandersson

Motivated by a relaxed notion of the celebrated Hamiltonian cycle, this paper investigates its variant, parity Hamiltonian cycle (PHC): A PHC of a graph is a closed walk which visits every vertex an odd number of times, where we remark that…

计算复杂性 · 计算机科学 2016-07-11 Hiroshi Nishiyama , Yusuke Kobayashi , Yukiko Yamauchi , Shuji Kijima , Masafumi Yamashita

We study the following generalization of the Hamiltonian cycle problem: Given integers $a,b$ and graph $G$, does there exist a closed walk in $G$ that visits every vertex at least $a$ times and at most $b$ times? Equivalently, does there…

计算复杂性 · 计算机科学 2024-05-28 Brian Liu , Nathan S. Sheffield , Alek Westover

We consider the problem of finding a Hamiltonian path or a Hamiltonian cycle with precedence constraints in the form of a partial order on the vertex set. We show that the path problem is $\mathsf{NP}$-complete for graphs of pathwidth 4…

离散数学 · 计算机科学 2025-07-01 Jesse Beisegel , Katharina Klost , Kristin Knorr , Fabienne Ratajczak , Robert Scheffler
‹ 上一页 1 2 3 10 下一页 ›