graphite-0.9.1.0: Graphs and networks library

Safe HaskellSafe
LanguageHaskell2010

Data.Graph.Morphisms

Synopsis

Documentation

areIsomorphic :: Graph g => g v e -> g v' e' -> Bool Source #

Tell if two graphs are isomorphic TODO: check first: same number of vertices, same number of edges

isomorphism :: Graph g => g v e -> g v' e' -> v -> v' Source #

isURegular :: UGraph v e -> Bool Source #

Tell if a UGraph is regular | An undirected graph is regular if each vertex has the same degree

isDRegular :: DGraph v e -> Bool Source #

Tell if a DGraph is regular | A directed graph is regular if each vertex has the same indigree and | | outdegree