Several changes. \n If new map is added to mapstorage it emits signal with the name of the new map. This was important, because from now on not only tha mapwin should be updated. \n Furthermore algobox gets a pointer to mapstorage instead of only the mapnames from it. This is important because without it it would be complicated to pass all of the required maps to algobox.
4 #include <lemon/list_graph.h>
14 typedef typename M::Key Key;
15 typedef lemon::xy<typename M::Value> Value;
17 XYMap(M &_xmap, M &_ymap) : xmap(&_xmap), ymap(&_ymap) {}
18 void setXMap(M &_xmap) { xmap = &_xmap; }
19 void setYMap(M &_ymap) { ymap = &_ymap; }
20 Value operator[](Key k) const
22 Value v(xmap->operator[](k), ymap->operator[](k));
25 void set(Key k, Value v)