G', an object of class Graph (missing documentation), graph G to the kth power
Description
Gk is the graph with the same vertices as G, where the vertices of Gk are adjacent if they are separated by distance less than or equal to k in graph G. If the diameter of G is d, Gd is the complete graph with the same number of vertices as G.