Algorithms I Project
based on the this traversal method: https://www.geeksforgeeks.org/iterative-depth-first-traversal/
- This project is about analyzing a unique input with a variable number of ants and helps the colony navigate from the start of a maze to the end.
- The solver is multi-pathed, iterative, and weighted for distance.
- It doesn't forget about avoiding traffic jams as well as walking all over their fellow ants
- all ants start in
##start room, - lines starting with
##are commands modifying the line that comes right after, ##startsignals the ant farm’s entrance and##endits exit,#means comment till the end of the line,- all unknown commands are ignored,
- non compliant or empty lines will stop the ant farm’s reading,
- each room can contain only one ant at a time (excluding
##startand##end).
Maps are stored in marking/
makeCompiles./Lem-inbinary./Lem-in < marking/map_nameRuns a selected map./Lem-inAllows user to type map directly into stdin
The output will be displayed in following format:
number_of_ants
the_rooms
the_links
L.ant_one-room_3 L.ant_two-room_2 L.ant_three-room_1 ...
Concepts tested:
- Algorithms (Depth-First-Search)
- Data Structures (Stacks, Graphs)


