Boost logo

Boost Users :

From: Abde Ali Kagalwalla (abdeali.iitb_at_[hidden])
Date: 2008-06-23 01:12:25

I just started using the graph library.....
I want to store a class I created called bbox as vertices of a graph.
So, I just used the bundled properties mentioned as mentioned in the

So here is a relevant portion of the code:

vector<bbox> A;

boost::adjacency_list<vecS, vecS, undirectedS, bbox> G;

for (int i=0; i<A.size(); i++){
   for(int j=i+1; j<A.size();j++{
       add_edge(A[i], A[j], G);

But bbox is not accepted as a valid vertex_descriptor for add_edge function.

So, how do I go about constructing a graph with a class that I defined as a


Abde Ali

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at