autolib-util
Safe HaskellNone
LanguageHaskell98

Autolib.Util.BFS

Synopsis

Documentation

meetings Source #

Arguments

:: Ord a 
=> Int

höchstens soviele generieren

-> (a -> [a]) 
-> a 
-> [(a, a)] 

compute bfs ordering, emit any duplicates assume that there are not many of them or, we stop the program as soon as we have seen only a few

generator :: (a -> [a]) -> [a] -> [a] Source #

duplicates :: Ord a => [a] -> [(a, a)] Source #