| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Edges.NodeCounting
Synopsis
- data NodeCounts entity
- data Node entity
- data Amount entity
- data Edges source target
- nodeTargets :: Edges source target -> Node source -> NodeCounts target
- targets :: Edges source target -> NodeCounts source -> NodeCounts target
Documentation
data NodeCounts entity Source #
Instances
| Show (NodeCounts a) # | |
Defined in Edges.Instances Methods showsPrec :: Int -> NodeCounts a -> ShowS # show :: NodeCounts a -> String # showList :: [NodeCounts a] -> ShowS # | |
| NFData (NodeCounts a) # | |
Defined in Edges.Instances Methods rnf :: NodeCounts a -> () # | |
| Serialize (NodeCounts a) # | |
Defined in Edges.Instances.Cereal | |
Total amount of unique entities of the type
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.