[Paper Review] Orthogonal Terrain Guarding is NP-complete
This paper proves that Orthogonal Terrain Guarding—placing the minimum number of guards on vertices of a rectilinear (orthogonal) terrain to cover the entire terrain—is NP-complete. By adapting King and Krohn's reduction from Planar 3-SAT and refining it into a cubic reduction from 3-SAT, the authors establish a tight ETH-based lower bound of 2Ω(n¹/³), closing the gap with existing algorithms and resolving an open problem posed by Ashok et al. (SoCG'17).
A terrain is an x-monotone polygonal curve, i.e., successive vertices have increasing x-coordinates. Terrain Guarding can be seen as a special case of the famous art gallery problem where one has to place at most $k$ guards on a terrain made of $n$ vertices in order to fully see it. In 2010, King and Krohn showed that Terrain Guarding is NP-complete [SODA '10, SIAM J. Comput. '11] thereby solving a long-standing open question. They observe that their proof does not settle the complexity of Orthogonal Terrain Guarding where the terrain only consists of horizontal or vertical segments; those terrains are called rectilinear or orthogonal. Recently, Ashok et al. [SoCG'17] presented an FPT algorithm running in time $k^{O(k)}n^{O(1)}$ for Dominating Set in the visibility graphs of rectilinear terrains without 180-degree vertices. They ask if Orthogonal Terrain Guarding is in P or NP-hard. In the same paper, they give a subexponential-time algorithm running in $n^{O(\sqrt n)}$ (actually even $n^{O(\sqrt k)}$) for the general Terrain Guarding and notice that the hardness proof of King and Krohn only disproves a running time $2^{o(n^{1/4})}$ under the ETH. Hence, there is a significant gap between their $2^{O(n^{1/2} \log n)}$-algorithm and the no $2^{o(n^{1/4})}$ ETH-hardness implied by King and Krohn's result. In this paper, we adapt the gadgets of King and Krohn to rectilinear terrains in order to prove that even Orthogonal Terrain Guarding is NP-complete. Then, we show how to obtain an improved ETH lower bound of $2^{Ω(n^{1/3})}$ by refining the quadratic reduction from Planar 3-SAT into a cubic reduction from 3-SAT. This works for both Orthogonal Terrain Guarding and Terrain Guarding.
Motivation & Objective
- To resolve the open problem posed by Ashok et al. (SoCG'17) on the complexity of Orthogonal Terrain Guarding.
- To close the gap between the best-known 2O(√n log n)-time algorithm and the ETH-based lower bound for Terrain Guarding.
- To establish a tight exponential time lower bound for Orthogonal Terrain Guarding under the Exponential Time Hypothesis (ETH).
- To investigate whether the problem is fixed-parameter tractable (FPT) when parameterized by the number of guards.
Proposed method
- Adapt King and Krohn's NP-completeness proof for general Terrain Guarding to the orthogonal setting using rectilinear gadgets.
- Construct a reduction from 3-SAT to Orthogonal Terrain Guarding via a cubic construction, improving upon the prior quadratic reduction from Planar 3-SAT.
- Use crossover gadgets and variable/clause encodings in a rectilinear grid to simulate logical constraints while maintaining orthogonality.
- Design a chunk-based verification system that checks clauses and equality constraints in parallel across columns, minimizing the number of required verification segments.
- Apply the sparsification lemma and ETH-based reasoning to derive a 2Ω(n¹/³) lower bound on the running time.
- Show that the discrete and continuous variants of Orthogonal Terrain Guarding are equivalent, justifying the focus on vertex guards.
Experimental results
Research questions
- RQ1Is Orthogonal Terrain Guarding NP-complete, despite the geometric restrictions of rectilinear edges?
- RQ2Can a tighter ETH-based lower bound be established for Orthogonal Terrain Guarding compared to the previous 2o(n¹/⁴) bound?
- RQ3Is the problem fixed-parameter tractable when parameterized by the number of guards, especially given the existence of an FPT algorithm for Dominating Set on visibility graphs of strictly rectilinear terrains?
- RQ4Does the reduction from 3-SAT to Orthogonal Terrain Guarding preserve the structure needed to achieve a cubic reduction, enabling a stronger lower bound?
- RQ5Can the number of chunks needed to verify all clauses be reduced to O(N) while maintaining correctness in the rectilinear construction?
Key findings
- Orthogonal Terrain Guarding is proven to be NP-complete, resolving an open question posed by Ashok et al. (SoCG'17).
- The authors establish a tight ETH-based lower bound of 2Ω(n¹/³) for both Orthogonal Terrain Guarding and general Terrain Guarding, improving upon the previous 2o(n¹/⁴) bound.
- The reduction from 3-SAT to Orthogonal Terrain Guarding is cubic in the number of variables, enabling a stronger lower bound than the prior quadratic reduction from Planar 3-SAT.
- The total number of vertices in the constructed terrain is O(N³) for a 3-SAT formula with N variables, leading to the nO(1) factor in the lower bound.
- The chunk-based verification system allows checking O(N²) clauses in O(N) chunks, each of size O(N²), resulting in a total of O(N³) vertices.
- The result implies that no 2o(n¹/³)-time algorithm exists for Orthogonal Terrain Guarding unless the Exponential Time Hypothesis fails.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.