Yes, I already tried the
--binomial and understand how it works. But because I need to create flow instead of trips, I have to use --flow option.
I need to create files, with a certain number of flows, fromJunction toJunction, each with the probability of 0.5.
The command line I use is
python myRandomTrips.py -n eichstaett.net.xml -o ./Trips$j/RoutingSim$i.rou.xml --random true -b 0 -e 500 --binomial --flow $j --junction-taz true
how should I fix it to have something like this?
<flow id="0#0" begin="0" end="500" probability="0.5" fromJunction="1223" toJunction="2034"/>
<flow id="1" begin="0" end="500" probability="
0.5
" fromJunction="1232" toJunction="1839"/>
<flow id="2" begin="0" end="500" probability="
0.5
" fromJunction="1496" toJunction="2294"/>
<flow id="3" begin="0" end="500" probability="
0.5
" fromJunction="909" toJunction="1232"/>
<flow id="4" begin="0" end="500" probability="
0.5
" fromJunction="1520" toJunction="2097"/>
<flow id="5" begin="0" end="500" probability="
0.5
" fromJunction="2160" toJunction="1979"/>
<flow id="6" begin="0" end="500" probability="
0.5
" fromJunction="1348" toJunction="1438"/>
<flow id="7" begin="0" end="500" probability="
0.5
" fromJunction="1341" toJunction="785"/>
<flow id="8" begin="0" end="500" probability="
0.5
" fromJunction="461" toJunction="2284"/>
<flow id="9" begin="0" end="500" probability="
0.5
" fromJunction="1801" toJunction="2284"/>