Induced subgraph isomorphism problem explained

In complexity theory and graph theory, induced subgraph isomorphism is an NP-complete decision problem that involves finding a given graph as an induced subgraph of a larger graph.

Problem statement

Formally, the problem takes as input two graphs G1=(V1, E1) and G2=(V2, E2), where the number of vertices in V1 can be assumed to be less than or equal to the number of vertices in V2. G1 is isomorphic to an induced subgraph of G2 if there is an injective function f which maps the vertices of G1 to vertices of G2 such that for all pairs of vertices x, y in V1, edge (x, y) is in E1 if and only if the edge (f(x), f(y)) is in E2. The answer to the decision problem is yes if this function f exists, and no otherwise.

This is different from the subgraph isomorphism problem in that the absence of an edge in G1 implies that the corresponding edge in G2 must also be absent. In subgraph isomorphism, these "extra" edges in G2 may be present.

Computational complexity

The complexity of induced subgraph isomorphism separates outerplanar graphs from their generalization series–parallel graphs: it may be solved in polynomial time for 2-connected outerplanar graphs, but is NP-complete for 2-connected series–parallel graphs.[1] [2]

Special cases

The special case of finding a long path as an induced subgraph of a hypercube has been particularly well-studied, and is called the snake-in-the-box problem.[3] The maximum independent set problem is also an induced subgraph isomorphism problem in which one seeks to find a large independent set as an induced subgraph of a larger graph, and the maximum clique problem is an induced subgraph isomorphism problem in which one seeks to find a large clique graph as an induced subgraph of a larger graph.

Differences with the subgraph isomorphism problem

Although the induced subgraph isomorphism problem seems only slightly different from the subgraph isomorphism problem, the "induced" restriction introduces changes large enough that we can witness differences from a computational complexity point of view.

For example, the subgraph isomorphism problem is NP-complete on connected proper interval graphs and on connected bipartite permutation graphs,[4] but the induced subgraph isomorphism problem can be solved in polynomial time on these two classes.[5]

Moreover, the induced subtree isomorphism problem (i.e. the induced subgraph isomorphism problem where G1 is restricted to be a tree) can be solved in polynomial time on interval graphs, while the subtree isomorphism problem is NP-complete on proper interval graphs.[6]

Notes and References

  1. .
  2. .
  3. .
  4. Kijima. Shuji. Otachi, Yota . Saitoh, Toshiki . Uno, Takeaki . Subgraph isomorphism in graph classes. Discrete Mathematics. 1 November 2012. 312. 21. 3164–3173. 10.1016/j.disc.2012.07.010. free.
  5. Heggernes . Pinar . Pinar Heggernes. van 't Hof . Pim . Meister . Daniel . Villanger . Yngve . 2015-01-11 . Induced Subgraph Isomorphism on proper interval and bipartite permutation graphs . Theoretical Computer Science . 562 . 252–269 . 10.1016/j.tcs.2014.10.002 . 0304-3975.
  6. Book: Heggernes . Pinar . Pinar Heggernes. van 't Hof . Pim . Milanič . Martin . 2013 . Lecroq . Thierry . Mouchard . Laurent . Induced Subtrees in Interval Graphs. Proceedings of the 24th International Workshop on Combinatorial Algorithms (IWOCA) . Lecture Notes in Computer Science . en . Berlin, Heidelberg . Springer . 230–243 . 10.1007/978-3-642-45278-9_20 . 978-3-642-45278-9 . http://www.ii.uib.no/~pinar/subtrees.pdf .