|
Boost Users : |
Subject: Re: [Boost-users] BGL: count parallel edges between vertices (u,v)
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-12-15 20:14:05
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net