[prev] 32 [next]

Weighted Graph Representation (cont)

Adjacency matrix representation with weights:

[Diagram:Pic/adjmatrixw.png]

Note: need distinguished value to indicate "no edge".