def adjacency

bend-visgraph@2.0.0.0 · visgraph.bend:994

import bend-visgraph@2.0.0.0/visgraph.bend as Visgraph
import Base

994# The rows of the nodes of `g`.
995def adjacency(g: Graph) -> Adjacency:
996  Graph{+n, +dir, +es} = g
997  tallied(es, is_undirected(dir), n, count_halves(es, is_undirected(dir), Counts{Array.new(U32, slots_for(n), 0), Array.new(U32, slots_for(n), 0)}))

Uses (9)

Used by (0)

No other definition uses this definition.