Several changes in Kruskal alg.
- Input object interface was changed to an STL compatible one.
- template parameters of class KruskalPairVec has been simplified.
- (the most of) the names meet the naming conventions.
- a lot of (but still not enough) documentation has been added.
- class KruskalMapVec has been commented out.
5 #include <sage_graph.h>
6 #include <hugo/for_each_macros.h>
12 typedef SageGraph Graph;
14 Graph::Node n1=g.addNode();
15 Graph::Node n2=g.addNode();
18 std::cout << g.id(n) << " ";
20 std::cout << std::endl;
21 FOR_EACH_LOC(Graph::NodeIt, m, g) {
22 std::cout << g.id(m) << " ";
24 std::cout << std::endl;