Boost logo

Boost Users :

From: kellygp (kellygp_at_[hidden])
Date: 2006-07-18 15:35:28


I use the edge descriptor as part of a string identifier and in this case:
"(u,v) " != "(v,u)"

Is there any way to access the m_property value.

Daniel Mitchell wrote:
>> How do I access the m_property value of an edge_descriptor.
>>
>> I'm using an undirected graph and I need to get a unique identifier for
>> each edge in the graph. The vertex pair I currently use for edges create
>> two possible identifiers for each edge, but the m_property value of
>> each edge appears unique only I cannot access it.
>
> Why wouldn't you use the edge descriptor itself as the unique identifier? It
> should be the case that (u,v) == (v,u).
>
> D.


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