There is a problem in the current version it seems impossible to increase the number of Agent.
Right now it set to 800 in createAgents(800); however we shoudl be able to play with the numebr of agent easily. Right now it produces a weird error in CalcRoute()
There is a problem in the current version it seems impossible to increase the number of Agent.
Right now it set to 800 in createAgents(800); however we shoudl be able to play with the numebr of agent easily. Right now it produces a weird error in CalcRoute()
ArrayList newPath = map.graph.aStar(srcNode, destNode);
Step to reproduce: