Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Calculate routes dynamically by POIs

Hello,
the <trip> element supports attribute 'via' to specify a list of intermediate edges that must be used between 'from' and 'to'-edge. See http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Incomplete_Routes_.28trips_and_flows.29
regards,
Jakob

Am Di., 6. Nov. 2018 um 14:04 Uhr schrieb Alex Cerioni <cerio_alex@xxxxxxxxxx>:
Hello everyone,
I am interested on building a scenario where vehicles route from a specific Point of Interest to another with a percentage, to define a sort of daily routine.
For example a vehicle can have 5 POIs : "HOME", "WORK", "MARKET", "GYM", "RESTAURANT".
The routine for this vehicle is departing from "HOME" to "WORK", parking at "WORK" for a time and than decide randomly the next POI to travel to, parking there and repeating this until he returns back to "HOME".
I suppose the dynamic random decision can be made with TraCI, but in the beginning I would like to know if there is a way to define a specific route for a vehicle specifying a list of POIs (maybe in a different file) where the route must go through.

Best regards!
AC
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top