1.1 --- a/gui/kruskalbox.h Wed Jun 21 08:35:23 2006 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,44 +0,0 @@
1.4 -// -*- C++ -*- //
1.5 -
1.6 -#ifndef KRUSKALBOX_H
1.7 -#define KRUSKALBOX_H
1.8 -
1.9 -class KruskalBox;
1.10 -
1.11 -#include <all_include.h>
1.12 -#include <algobox.h>
1.13 -#include <lemon/kruskal.h>
1.14 -#include <libgnomecanvasmm.h>
1.15 -#include <libgnomecanvasmm/polygon.h>
1.16 -
1.17 -///Graphical interface to run Kruskal algorithm.
1.18 -
1.19 -///Child of \ref AlgoBox,
1.20 -///therefore the only task to do at implementation was to
1.21 -///
1.22 -///-call init function with correct parameters from correctly parametrized constructor
1.23 -///
1.24 -///-implement \ref build_box function
1.25 -///
1.26 -///-implement \ref run function
1.27 -class KruskalBox : public AlgoBox
1.28 -{
1.29 - ///Shows result of Kruskal algorithm
1.30 - Gtk::Label resultlabel;
1.31 -
1.32 -public:
1.33 - ///Calls \ref AlgoBox::init function to initialize class properly, automatically.
1.34 - KruskalBox(std::vector<std::string> t);
1.35 -
1.36 - ///Prepare, run and postprocess Kruskal algorithm.
1.37 -
1.38 - ///\ref glemon works only with maps filled with double values
1.39 - ///at the moment. While Kruskal nedds a bool map as output.
1.40 - ///As postprocess this bool map should be transformed to
1.41 - ///double map.
1.42 - void run();
1.43 -
1.44 - ///Builds the graphical design of the interface.
1.45 - void build_box();
1.46 -};
1.47 -#endif //KRUSKALBOX_H