32
Weighted Graph Representation
(cont)
Adjacency matrix representation with weights:
Note: need distinguished value to indicate "no edge".