Ticket #5175: test.cpp
File test.cpp, 309 bytes (added by , 12 years ago) |
---|
Line | |
---|---|
1 | #include <boost/graph/adjacency_list.hpp> |
2 | #include <boost/graph/isomorphism.hpp> |
3 | #include <iostream> |
4 | int main() |
5 | { |
6 | using namespace boost; |
7 | |
8 | adjacency_list<vecS, vecS, undirectedS> g1(2), g2(2); |
9 | |
10 | add_edge(1, 0, g1); |
11 | add_edge(1, 0, g1); |
12 | |
13 | add_edge(0, 1, g2); |
14 | add_edge(1, 0, g2); |
15 | |
16 | isomorphism(g1, g2); |
17 | } |