uhc-util-0.1.7.0: UHC utilities

Safe HaskellSafe
LanguageHaskell98

UHC.Util.AGraph

Documentation

data AGraph a b Source #

Instances

(Show a, Show b) => Show (AGraph a b) Source # 

Methods

showsPrec :: Int -> AGraph a b -> ShowS #

show :: AGraph a b -> String #

showList :: [AGraph a b] -> ShowS #

insertEdge :: Ord a => (a, a, b) -> AGraph a b -> AGraph a b Source #

insertEdges :: Ord a => [(a, a, b)] -> AGraph a b -> AGraph a b Source #

deleteEdge :: Ord a => (a, a) -> AGraph a b -> AGraph a b Source #

deleteNode :: Ord a => a -> AGraph a b -> AGraph a b Source #

successors :: Ord a => AGraph a b -> a -> [(b, a)] Source #

predecessors :: Ord a => AGraph a b -> a -> [(b, a)] Source #