Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ant Colony - CPU implementation #2

Open
Maelstro opened this issue Mar 17, 2021 · 1 comment · Fixed by #4
Open

Ant Colony - CPU implementation #2

Maelstro opened this issue Mar 17, 2021 · 1 comment · Fixed by #4
Assignees
Labels

Comments

@Maelstro
Copy link
Owner

Implement Ant Colony algorithm in Python, without using Cython/CUDA

@awojasinski-private awojasinski-private linked a pull request Mar 22, 2021 that will close this issue
@Maelstro
Copy link
Owner Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants