BaseNetwork.edge_length
-
BaseNetwork.
edge_length
(u, v)[source] Return the length of an edge.
- Parameters
u (hashable) – The key of the start node.
v (hashable) – The key of the end node.
- Returns
float – The length of the edge.
BaseNetwork.
edge_length
(u, v)[source]Return the length of an edge.
u (hashable) – The key of the start node.
v (hashable) – The key of the end node.
float – The length of the edge.