Skip to content

Commit

Permalink
can now set routing mode with option. refs #13494
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 12, 2024
1 parent 069e576 commit cbcb2e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/microsim/devices/MSDevice_Routing.cpp
Expand Up @@ -74,6 +74,9 @@ MSDevice_Routing::insertOptions(OptionsCont& oc) {
oc.addSynonyme("device.rerouting.with-taz", "with-taz");
oc.addDescription("device.rerouting.with-taz", "Routing", TL("Use zones (districts) as routing start- and endpoints"));

oc.doRegister("device.rerouting.mode", new Option_String("0"));
oc.addDescription("device.rerouting.mode", "Routing", TL("Set routing flags (8 ignores temporary blockages)"));

oc.doRegister("device.rerouting.init-with-loaded-weights", new Option_Bool(false));
oc.addDescription("device.rerouting.init-with-loaded-weights", "Routing", TL("Use weight files given with option --weight-files for initializing edge weights"));

Expand Down

0 comments on commit cbcb2e8

Please sign in to comment.