| 1 | #include "boost/graph/adjacency_list.hpp"
|
|---|
| 2 |
|
|---|
| 3 | using namespace boost;
|
|---|
| 4 |
|
|---|
| 5 | int main(int argc, char** argv)
|
|---|
| 6 | {
|
|---|
| 7 | typedef property<vertex_index_t, boost::shared_ptr<int> > prop;
|
|---|
| 8 | typedef adjacency_list<vecS, vecS, directedS, prop> Graph;
|
|---|
| 9 |
|
|---|
| 10 | Graph g;
|
|---|
| 11 | boost::add_vertex(g);
|
|---|
| 12 |
|
|---|
| 13 | return 0;
|
|---|
| 14 | }
|
|---|