Skip to main content
QUICK REVIEW

[Paper Review] Grid Recognition: Classical and Parameterized Computational Perspectives

Siddharth Gupta, Guy Sa'ar|arXiv (Cornell University)|Jan 1, 2021
Advanced Graph Theory ResearchComputer Science2 citations
TL;DR

This paper presents the first parameterized complexity analysis of grid recognition, proving that the Grid Embedding problem is fixed-parameter tractable (FPT) when parameterized by $k + \text{mcc}$ (where $k$ is the height and $\text{mcc}$ is the maximum component size), and by $\text{td} + k$ (treedepth plus height). It also introduces a new parameter $a_G$ relating graph and geometric distance, showing FPT results for trees and $k + a_G$, while establishing NP-hardness for pathwidth 2 graphs when $k = 3$. The results imply new FPT algorithms for strip packing with respect to strip height plus rectangle dimensions.

ABSTRACT

Grid graphs, and, more generally, k×r grid graphs, form one of the most basic classes of geometric graphs. Over the past few decades, a large body of works studied the (in)tractability of various computational problems on grid graphs, which often yield substantially faster algorithms than general graphs. Unfortunately, the recognition of a grid graph (given a graph G, decide whether it can be embedded into a grid graph) is particularly hard - it was shown to be NP-hard even on trees of pathwidth 3 already in 1987. Yet, in this paper, we provide several positive results in this regard in the framework of parameterized complexity (additionally, we present new and complementary hardness results). Specifically, our contribution is threefold. First, we show that the problem is fixed-parameter tractable (FPT) parameterized by k+mcc where mcc is the maximum size of a connected component of G. This also implies that the problem is FPT parameterized by td+k where td is the treedepth of G, as td ≤ mcc (to be compared with the hardness for pathwidth 2 where k = 3). (We note that when k and r are unrestricted, the problem is trivially FPT parameterized by td.) Further, we derive as a corollary that strip packing is FPT with respect to the height of the strip plus the maximum of the dimensions of the packed rectangles, which was previously only known to be in XP. Second, we present a new parameterization, denoted a_G, relating graph distance to geometric distance, which may be of independent interest. We show that the problem is para-NP-hard parameterized by a_G, but FPT parameterized by a_G on trees, as well as FPT parameterized by k+a_G. Third, we show that the recognition of k× r grid graphs is NP-hard on graphs of pathwidth 2 where k = 3. Moreover, when k and r are unrestricted, we show that the problem is NP-hard on trees of pathwidth 2, but trivially solvable in polynomial time on graphs of pathwidth 1.

Motivation & Objective

  • To address the long-standing open problem of grid graph recognition in the parameterized complexity framework.
  • To identify tractable parameterizations for the NP-hard Grid Embedding problem.
  • To establish new FPT algorithms for strip packing by leveraging grid recognition results.
  • To introduce and analyze a novel parameter $a_G$ that captures the discrepancy between graph and geometric distance in grid embeddings.
  • To resolve the complexity of grid recognition on low-pathwidth graphs, particularly for $k = 3$ and pathwidth 2.

Proposed method

  • Prove that Grid Embedding is FPT when parameterized by $k + \text{mcc}$, using dynamic programming on tree decompositions and component-wise embedding strategies.
  • Show that the problem is FPT under $\text{td} + k$ by exploiting treedepth structure and recursive embedding of subtrees.
  • Introduce the parameter $a_G$, defined as the maximum graph distance between vertices that are geometrically adjacent in a potential grid embedding.
  • Use inductive embedding arguments on paths and trees to prove FPT results for $a_G$ on trees and $k + a_G$.
  • Construct a reduction from 3-SAT to prove NP-hardness of Grid Embedding on graphs of pathwidth 2 when $k = 3$, using a structured gadget construction with variable and clause paths.
  • Derive a corollary that strip packing is FPT with respect to the strip height plus the maximum rectangle dimension, improving upon the previous XP result.

Experimental results

Research questions

  • RQ1Is the Grid Embedding problem fixed-parameter tractable under natural structural parameters such as $k + \text{mcc}$ or $\text{td} + k$?
  • RQ2Can a new parameter $a_G$, measuring the mismatch between graph and geometric distance, yield FPT algorithms for grid recognition?
  • RQ3What is the complexity of grid recognition on graphs of bounded pathwidth, particularly for $k = 3$?
  • RQ4Does the new parameter $a_G$ lead to tractable algorithms on trees and in combination with $k$?
  • RQ5Can the results on grid recognition be leveraged to improve parameterized algorithms for related problems like strip packing?

Key findings

  • Grid Embedding is FPT when parameterized by $k + \text{mcc}$, where $\text{mcc}$ is the maximum size of a connected component in the input graph.
  • The problem is FPT when parameterized by $\text{td} + k$, where $\text{td}$ is the treedepth of the graph, resolving a long-standing open question in the context of pathwidth 2.
  • The problem is para-NP-hard when parameterized by $a_G$, but becomes FPT when restricted to trees or when parameterized by $k + a_G$, indicating a sharp complexity threshold.
  • Grid Embedding is NP-hard on graphs of pathwidth 2 when $k = 3$, demonstrating that the problem remains hard even on very restricted graph classes.
  • The strip packing problem is FPT with respect to the strip height plus the maximum rectangle dimension, a significant improvement over the previously known XP algorithm.
  • The results establish a new FPT algorithm for strip packing by reducing it to the grid recognition problem under the new parameterization framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.