BGL: count parallel edges between vertices (u,v)
16 Dec
2010
16 Dec
'10
12:26 a.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
16 Dec
16 Dec
1:14 a.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
5082
Age (days ago)
5082
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jeremiah Willcock
-
Shaun Jackman