diff -r a979fcdda073 -r 8e27998e9b1d gui/kruskalbox.h --- a/gui/kruskalbox.h Wed Jun 21 08:35:23 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -// -*- C++ -*- // - -#ifndef KRUSKALBOX_H -#define KRUSKALBOX_H - -class KruskalBox; - -#include -#include -#include -#include -#include - -///Graphical interface to run Kruskal algorithm. - -///Child of \ref AlgoBox, -///therefore the only task to do at implementation was to -/// -///-call init function with correct parameters from correctly parametrized constructor -/// -///-implement \ref build_box function -/// -///-implement \ref run function -class KruskalBox : public AlgoBox -{ - ///Shows result of Kruskal algorithm - Gtk::Label resultlabel; - -public: - ///Calls \ref AlgoBox::init function to initialize class properly, automatically. - KruskalBox(std::vector t); - - ///Prepare, run and postprocess Kruskal algorithm. - - ///\ref glemon works only with maps filled with double values - ///at the moment. While Kruskal nedds a bool map as output. - ///As postprocess this bool map should be transformed to - ///double map. - void run(); - - ///Builds the graphical design of the interface. - void build_box(); -}; -#endif //KRUSKALBOX_H