Boost logo

Boost Users :

Subject: Re: [Boost-users] your mail
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-06-05 11:09:29


On Tue, 5 Jun 2012, Avishay Ben Shabtai wrote:

> > 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?

The examples seem to suggest that vertex_all should be predefined, but I
may have broken that. Could you please send your full error message?

-- Jeremiah Willcock


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