This method will take in any two graphs and output the strong product of the two graphs. The vertex set of the strong product of G and H is the cartesian product of the vertex sets of G and H. The keys for each vertex will be output as a sequence to represent this clearly. The edge set of the strong product of G and H is formed by the rule any two distinct vertices (u,u') and (v,v') are adjacent in G and H if and only if u' is adjacent with v' or u'=v' , and u is adjacent with v or u = v.



The object strongProduct is a method function.