Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2005-05-02 10:44:41


On Apr 22, 2005, at 10:55 AM, Andreas Fabri wrote:
> When I use an adjacency_list 'A' with boost::vecS for the vertices,
> is the index 'i' in the distance array then guaranteed to be
> the vertex index of vertex boost::vertices(A)+i ?

Yes, unless you've provided your own vertex_index map that reindexes
the vertices in some different way.

        Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk