Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NodeCounts entity
- node :: Edges entity anyEntity -> Node entity -> NodeCounts entity
- nodeTargets :: Edges surce target -> Node source -> NodeCounts target
- targets :: Edges source target -> NodeCounts source -> NodeCounts target
- toList :: NodeCounts entity -> [Word32]
- toUnboxedVector :: NodeCounts entity -> Vector Word32
Documentation
data NodeCounts entity Source #
Instances
Show (NodeCounts a) # | |
Defined in Edges.NodeCounts showsPrec :: Int -> NodeCounts a -> ShowS # show :: NodeCounts a -> String # showList :: [NodeCounts a] -> ShowS # | |
Serialize (NodeCounts a) # | |
Defined in Edges.Cereal.Instances put :: Putter (NodeCounts a) # get :: Get (NodeCounts a) # |
nodeTargets :: Edges surce target -> Node source -> NodeCounts target Source #
targets :: Edges source target -> NodeCounts source -> NodeCounts target Source #
Count the occurrences of targets based on the occurrences of sources.
Utilizes concurrency.
toList :: NodeCounts entity -> [Word32] Source #
toUnboxedVector :: NodeCounts entity -> Vector Word32 Source #
Orphan instances
Show (NodeCounts a) Source # | |
showsPrec :: Int -> NodeCounts a -> ShowS # show :: NodeCounts a -> String # showList :: [NodeCounts a] -> ShowS # |