lp:~jameinel/+junk/ants-2011-go
- Get this branch:
- bzr branch lp:~jameinel/+junk/ants-2011-go
Branch information
- Owner:
- John A Meinel
- Status:
- Development
Recent revisions
- 27. By John A Meinel
-
Found a bug, we weren't resetting the BFS between foods.
Which meant we were only really searching for the first food.
- 25. By John A Meinel
-
Start working on a function to take a map description and generate a Map object.
Turns out that FromSymbol had a bug. - 24. By John A Meinel
-
Sorting so we focus on close food seems to help.
Sometimes we still end up unable to find a path, even though there should be obvious ones nearby.
- 23. By John A Meinel
-
The search for food roughly works now.
It isn't spectacular, and it seems to fail when there are
more than one piece of food that an ant is close to, but
otherwise, I think we're doing ok. - 20. By John A Meinel
-
Cap the max distance to BFS search.
Fix the distance function which was being tested incorrectly.
- 19. By John A Meinel
-
Test that the food finding code finds the closest ant,
even when there is a closer ant as-the-crow-flies.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)