src/test/test_tools.h
changeset 1017 f588efc6d607
parent 978 175cf8c3a994
child 1164 80bb73097736
equal deleted inserted replaced
12:ee486f8eb66b 13:b9dd4af5754b
   103   std::vector<Edge> ee;
   103   std::vector<Edge> ee;
   104   
   104   
   105   for(EdgeIt e(G);e!=INVALID;++e) ee.push_back(e);
   105   for(EdgeIt e(G);e!=INVALID;++e) ee.push_back(e);
   106 
   106 
   107   for(typename std::vector<Edge>::iterator p=ee.begin();p!=ee.end();p++)
   107   for(typename std::vector<Edge>::iterator p=ee.begin();p!=ee.end();p++)
   108     G.addEdge(G.head(*p),G.tail(*p));
   108     G.addEdge(G.target(*p),G.source(*p));
   109 }
   109 }
   110 
   110 
   111 
   111 
   112 /// \brief Checks the bidirectioned Petersen graph.
   112 /// \brief Checks the bidirectioned Petersen graph.
   113 ///
   113 ///