ninetynine-1.3.0: Ninety-Nine Haskell Problems
CopyrightCopyright (C) 2023 Yoo Chung
LicenseGPL-3.0-or-later
Maintainerdev@chungyc.org
Safe HaskellSafe-Inferred
LanguageGHC2021

Solutions.P94

Description

Some solutions to Problems.P94 of Ninety-Nine Haskell Problems.

Synopsis

Documentation

regularGraphs Source #

Arguments

:: Int

\(n\)

-> Int

\(k\)

-> [G]

non-isomorphic \(k\)-regular graphs with \(n\) vertexes

Generate \(k\)-regular graphs with \(n\) vertexes.