complementGraph -- Returns the complement of a graph
Synopsis
Usage:
G' = complementGraph G
Inputs:
G, an object of class Graph (missing documentation)
Outputs:
G', an object of class Graph (missing documentation), The complement graph of G
Description
The complement graph of a graph G is the graph Gc where any two vertcies are adjacent in Gc iff they are not adjacent in G. The original vertex set is preserved, only the edges are changed.