|
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?
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