eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.38k stars 1.37k forks source link

viaProbReroute fails for jupedsim pedestrian routing with multiple (sequential) rerouters #14685

Open RNippold opened 3 months ago

RNippold commented 3 months ago

Influencing JuPedSim pedestrian flows via multiple waypoints in the form of rerouter definitions with 'viaProbReroute' to assign more than one intermediate waypoints fails. These (2nd, 3rd, 4th ...) waypoints are only taken into account when assigning a new route that contains these waypoints with 'routeProbReroute'.

OS: windows, linux

Version: v1.19.0+1728

RNippold commented 2 months ago

Additionally, I figured out that the first intermediate waypoint in a new route assigned with the 'routeProbReroute' method (e.g. waypoint_1) is neglected. If another waypoint (e.g. waypoint_0) is inserted before waypoint_1, then the same waypoint_1 is taken into account, while waypoint_0 is neglected.

RNippold commented 2 months ago

Another point I figured out: when using the 'routeProbReroute' method the simulation crashes (seg fault) when the first person reaches the final edge - regardless if there is a vanishing area defined or not. Without rerouting everything works as expected.