Thanks for the reply.

Here are the commands that I am using:

traci.edge.setEffort=[ED,ITT]
print "effort", traci.edge.getEffort(ED,0)

traci.edge.adaptTraveltime=[ED,ITT]
print "Adapted travel time is ", traci.edge.getAdaptedTraveltime(ED,0)

Thanks,
Arezoo


On Mon, Jul 25, 2016 at 1:52 AM, Jakob Erdmann <[email protected]>
wrote:

> It is working in our tests. What are the exact commands you sent?
>
> 2016-07-21 19:14 GMT+02:00 Arezoo Samimi <[email protected]>:
>
>> Hello,
>>
>> I'm using Traci for rerouting. I have tried to use the setEffort and
>> adaptTraveltime commands to assign travel time to the network edges.
>>
>> The effort values for all edges would be returned -1.0 if I call
>> getAdpatedTraveltime and getEffort functions.
>>
>> Does anyone know why I get this result?
>>
>> Thanks,
>> Arezoo
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols
>> are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning
>> reports.http://sdm.link/zohodev2dev
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to