Hello,
the priority is a static attribute of the network edges. When importing
from OpenStreetMap, the priority is defined according to the road
classification and the typemap:
https://github.com/eclipse/sumo/blob/master/data/typemap/osmNetconvert.typ.xml
You can load a different typemap to suite your needs and you can an edit
the edge priorities with Netedit.

regards,
Jakob

Am Di., 24. März 2020 um 18:31 Uhr schrieb Jane Cheung <
[email protected]>:

> Hi, Jakob. Thanks for your kindly reply!
> Could I ask one more question?
> How is the priority of the edges defined?  Is it the priority attribute
> in xxx.net.xml?
>
> Best!
>
> Lizzy
>
> On Tue, Mar 24, 2020 at 4:58 PM Jakob Erdmann <[email protected]>
> wrote:
>
>> Hello,
>> in the latest development  version you can use the duaIterate option
>> 'duarouter--weights.priority-factor X' where X is a positive number. This
>> will causes edges with low priority to receive a penalty that makes them
>> less likely to be used.
>> For details, see
>> https://sumo.dlr.de/docs/Simulation/Routing.html#routing_by_traveltime_and_edge_priority
>>
>> You can get the development version at
>> https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
>> regards,
>> Jakob
>>
>> Am Mo., 23. März 2020 um 07:36 Uhr schrieb Jane Cheung <
>> [email protected]>:
>>
>>> Dear  all,
>>>
>>> I have one question while I was using the  *duaIterate.py *to generate
>>> the routes in my simulation. I would like to improve the probability of
>>> some edges to be chosen in some routes generated. How could  I give more
>>> chances (like change the weight ) to some edges in one network while using
>>> duaIterate.py?
>>> any kindly help will be appreciated!
>>>
>>> Lizzy  Cheung
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to