Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Sumolib : Find Alternate routes and route wise total length

Dear Listing,

I am using Sumolib. [Converted net file to graph]. 

My question : How to get the list of the alternate possible routes from Source node to destination node.

Moreover this i need to know the total length of the edges [edge.getLength()] for each routes,source to Destination. [So that i can identify that the route which i am getting through my algorithm, is shortest or not]

For example Output for Source node: 2 to  Destination node:9 should look like this :

2-3-8-9 : Total Length = 400mtr
2-4-5-3-9 :Total Length = 300mtr Etc..

Please help me to get this information out of the graph.

--
:)
Bijal Varia

Back to the top