Ok, but the attribute 'via' requires a list of edges. Can that be done by defying a list of <poi> with specific x and y coordinates? Is there a script wich does that automatically instead of writing it by hand for each trip? Thank you. Regards, Alex ________________________________ Da: [email protected] <[email protected]> per conto di Jakob Erdmann <[email protected]> Inviato: martedì 6 novembre 2018 14:42 A: Sumo project User discussions Oggetto: 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 <[email protected]<mailto:[email protected]>>: 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 [email protected]<mailto:[email protected]> To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
