Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type CachedMaxChildWeight w = HashMap Node (Maybe w) #
heaviestPathOutOf :: forall a b gr m w. (Show a, Graph gr, Monad m, Weight w) => (a -> w) -> gr a b -> Node -> ExceptT Text (StateT (CachedMaxChildWeight w) m) w #