fwiw an explicit flow file seems to allow non-contiguous edges to be specified. 
But it does not seem to constrain the intermediate edges which are included in 
the routes. That is, routes are generated which also omit the explicit 
intermediate edge.

If all edges are specified in the flow file then the route seems to be 
constrained to those.

- Tom

> On Dec 15, 2015, at 12:04 AM, Titus Rakkesh <[email protected]> wrote:
> 
> Thanks Jakob. But my requirement is different. I do not want to influence
> arrival and departure edges. I need the specified edges "some where" in the
> generated routes.
> 
> For example if the generated route contains 10 edges, I need these
> specified ones(in raju.via.xml) to be among that edges.
> 
> Thanks,
> Rakkesh
> 
> On Tue, Dec 15, 2015 at 1:14 PM, Jakob Erdmann <[email protected]>
> wrote:
> 
>> Hello,
>> call
>> python randomTrips.py -n Colombo_Small.net.xml
>> --trip-attributes="type=\"myType\"" --additional-file type.add.xml --vclass
>> passenger -r raju.rou.xml -e 5 -l --weights-prefix raju
>> 
>> If you want to influence arrival and departure edge probabilities make
>> sure the files
>> raju.src.xml and raju.sink.xml exist.
>> 
>> 2015-12-15 2:44 GMT+01:00 Titus Rakkesh <[email protected]>:
>> 
>>> Dear Friends,
>>>       I am using SUMO version 0.24. I want to use randomTrips.py to
>>> generate random trips customized with weighted via edges file. This is my
>>> prefix weight file,
>>> 
>>> <edgedata>
>>>    <interval begin="0" end="3000">
>>>        <edge id="48796599" value="9.77"/>
>>>        <edge id="51193421#4" value="32.92"/>
>>>        <edge id="24791500#5" value="21.62"/>
>>>        <edge id="13758914#1" value="32.78"/>
>>>        <edge id="194099559" value="33.95"/>
>>>        <edge id="51193421#3" value="15.16"/>
>>>    </interval>
>>> </edgedata>
>>> 
>>> and generated  trips and routes files using,
>>> 
>>> python randomTrips.py -n Colombo_Small.net.xml --trip
>>> attributes="type=\"myType\"" --additional-file type.add.xml --vclass
>>> passenger -e 5 -l --weights-prefix raju.via.xml
>>> 
>>> python randomTrips.py -n Colombo_Small.net.xml
>>> --trip-attributes="type=\"myType\"" --additional-file type.add.xml
>>> --vclass
>>> passenger -r raju.rou.xml -e 5 -l --weights-prefix raju.via.xml
>>> 
>>> But generated route files does not have the edges specified through
>>> "prefix" file. Am I missing anything? Please help.
>>> 
>>> Thanks,
>>> Titus
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>> 
>> 
>> 
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to