$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Giulio Veronesi (giulio_veronesi_at_[hidden])
Date: 2005-10-09 09:56:45
Hi,
How do I access the vertex_index property of a vertex? Is it necessary
to use the get function? More precisaly, let us consider the following:
typedef adjacency_list<vecS, vecS, bidirectionalS,
no_property, property<edge_weight_t, int> > TGraph;
typedef graph_traits<TGraph>::vertex_descriptor TNode;
Suppose that 'vertex' is a TNode. Is it correct to do
int idx = vertex;
to get in idx the vertex_index of vertex?
Thanks in adavnce,
Giulio