- Add missing repository files (AUTHORS COPYING NEWS README). They need to
be filled with info.
- RPM support
8 #include <all_include.h>
10 #include <lemon/dijkstra.h>
11 #include <libgnomecanvasmm.h>
12 #include <libgnomecanvasmm/polygon.h>
14 ///Graphical interface to run Dijkstra 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 DijkstraBox : public AlgoBox
26 ///Shows result of Dijkstra algorithm
27 Gtk::Label resultlabel;
30 ///Table for nodeselector widgets
33 ///Combobox for select source node
34 Gtk::ComboBoxText source;
36 ///Combobox for select target node
37 Gtk::ComboBoxText target;
40 ///Calls \ref AlgoBox::init function to initialize class properly, automatically.
41 DijkstraBox(std::vector<std::string> t);
43 ///Prepare, run and postprocess Dijkstra algorithm.
45 ///\ref glemon works only with maps filled with double values
46 ///at the moment. While Dijkstra nedds a bool map as output.
47 ///As postprocess this bool map should be transformed to
51 ///Builds the graphical design of the interface.
54 void maplists_updated();
56 #endif //DIJKSTRABOX_H