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.
3 #ifndef HUGO_CONTRACT_WRAPPER
4 #define HUGO_CONTRACT_WRAPPER
6 #include <graph_wrapper.h>
10 template<typename Graph>
11 class ConractWrapper : public GraphWrapper<const Graph> {
14 typedef typename Parent::NodeMap NodeMap;
18 typedef GraphWrapper<Graph> Parent;
21 UnionFindEnum<Node, NodeMap> parts;
25 ConractWrapper(const Graph& _graph) : Parent(_graph) { }