Boost logo

Boost Users :

From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-05-06 12:49:06


> On May 6, 2008, at 10:31 AM, Jean-Olivier Racine wrote:
>
> I have an adjacent_list graph define as such:
> typedef adjacency_list<vecS, listS, bidirectionalS,
> property<vertex_index_t, int, ObjectID>, Relationships> Graph;

I just spent a while learning this the hard way too. See the FAQ:
    http://www.boost.org/doc/libs/1_35_0/libs/graph/doc/faq.html
Specifically, look at item number 5.

I am using bundled properties, and had to add an "index" variable to
the vertex property to use it with a listS or setS vertex map. There
was an old post on the list that I found somewhat helpful:
   http://thread.gmane.org/gmane.comp.lib.boost.user/27916/focus=27967

James



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