vlarmet / cppRouting

Algorithms for Routing and Solving the Traffic Assignment Problem
109 stars 9 forks source link

Multiple auxiliary edge weights #23

Open JeremyGelb-ARTM-RVD opened 6 months ago

JeremyGelb-ARTM-RVD commented 6 months ago

Thank you for this incredible work !

I would like to know if it could be possible to have simultaneously multiple auxiliary edge weights. It could be passed to the function makegraph as a matrix for example.

This would be very helpfull because we would not have to recalculate several times the same itineraries when we have multiple auxiliary edge weights.

All the best !

JeremyGelb-ARTM-RVD commented 6 months ago

Also, I realized that to have the cumulated auxiliary weight values, it is necessary to recalculate the distance matrix. Could the function get_distance_matrix produce a list with two matrices ? One with obtained with the sum of the weights and the second with the sum of the auxiliary values ?