Boost logo

Boost Users :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2003-08-18 23:12:45


On Monday, August 18, 2003, at 10:51 PM, Chris Russell wrote:

> Sure - that makes sense. As for the vertex indices.... Hmmm.
> Theoretically... I'll have to go look at the source (creation of this
> particular graph is constructed by a graph algorithm analyzing another
> graph, and referencing data from a third so it's entire possible I
> messed it
> up somewhere...) But if they were screwed up wouldn't I bomb
> regardless of
> which version of the DFS call I made?

Not necessarily. If VertexList=listS then the vertex_descriptor is a
pointer, and dereferencing this pointer gives a struct with the color
as a data member. So the vertex index is never used in that case.

Cheers,
Jeremy


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