BGL: count parallel edges between vertices (u,v)

15 Dec
2010
15 Dec
'10
5:26 p.m.
Hi, Is there a function to count the number of edges between two vertices (u,v)? In the case of parallel edges, this function could return values larger than one. Thanks, Shaun

15 Dec
15 Dec
6:14 p.m.
On Wed, 15 Dec 2010, Shaun Jackman wrote:
Hi,
Is there a function to count the number of edges between two vertices (u,v)? In the case of parallel edges, this function could return values larger than one.
Try getting edge_range(u, v, g) and using std::distance on that. -- Jeremiah Willcock
5299
Age (days ago)
5299
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jeremiah Willcock
-
Shaun Jackman