Boost logo

Boost Users :

From: Daniel Mitchell (danmitchell_at_[hidden])
Date: 2006-07-18 12:40:16


> 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