BGL question: edge order

10 May
2005
10 May
'05
2:56 a.m.
Hello, in order to store planar graphs, I am wondering if the graph classes of the BGL allow to enforce an order of the edges which are adjacent to a vertex. Also is it possible to add an edge between two edges. andreas

18 May
18 May
8:20 p.m.
On May 10, 2005, at 3:56 AM, Andreas Fabri wrote:
in order to store planar graphs, I am wondering if the graph classes of the BGL allow to enforce an order of the edges which are adjacent to a vertex.
Also is it possible to add an edge between two edges.
Unfortunately, the answer to both of these is currently "no". If you use an adjacency_list with EdgeListS=vecS or EdgeListS=listS, then the edges will always be stored in the order they were added. Doug
7336
Age (days ago)
7345
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andreas Fabri
-
Douglas Gregor