Hi,

I would like to ask, if I would like to enforce different weight at
different period of the simulation is my below implementation correct?

Call method* setEffort*(self, edgeID, effort, begin=None, end=None).

If I apply the following;
setEffort(edge_1, 200, 10, 20)
setEffort(edge_1, 100, 50, 60)

During time step 10 - 20(inclusive), the weight of "edge_1" will be 200.
During time step 50 - 60(inclusive), the weight of "edge_1" will be 100.
In other time step, other than 10-20 & 50-60, the weight will be the
default weight, which is traveltime.

Is my understanding correct?

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

Reply via email to