cppRouting icon indicating copy to clipboard operation
cppRouting copied to clipboard

Multiple auxiliary edge weights

Open JeremyGelb-ARTM-RVD opened this issue 1 year ago • 1 comments

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 avatar Apr 24 '24 20:04 JeremyGelb-ARTM-RVD

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 ?

JeremyGelb-ARTM-RVD avatar May 03 '24 20:05 JeremyGelb-ARTM-RVD