equal
deleted
inserted
replaced
20 |
20 |
21 for (NodeIt i(g); i!=INVALID; ++i) |
21 for (NodeIt i(g); i!=INVALID; ++i) |
22 for (NodeIt j(g); j!=INVALID; ++j) |
22 for (NodeIt j(g); j!=INVALID; ++j) |
23 if (i != j) g.addEdge(i, j); |
23 if (i != j) g.addEdge(i, j); |
24 |
24 |
|
25 std::cout << "Hello World!" << std::endl; |
|
26 std::cout << std::endl; |
|
27 std::cout << "This is library LEMON here! We have a graph!" << std::endl; |
|
28 std::cout << std::endl; |
|
29 |
25 std::cout << "Nodes:"; |
30 std::cout << "Nodes:"; |
26 for (NodeIt i(g); i!=INVALID; ++i) |
31 for (NodeIt i(g); i!=INVALID; ++i) |
27 std::cout << " " << g.id(i); |
32 std::cout << " " << g.id(i); |
28 std::cout << std::endl; |
33 std::cout << std::endl; |
29 |
34 |