edges-0.4.0.1: Tools for efficient immutable graphs

Safe HaskellNone
LanguageHaskell2010

Edges.NodeCounts

Contents

Synopsis

Documentation

data NodeCounts entity Source #

Instances
Show (NodeCounts a) # 
Instance details

Defined in Edges.NodeCounts

Serialize (NodeCounts a) # 
Instance details

Defined in Edges.Cereal.Instances

Methods

put :: Putter (NodeCounts a) #

get :: Get (NodeCounts a) #

node :: Edges entity anyEntity -> Node entity -> NodeCounts entity Source #

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.

Orphan instances

Show (NodeCounts a) Source # 
Instance details