From: Daniel K. <d.k...@go...> - 2010-05-26 10:05:10
|
Hello, please ask questions to the mailing list. SUMO has some options which force the route computation using the algorithm described in the paper. --device.routing.probability FLOAT The probability for a vehicle to have a routing device --device.routing.period INT The period with which the vehicle shall be rerouted --device.routing.adaptation-weight FLOAT The weight of prior edge weights. So, --device.routing.probability defines how many of the vehicles shall be routed using this algorithm (0-1, default: 0); --device.routing.period defines how often a new route should be computed (in s; default 0, only at the begin I think); --device.routing.adaptation-weight describes how the weights shall be updated. sincerely, Daniel 2010/5/18 林昀丘 <kum...@gm...> > Dear Naniel: > > How can i use SUMO to try the "one-shot" routing algorithm? > > 林昀丘 <kum...@gm...> 於 2010年5月17日下午5:39 寫道: > > Dear Daniel >> >> Thanks a lot for your responce >> >> Daniel Krajzewicz <d.k...@go...> 於 2010年5月17日下午4:59 寫道: >> >> Dear 林昀丘 (?), >>> >>> There are two possibilities to do it. The first is to hack SUMO directly. >>> We've done this to evaluate a "one-shot" routing algorithm which is >>> described in section 2.3 of the document you can find at >>> http://elib.dlr.de/55172/. Here, both gathering travel times, and >>> routing vehicles is implemented directly into SUMO as "devices", in >>> src/microsim/devices/MSDevice_Routing. >>> >>> But it is also possible to use the TraCI interface ( >>> http://sourceforge.net/apps/mediawiki/sumo/index.php?title=TraCI). You >>> can basically retrieve the information you need on-line, either from >>> vehicles (TraCI/Vehicle_Value_Retrieval), lanes >>> (TraCI/Lane_Value_Retrieval), or edges (TraCI/Edge_Value_Retrieval), compute >>> the weights of the edges by yourself, store them in SUMO >>> (TraCI/Change_Edge_State and TraCI/Change_Vehicle_State) and pose requests >>> to SUMO for computing the routes using this information >>> (TraCI/Change_Vehicle_State) - you can of course also compute the routes by >>> yourself and send them to SUMO directly. >>> >>> We are quite interested in vehicle route computation, so if you have any >>> ideas, or any interesting approaches, we would be very happy if we could >>> share them. >>> >>> sincerely, >>> Daniel >>> >>> >>> 2010/5/17 林昀丘 <kum...@gm...> >>> >>>> HI,all >>>> Can sumo use dynamic routing? >>>> >>>> It means i design a routing algorithm, and control the vehicles' >>>> routes according to my routing algorithm. >>>> >>>> Thus, if a car enter the network, the center control unit should tell it >>>> to choose which route according to traffic condition at that time. >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> sumo-user mailing list >>>> sum...@li... >>>> https://lists.sourceforge.net/lists/listinfo/sumo-user >>>> >>> >>> >> > |