[BGL] std::pair<edge_descriptor, bool> edge()

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

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

Dear Jeremiah,
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?
It is indeed missing in http://www.boost.org/doc/libs/1_42_0/libs/graph/doc/adjacency_list.html Regards, --Hossein

On Wed, 5 May 2010, Hossein Haeri wrote:
Dear Jeremiah,
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?
It is indeed missing in
http://www.boost.org/doc/libs/1_42_0/libs/graph/doc/adjacency_list.html
That should be fixed on the trunk now. -- Jeremiah Willcock
participants (2)
-
Hossein Haeri
-
Jeremiah Willcock