Induced subgraph

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

In graph theory, an induced subgraph of a graph is another graph, formed from a subset of the vertices of the graph and all of the edges, from the original graph, connecting pairs of vertices in that subset.

Definition

[edit | edit source]

Formally, let G=(V,E) be any graph, and let SV be any subset of vertices of G. Then the induced subgraph G[S] is the graph whose vertex set is S and whose edge set consists of all of the edges in E that have both endpoints in S.[1] That is, for any two vertices u,vS, u and v are adjacent in G[S] if and only if they are adjacent in G. The same definition works for undirected graphs, directed graphs, and even multigraphs.

The induced subgraph G[S] may also be called the subgraph induced in G by S, or (if context makes the choice of G unambiguous) the induced subgraph of S.

Examples

[edit | edit source]

Important types of induced subgraphs include the following.

File:Snake in the box.svg
The snake-in-the-box problem concerns the longest induced paths in hypercube graphs

Computation

[edit | edit source]

The induced subgraph isomorphism problem is a form of the subgraph isomorphism problem in which the goal is to test whether one graph can be found as an induced subgraph of another. Because it includes the clique problem as a special case, it is NP-complete.[4]

References

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..
  4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..