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