
Hi Maarten!
can anyone help me with the compile error I get when compiling the following code? [...]
typedef boost::adjacency_list < boost::setS, boost::setS, boost::undirectedS, VertexComponentProperty > Graph;
According to the documentation, the second template argument of adjacency_list (VertexList) should select either a Sequence (e.g., std::list) or RandomAccessContainer (e.g., std::vector). So apparently this argument should not select a set! For the first template argument (OutEdgeList), it's okay to be boost::setS, though. OutEdgeList is allowed to select either a Sequence or an AssociativeContainer. http://www.boost.org/libs/graph/doc/using_adjacency_list.html Does that answer your question? See you tomorrow at LKEB! :-) -- Niels Dekker http://www.xs4all.nl/~nd/dekkerware Scientific programmer at LKEB, Leiden University Medical Center