lp:~jameinel/+junk/ants-2011-go

Created by John A Meinel and last modified
Get this branch:
bzr branch lp:~jameinel/+junk/ants-2011-go
Only John A Meinel can upload to this branch. If you are John A Meinel please log in for upload directions.

Related bugs

Related blueprints

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.

26. By John A Meinel

Start using the new description => map for the test.

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.

22. By John A Meinel

Create a function to convert two locations into a movement direction.

21. By John A Meinel

Make the BFS track source pointers, so we can walk backwards to them.

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.

18. By John A Meinel

Comment about switching implementation.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers