HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulefgl-5.8.3.1Haskell98

Data.Graph.Inductive.Query.ArtPoint

  • 1 value
  • Packagefgl-5.8.3.1
  • Exports1
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceArtPoint.hs
valueap :: Graph gr => gr a b -> [Node]
#

Finds the articulation points for a connected undirected graph, by using the low numbers criteria:

a) The root node is an articulation point iff it has two or more children.

b) An non-root node v is an articulation point iff there exists at least one child w of v such that lowNumber(w) >= dfsNumber(v).