Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module that provides functions for analysis of graph's cycles.
Synopsis
- findCycles :: Ord e => EdgeList e -> [EdgeList e]
- findSimpleCycles :: Eq e => EdgeList e -> [EdgeList e]
- findLocalCycles :: Eq e => EdgeList e -> [EdgeList e]
- getCyclic :: GenericGraph v e -> Set Int
- isEdgeInCycle :: Ord e => EdgeList e -> Int -> Bool
Documentation
findCycles :: Ord e => EdgeList e -> [EdgeList e] Source #
Takes EdgeList
and finds non-redundant set of conjugated simple cycles.
Cycles sharing in common one edge are considered to be one cycle.
BondList must obey rule (b, e, _) b < e.
findSimpleCycles :: Eq e => EdgeList e -> [EdgeList e] Source #
Finds all simple cycles in fused cycles system.
findLocalCycles :: Eq e => EdgeList e -> [EdgeList e] Source #
Finds all cycles of minimal length contained in system of conjugated cycles.