I an currently researching on improving traffic conditions via adjusting the edge's weight
.
The issue currently is that when generating routes
via DUAROUTER
, it takes in a fixed weight
that remains constant throughout the whole routing generation.
How can I generate routes in a way such that I can adjust the weight
midway through the generation and DUAROUTER
should take in the new weight
to find the shortest path?
An rough idea of what I am trying to achieve;
Given that the initial weight
of the edge is its traveltime
, if the density is too high(which suggest congestion), I would like to dynamically increase the weight
to reflect it's 'true' traveltime