This method generates a specified number of random graphs on a given number of vertices with a given regularity. Note that some graphs may be isomorphic.
i1 : generateRandomRegularGraphs(5, 3, 2) o1 = {Dbg, DMg, DkK} o1 : List |
The number of vertices $n$ must be positive as nauty cannot handle graphs with zero vertices.
The object generateRandomRegularGraphs is a method function with options.