src/work/marci/bipartite_graph_wrapper_test.cc
changeset 1008 3fef334f5f37
parent 921 818510fa3d99
equal deleted inserted replaced
16:41f3f2a84287 17:041c367ad847
    85     cout << g.id(n) << " ";
    85     cout << g.id(n) << " ";
    86   cout << endl;
    86   cout << endl;
    87 
    87 
    88   cout << "Edges of the bipartite graph:" << endl;
    88   cout << "Edges of the bipartite graph:" << endl;
    89   for (BGW::EdgeIt e(bgw); e!=INVALID; ++e)
    89   for (BGW::EdgeIt e(bgw); e!=INVALID; ++e)
    90     cout << g.id(bgw.tail(e)) << "->" << g.id(bgw.head(e)) << endl;
    90     cout << g.id(bgw.source(e)) << "->" << g.id(bgw.target(e)) << endl;
    91 
    91 
    92   BGW::NodeMap<int> dbyj(bgw);
    92   BGW::NodeMap<int> dbyj(bgw);
    93   BGW::EdgeMap<int> dbyxcj(bgw);
    93   BGW::EdgeMap<int> dbyxcj(bgw);
    94 
    94 
    95 //   typedef stBipartiteGraphWrapper<BGW> stGW;
    95 //   typedef stBipartiteGraphWrapper<BGW> stGW;