Hello, The function rerouteTravelTime use the time values from edge.getTraveltime() and this is based on the average vehicle speed at that time. (no smoothing of past fluctuations and no extrapolation into the future). Various smoothing options are available when using the rerouting device (but also no extrapolation into the future): http://sumo.dlr.de/wiki/Demand/Automatic_Routing
regards, Jakob 2018-04-17 19:10 GMT+02:00 Jonathan Harper via sumo-user < [email protected]>: > Hi there, > > More of a generic question – when rerouting a vehicle with > vehicle.rerouteTraveltime(), does the vehicle account for traffic as it > currently stands or traffic that it estimates will be there once the > vehicle reaches the point of congestion? E.g. say a vehicle has 2 possible > paths it can lead down, path 1 is congested at the moment but by the time > the vehicle reaches it the congestion should have cleared, path 2 is not > congested whatsoever, however, by the time the vehicle reaches it the path > will be fully congested. In this case the vehicle should take path 1 given > these future conditions. > > Does SUMO do this automatically or only reroute based on the exact current > road conditions? If it does, is there any documentation you know of > regarding this? > > Kind regards, > Jonathan > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
