COIN-OR::LEMON - Graph Library

Changeset 1896:92ef660710f1 in lemon-0.x for gui/kruskalbox.h


Ignore:
Timestamp:
01/14/06 14:42:37 (18 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2471
Message:

Documentation of classes realizing algorithm running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/kruskalbox.h

    r1879 r1896  
    1212#include <libgnomecanvasmm/polygon.h>
    1313
     14///Graphical interface to run Kruskal algorithm.
     15
     16///Child of \ref AlgoBox,
     17///therefore the only task to do at implementation was to
     18///
     19///-call init function with correct parameters from correctly parametrized constructor
     20///
     21///-implement \ref build_box function
     22///
     23///-implement \ref run function
    1424class KruskalBox : public AlgoBox
    1525{
     26  ///Shows result of Kruskal algorithm
    1627  Gtk::Label resultlabel;
    1728
    1829public:
     30  ///Calls \ref AlgoBox::init function to initialize class properly, automatically.
    1931  KruskalBox(std::vector<std::string> t);
    20    
     32
     33  ///Prepare, run and postprocess Kruskal algorithm.
     34
     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
     38  ///double map.
    2139  void run();
    22    
     40
     41  ///Builds the graphical design of the interface.
    2342  void build_box();
    2443};
Note: See TracChangeset for help on using the changeset viewer.