|
Boost Users : |
Subject: Re: [Boost-users] How to convert graphtraits<Graph>::in_edge to graphtraits<Graph>::edge
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2009-03-24 21:23:13
> The same code is working fine if i use
>
> boost::target(*iedge_s,g) or boost::source(*iedge_s,g);
>
That's because these functions return a vertex_descriptor.
my Graph is :
>> *typedef
>> boost::adjacency_list<boost::listS,boost::listS,boost::bidirectionalS,
>> EdgeProperties *> Graph;
>> *
>
>
Your graph doesn't seem to have edge properties. The EdgeProprties* type
appears to be substituted for the VertexProperties parameter, not
EdgeProperties.
Andrew Sutton
andrew.n.sutton_at_[hidden]
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