In the example given in Veins' example scenario in Erlangen city when the accident occurs do other vehicle choose a different path after for the duration of the accident? If yes, how does this dynamic routing take place???
Yes, vehicles take other routes due to the accident to avoid the following traffic jam. That is the whole point of informing other vehicles about the accident using IVC here.
Regarding rerouting see TraCIDemo11p.cc (l. 48) and TraCICommandInterface.cc (l. 138).
Edit: See this post for more information.
来源:https://stackoverflow.com/questions/42781147/regarding-dynamic-routing-in-veins