Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] std::pair<edge_descriptor, bool> edge()
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-05 10:29:13


On Wed, 5 May 2010, Hossein Haeri wrote:

> Dear all,
>
> Am I right in believing that the bool returned in the function below is
> meant to signal to the user whether there is an edge between u and v or
> not?
>
> std::pair<edge_descriptor, bool>
> edge(vertex_descriptor u, vertex_descriptor v,
> const adjacency_list& g)
>
> The only explanation that the online documentation provides for this
> function is: "Returns an edge connecting vertex u to vertex v in graph
> g." Perhaps somebody should amend that explanation...

It says that in
http://www.boost.org/doc/libs/1_42_0/libs/graph/doc/AdjacencyMatrix.html;
is that missing in the adjacency_list documentation? I'll check it later
and fix it if it is missing.

-- 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