COIN-OR::LEMON - Graph Library

Changeset 177:40f3006fba2e in glemon-0.x for gui_reader.cc


Ignore:
Timestamp:
10/30/06 15:57:48 (15 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3032
Message:

Redesign parameters can now be saved and loaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui_reader.cc

    r176 r177  
    6161      mapstorage->changeActiveMap(true, i, em[i]);
    6262    }
     63
     64  double attraction;
     65  double propulsation;
     66  int iteration;
     67
     68  x("redesign-attraction", attraction);
     69  x("redesign-propulsation", propulsation);
     70  x("redesign-iteration", iteration);
     71
     72  mapstorage->set_attraction(attraction);
     73  mapstorage->set_propulsation(propulsation);
     74  mapstorage->set_iteration(iteration);
     75
     76  mapstorage->redesign_data_changed();
    6377}
    6478
Note: See TracChangeset for help on using the changeset viewer.