Guest herbjorn Posted July 26, 2000 Posted July 26, 2000 Whenever a tank is given a command to move from A to B in a straight line, and that can`t be done, CM calculates an alternative path during the turn calculations. Could this be moved forward in the "turn process". That is, calculate once I am done plotting the line, thus enabling me to change it before hitting "end turn"? On a more technical note, are you using Dijkstra`s algorithm or the Bellman-Ford algorithm to perform these calculations, as I take it this is a single-pair shortest-path problem?
Recommended Posts