Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Car routing

Hello,

Please, someone could indicate me the documentation where explain how cars make a decision when we just declare a flow?

For example:
I have the following declaration on my *.rou.xml file

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="normal car" vClass="passenger" maxSpeed="40" speedFactor="0.9" speedDev="0.2" sigma="0.5" color="1,0,0"/>
<flow id="normal" type="normal car" begin="0" probability="0.2" from="0/0to1/0" to="1/2to2/2"/>
</routes>

After a car is inserted on network, how it makes a decision for which edge/lane it should take in order to get the destination?

I read about weights, routing and randomness but nothing were clear enough.

Thanks.

--
Pedro J. Matuck

"The hardest battle lies within."

Back to the top