Boost logo

Boost Users :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-12-15 15:32:28


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


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