$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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