Boost logo

Boost Users :

Subject: [Boost-users] [BGL] Converting between adjacency_list with listS and vecS
From: Ethan Kim (ethkim_at_[hidden])
Date: 2009-07-22 11:52:38


Hi all,

The long standing question I've had for BGL is how to easily convert a graph
(using adjacency_list) from listS as vertex list to vecS. (And vice versa) I
understand why there needs to be 2 different implementations depending on
different uses of algorithms. But is there an easy way to convert them back
and forth?

Any tip would be much appreciated.

Thanks,



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