Boost logo

Boost Users :

Subject: [Boost-users] (no subject)
From: Avishay Ben Shabtai (avishay.ben.shabtai_at_[hidden])
Date: 2012-06-05 02:53:00


>
> > Hi
> >
> > I am having compilation error when calling copy_graph.
> > The compilation error is regarding vertex_all for default copy of
> vertices.
> > Where can I find info regarding this property and how to resolve the
> issue?
>
> What graph type are you using? If it is custom, you might have an easier
> time passing in your own vertex and edge copying functions, which avoids
> the need to have vertex_all or edge_all properties. See
> <URL:http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/copy_graph.html>
> for information on those parameters.
>
> -- Jeremiah Willcock

I don't understand what is custom graph but my graph definition is:

typedef boost::adjacency_list<boost::listS //container
class of the edges.
                                                         ,boost::vecS
                                                         ,boost::bidirectionalS
                                                         ,MCVertexProp
                                                         ,boost::property<boost::edge_weight_t,MCEdgeWeight>s
                                                         ,MCGraphProp>

  MCBaseGraph;

do i need to declare vertex_all as property and if so what is its type?



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