Skip to content

Good algorithmic project. Optimized graph and minimum-cost flow.

Notifications You must be signed in to change notification settings

maximilien-alt/CPE_lemin_2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lemin

Goal

The project : make a GPS for ants !
The goal is to make an algorithm that allows the ants to move between rooms and tunnels, at the end they have to be in the last room.
There has to be just one ant per tunnel and one ant per room, except the first one and the last one.

Understand the outputs

The standard binary display the number of the ant that move and where she moves :

Example :

P1-2 --> The first ant move to the room number two. P1-3 --> The first ant move to the room number three. ...

Program compilation and launch:

      make

To use it :

      ./lem_in < [file]

Example Map

3
##start
0 1 0
##end
1 13 0 #bedroom
2 5 0
# The next room is the kitchen
3 9 0
0-2
2-3
3-1

About

Good algorithmic project. Optimized graph and minimum-cost flow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published