|
Boost Users : |
From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-11-30 19:46:25
On Nov 30, 2005, at 2:06 PM, Luis Quesada wrote:
> Given the index of a vertex, how can I get its descriptor? I guess
> function vertex (page 225 of The Boost Graph Library) does that
> but the
> function is not defined.
For adjacency_list, there is a vertex function:
vertex(i, g)
returns the ith vertex in the graph g. It's documented in the "Non-
Member Functions" section of
http://www.boost.org/libs/graph/doc/adjacency_list.html
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