COMPLEMENT GRAPH



In graph theory the 'complement' or 'inverse' of a graph G is a graph H on the same vertices such that two vertices of H are adjacent if and only if they are not adjacent in G. That is, to find the complement of a graph, you fill in all the missing edges, and remove all the edges that were already there. It is not the set complement of the graph; only the edges are complemented.

Contents
Formal construction

Formal construction


Given graph G(V_G, E_G) of vertices V_G and edges E_G, construct its 'complement graph' H(V_H, E_H) by:

V_H = V_G and

★ for a clique K^n(V_K, E_K) of n = |V_G| vertices, E_H = E_K setminus E_G.
The 'complement graph' is used in several graph theories and demonstrations, such as the Ramsey theory, and different reductions for proofs of NP-Completeness.

This article provided by Wikipedia. To edit the contents of this article, click here for original source.

psst.. try this: add to faves