You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found 2 major errors - almost all of the arrays were integer (and we're using floats XD), so one can guess, what was the output of thresholding 0.1.
Second error was about not checking, if the ant has already visited the pixel - it was simply going back and forth between two pixels.
To check: whether the pixel coordinates aren't mixed up - I think the XY coordinates may be swapped every step (it looked like that, when the travel path was not being checked).
Implement Ant Colony algorithm in Python, without using Cython/CUDA
The text was updated successfully, but these errors were encountered: