[BGL] Bidirectional Graph Concept
According to
http://www.boost.org/libs/graph/doc/BidirectionalGraph.html,
adjacency_list with Directed=undirectedS is a model of
the Bidirectional Graph Concept. However, the
following code fails to compile:
#include
On Dec 15, 2004, at 1:38 PM, Cromwell Enage wrote:
According to http://www.boost.org/libs/graph/doc/BidirectionalGraph.html, adjacency_list with Directed=undirectedS is a model of the Bidirectional Graph Concept.
Yes, it should be.
However, the following code fails to compile:
[snip code]
Perhaps in_degree() should be specialized for undirected graphs so that it returns the same result as out_degree().
You are correct. I've committed a fix. Doug
participants (2)
-
Cromwell Enage
-
Doug Gregor