Question
How can I enumerate all dis-connected k-regular graphs on n vertices?
What I tried
Meringer's GENREG code enumerates connected k-regular graphs. I looked over his C code but did not see an easy way to include dis-connected graphs.
Edit #1
dis-connected here means not connected. For example, one solution for the graph with 6 vertices and degree 2 is two triangles. The adjacency list for that would be:
1: 2,3
2: 1,3
3: 1,2
4: 5,6
5: 4,6
6: 4,5
I was able to generate this using the geng utility from the nauty program. The commands and output are below. The first solution is a "circle of nodes" and the second is "two triangles".