equal
deleted
inserted
replaced
14 (edgemapcbts[INPUT])->get_active_text()!="" && |
14 (edgemapcbts[INPUT])->get_active_text()!="" && |
15 (edgemapcbts[OUTPUT])->get_active_text()!="" |
15 (edgemapcbts[OUTPUT])->get_active_text()!="" |
16 ) |
16 ) |
17 { |
17 { |
18 |
18 |
19 Graph g=mapstorage->graph; |
19 const Graph &g=mapstorage->graph; |
20 Graph::EdgeMap<double> * inputmap= |
20 Graph::EdgeMap<double> * inputmap= |
21 ((mapstorage->edgemap_storage)[(edgemapcbts[INPUT])->get_active_text()]); |
21 ((mapstorage->edgemap_storage)[(edgemapcbts[INPUT])->get_active_text()]); |
22 Graph::EdgeMap<bool> outputmap(g); |
22 Graph::EdgeMap<bool> outputmap(g); |
23 double res=kruskal(g, *inputmap, outputmap); |
23 double res=kruskal(g, *inputmap, outputmap); |
24 |
24 |