Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Compute quickest path between two points

Yes: traci.simulation.findRoute (https://sumo.dlr.de/wiki/TraCI/Simulation_Value_Retrieval).
traveltime is stored in the 'cost' attribute of the returned Stage object. The result object also gives distance and list of edges.
See also https://sumo.dlr.de/wiki/Simulation/Routing#Travel-time_values_for_routing



Am Mi., 14. Aug. 2019 um 10:32 Uhr schrieb Paolo Bolzoni <paolo.bolzoni.brown@xxxxxxxxx>:
Dear list,

I am using Sumo to simulate logistics; virtual garbage trucks need to
pick the trash, move to the next bin, repeat few times, and finally go
back to base.

To compute the optimal path is solving the team orienteering problem and
in the literature are many algorithms. In my scenario probably even just
a greedy approach would be sufficient.
However, I need to compute the expected distance between each pair of
bins.

So here is my question, given a type of vehicle is there a way to use
Sumo to compute the expected travel time between two points (two
container stops) in the map?

Yours faithfully,
Paolo
_______________________________________________
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