| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Edges.NodeCounts
Contents
Synopsis
- data NodeCounts entity
- node :: Edges entity anyEntity -> Node entity -> NodeCounts entity
- nodeTargets :: Edges source 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 Methods showsPrec :: Int -> NodeCounts a -> ShowS # show :: NodeCounts a -> String # showList :: [NodeCounts a] -> ShowS # | |
| Serialize (NodeCounts a) # | |
Defined in Edges.Cereal.Instances | |
nodeTargets :: Edges source 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 # | |
Methods showsPrec :: Int -> NodeCounts a -> ShowS # show :: NodeCounts a -> String # showList :: [NodeCounts a] -> ShowS # | |