Hello Team,
I'm building a very heavy model with thousands of car agents moving around. This will become CPU and RAM intensive. I like to know how does GAMA calculate the shortest path ? I'm going to pick an example: Imagine there is an origin (A) and a destination (B). Also there are 3 separate paths from A to B each have different lengths. Does GAMA calculate all of the 3 different combinations then choose the shortest one or there is a heuristic in the background that wont go through all the paths and chooses the shortest one ? If you dont mind, I like to know which algorithm / heuristics is running on the back-end.
Also when I put this statement (compute_path(graph, target)) in my car agents (species) and the simulation step is 1 #sec what does that mean ? Is it like for every sec and every agent GAMA runs the shortest path heuristics algorithm and calculates the path ?
Is there anyway I can deactivate the shortest path algorithm to prevent mass CPU times ?
Thanks
Hossein
P.S. my background is Ops Research so feel free to give me technical advises.