Uniform generation of spanning regular subgraphs of a dense graph