fgl-5.7.0.3: Martin Erwig's Functional Graph Library
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Graph.Inductive.Internal.RootPath

Description

Inward directed trees as lists of paths.

Synopsis

Types

type RTree = [Path] Source #

type LRTree a = [LPath a] Source #

Operations

getDistance :: Node -> LRTree a -> Maybe a Source #

Return the distance to the given node in the given tree.

Returns Nothing if the given node is not reachable.