Computing homomorphisms in hereditary graph classes: the peculiar case of the 5-wheel and graphs with no long claws

05/26/2022
by   Michał Dębski, et al.
0

For graphs G and H, an H-coloring of G is an edge-preserving mapping from V(G) to V(H). In the H-Coloring problem the graph H is fixed and we ask whether an instance graph G admits an H-coloring. A generalization of this problem is H-ColoringExt, where some vertices of G are already mapped to vertices of H and we ask if this partial mapping can be extended to an H-coloring. We study the complexity of variants of H-Coloring in F-free graphs, i.e., graphs excluding a fixed graph F as an induced subgraph. For integers a,b,c ≥ 1, by S_a,b,c we denote the graph obtained by identifying one endvertex of three paths on a+1, b+1, and c+1 vertices, respectively. For odd k ≥ 5, by W_k we denote the graph obtained from the k-cycle by adding a universal vertex. As our main algorithmic result we show that W_5-ColoringExt is polynomial-time solvable in S_2,1,1-free graphs. This result exhibits an interesting non-monotonicity of H-ColoringExt with respect to taking induced subgraphs of H. Indeed, W_5 contains a triangle, and K_3-Coloring, i.e., classical 3-coloring, is NP-hard already in claw-free (i.e., S_1,1,1-free) graphs. Our algorithm is based on two main observations: 1. W_5-ColoringExt in S_2,1,1-free graphs can be in polynomial time reduced to a variant of the problem of finding an independent set intersecting all triangles, and 2. the latter problem can be solved in polynomial time in S_2,1,1-free graphs. We complement this algorithmic result with several negative ones. In particular, we show that W_5-ColoringExt is NP-hard in S_3,3,3-free graphs. This is again uncommon, as usually problems that are NP-hard in S_a,b,c-free graphs for some constant a,b,c are already hard in claw-free graphs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/20/2020

Finding large H-colorable subgraphs in hereditary graph classes

We study the Max Partial H-Coloring problem: given a graph G, find the l...
research
09/07/2018

Local Coloring and its Complexity

A k-coloring of a graph is an assignment of integers between 1 and k to ...
research
02/25/2022

List Locally Surjective Homomorphisms in Hereditary Graph Classes

A locally surjective homomorphism from a graph G to a graph H is an edge...
research
07/18/2022

Robust Factorizations and Colorings of Tensor Graphs

Since the seminal result of Karger, Motwani, and Sudan, algorithms for a...
research
02/18/2020

Computing the k Densest Subgraphs of a Graph

Computing cohesive subgraphs is a central problem in graph theory. While...
research
06/12/2023

Fitch Graph Completion

Horizontal gene transfer is an important contributor to evolution. Accor...
research
10/02/2021

Minimizing LR(1) State Machines is NP-Hard

LR(1) parsing was a focus of extensive research in the past 50 years. Th...

Please sign up or login with your details

Forgot password? Click here to reset