Boost logo

Boost Users :

Subject: [Boost-users] transform from std::vector<std::vector<int> > type to boost::adjacency_list< >
From: Pablo Fleurquin (pablofleurquin_at_[hidden])
Date: 2011-09-30 03:05:48

I have an adjacency list, representing a directed graph, written in
standard c++ format using vector: *vector<vector<int> >* I want to
tranform it to boost *adjacency_list< >* format and then back to
*vector<vector<int> >*.

Which is the simplest way to do it?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at