type Adjacency

bend-visgraph@2.0.0.0 · visgraph.bend:65

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

65# The graph as compressed rows: the neighbors of node i are
66# `targets[offsets[i]]` up to `targets[offsets[i + 1]]`, increasing, and
67# the weights of their edges sit at the same positions. An undirected
68# graph's edge appears in the rows of both its ends, a directed one's in
69# its source's row.
70type Adjacency is Type:
71  Adjacency{offsets: Array<U32>, targets: Array<U32>, weights: Array<F32>}

Uses (3)

Used by (6)