📜  柠檬遍历图中的所有弧 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:07.277000             🧑  作者: Mango

代码示例1
std::cout << "Edges:";
  for (EdgeIt i(g); i!=INVALID; ++i)
    std::cout << " (" << g.id(g.u(i)) << "," << g.id(g.v(i)) << ")";