IncEdgeIt goes through on loop edges twice.
8 #include <all_include.h>
10 #include <lemon/kruskal.h>
11 #include <libgnomecanvasmm.h>
12 #include <libgnomecanvasmm/polygon.h>
14 ///Graphical interface to run Kruskal algorithm.
16 ///Child of \ref AlgoBox,
17 ///therefore the only task to do at implementation was to
19 ///-call init function with correct parameters from correctly parametrized constructor
21 ///-implement \ref build_box function
23 ///-implement \ref run function
24 class KruskalBox : public AlgoBox
26 ///Shows result of Kruskal algorithm
27 Gtk::Label resultlabel;
30 ///Calls \ref AlgoBox::init function to initialize class properly, automatically.
31 KruskalBox(std::vector<std::string> t);
33 ///Prepare, run and postprocess Kruskal algorithm.
35 ///\ref glemon works only with maps filled with double values
36 ///at the moment. While Kruskal nedds a bool map as output.
37 ///As postprocess this bool map should be transformed to
41 ///Builds the graphical design of the interface.