1) If a step provides data, the further steps are not used 2) on-shot.py uses automatic routing so there is no difference. (Except that the one-shot.py script can be used to try several values for device.rerouting.period in sequence). 3) The easiest way is to take on of the existing routing algorithms and modify its code (src/utils/router). If you want to add another routing algorithm without replacing an existing one, you need to find all the places in the code where options are used to switch the routing algorithm. (look for "routing-algorithm" including the quotes).
regards, Jakob Am Fr., 16. Aug. 2019 um 18:09 Uhr schrieb Raheleh Zarei < [email protected]>: > Hello SUMO > > > I am studying SUMO and I faced several questions. I would appreciate if > you help me with following questions. > > > > In https://sumo.dlr.de/wiki/Simulation/Routing , and in Routing Mode > traci.constants.ROUTING_MODE_DEFAULT section, four steps mentioned for > calculating travel time. Does all this steps will be taken in SUMO to > calculate travel time, or if it calculates it in first step, in never > checks the three other steps? > > > > What is the difference between automatic routing and using Duarouter in > on-shot.py?which one is better? > > > > How can I define a new routing algorithm in SUMO or modify the existing > routing algorithm such as Dijkstra and astar? > > > > Thanks > > Raheleh > -- > *RAZ* > _______________________________________________ > 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 >
_______________________________________________ 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
