I use Siouxfalls network for simulation, and in run-time, I want to close the edge from node 19 to node 17 (which is named 19to17). To do this, I use additional file like this:
<rerouter id="rerout1" edges="19to17" probability="1.0">
<interval begin="300" end="1500">
<closingReroute id="19to17"/>
</interval>
</rerouter>
This rerouter does not make any change in vehicle movements and all vehicles used to pass 19to17, again pass it, but this time with just a warning. Next time, I add the following line after closingRoute to show the other routes that they can choose:
<destProbReroute id="19to15;15to10;10to17"/>
I have the warning for ';', so I separet it in three lines:
<destProbReroute id="19to15"/>
<destProbReroute id="15to10"/>
<destProbReroute id="10to17"/>
And again no change in the output results!
So, How does the rerouter work?
Thanks in advance
The (closing) rerouter needs two sets of edges one which gets closed and one where the vehicles get notified of the closure. It is not a good idea to let the notification edge be a closed edge because it is too late to find a new route if you are already on the closed edge.
The notification edges are the ones in the edges
attribute of the rerouter while the closed edge is the id
in the closingReroute
part. The first one should be upstream of the second.