Grid Recognition: Classical and Parameterized Computational Perspectives

06/30/2021
by   Siddharth Gupta, et al.
0

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 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+𝗆𝖼𝖼 where 𝗆𝖼𝖼 is the maximum size of a connected component of G. This also implies that the problem is FPT parameterized by 𝚝𝚍+k where 𝚝𝚍 is the treedepth of G (to be compared with the hardness for pathwidth 2 where k=3). 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/20/2022

Finding shortest non-separating and non-disconnecting paths

For a connected graph G = (V, E) and s, t ∈ V, a non-separating s-t path...
research
09/25/2020

Finding a Maximum Minimal Separator: Graph Classes and Fixed-Parameter Tractability

We study the problem of finding a maximum cardinality minimal separator ...
research
02/23/2021

A Refined Complexity Analysis of Fair Districting over Graphs

We study the NP-hard Fair Connected Districting problem: Partition a ver...
research
06/08/2020

A Survey on Approximation in Parameterized Complexity: Hardness and Algorithms

Parameterization and approximation are two popular ways of coping with N...
research
03/18/2023

On the Parameterized Complexity of Relaxations of Clique

We investigate the parameterized complexity of several problems formaliz...
research
03/21/2022

On the Parameterized Complexity of the Maximum Exposure Problem

We investigate the parameterized complexity of Maximum Exposure Problem ...
research
03/10/2023

DAG Scheduling in the BSP Model

We study the problem of scheduling an arbitrary computational DAG on a f...

Please sign up or login with your details

Forgot password? Click here to reset