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?

Thanks.