alex
Safe HaskellSafe-Inferred
LanguageHaskell2010

DFS

Documentation

data GTree Source #

Constructors

GNode Int GForest 

type Graph = (Int, Int -> [Int]) Source #

type Edge = (Int, Int) Source #

out :: Graph -> Int -> [Int] Source #

generate_g :: (Int -> [Int]) -> Int -> GTree Source #