Boost logo

Boost Users :

Subject: [Boost-users] [graph][BGL] Why can not I use edge_index_t?
From: bminano (bminyano_at_[hidden])
Date: 2013-03-13 04:51:49


Hello,

I want to create an iterator_property_map to iterate over the edges, but I
cannot declare the following:
typedef property_map<Graph, edge_index_t>::const_type EdgeIndexMap;
The compilation gives me an error.

I am using an adjacency list with vertex and edge properties. I can use a
vertex_index_t, so I assumed that I could use the equivalent for edges. But
I don't understand why I can't.

This is my adjacency list:
typedef boost::adjacency_list<vecS, distributedS&lt;mpi_process_group,
vecS>, bidirectionalS, property<vertex_index_t, int>, EdgeProperties> Graph;

Have anyone deal with something similar?

Thank you

--
View this message in context: http://boost.2283326.n4.nabble.com/graph-BGL-Why-can-not-I-use-edge-index-t-tp4644075.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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