vlarmet / cppRouting

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

Uniform params for get_multi_paths #15

Open latot opened 1 year ago

latot commented 1 year ago

Hi all, I think wouldbe great, just to have an easier way to use the functions, adjust the params of get_multi_paths for the same as the others.

get_multi_paths<-function(Graph, from ,to ,keep=NULL, long=FALSE)

Ideally add the algorithm param, with the one that supports: get_multi_paths<-function(Graph, from ,to ,keep=NULL, long=FALSE, algorithm = "Dijkstra")

Thx!

vlarmet commented 1 year ago

Hi ! Well why not, but for this function there is only one available algorithm...