I am interested in constructing simple connected graphs where each vertex has a fixed number of edges (degree) ahead of time. I had originally assume I could use some modification of the Havel-Hakimi algorithm to do this, but Havel-Hakimi isn't actually guaranteed to produce connected graphs. Are there any known algorithms to do this?
Asked
Active
Viewed 202 times
10
-
Thank you for your comment; you are entirely correct! I somehow completely missed that; I have updated my question accordingly. – Eric J Aug 08 '18 at 22:51
-
2Cool. Is this answered by the references/answers at https://math.stackexchange.com/q/61361/14578 and https://math.stackexchange.com/q/732303/14578? (Oh, and welcome to CS.SE!) – D.W. Aug 08 '18 at 23:49
-
1Does each vertex have a maximum degree fixed ahead of time, or is the exact desired degree known for each vertex? – Stella Biderman Aug 09 '18 at 02:33
-
@StellaBiderman I know the exact desired degree for each vertex. – Eric J Aug 09 '18 at 02:37