mirror of
https://github.com/boostorg/graph.git
synced 2025-05-12 13:51:43 +00:00
8 lines
198 B
Plaintext
8 lines
198 B
Plaintext
in a directed graph is (u,v) == (v,u) ? 0
|
|
weight[(u,v)] = 1.2
|
|
weight[(v,u)] = 2.4
|
|
in an undirected graph is (u,v) == (v,u) ? 1
|
|
weight[(u,v)] = 3.1
|
|
weight[(v,u)] = 3.1
|
|
the edges incident to v: (0,1)
|