with_shortestpath_algorithm

5 views
Skip to first unread message

Liu Yang

unread,
Aug 22, 2025, 3:13:27 AMAug 22
to GAMA

Dear GAMA Development Team,

I am currently working with the GAMA platform and noticed that the parameter with_optimizer_type has been replaced by with_shortestpath_algorithm. However, I could not find detailed documentation or examples showing how to use the new parameter.

Could you please clarify the following:

  1. What are the available algorithms that can be specified in with_shortestpath_algorithm (e.g., dijkstra, astar, bellman_ford, etc.)?

  2. What is the correct syntax for passing this parameter in the shortest_path function? For instance, should it be something like:

path p <- with_optimizer_type(aNetwork, "Dijkstra");
  1. Are there additional variable parameters or options that need to be set when using this new argument?

Thank you very much for your support and for the continuous development of GAMA.

Best regards,
Liu Yang

Reply all
Reply to author
Forward
0 new messages