project developed as an evaluation activity for the Graph Theory discipline at the Federal University of Alagoas.
- Dijkstra
- Prim
- Kosaraju
- Kruskal
- Floyd-Warshall
Each algorithm must pass a rigorous battery of tests, tests present in the "Bat1" folder, in addition to a second battery of tests, provided by the teacher in the classroom. The Floyd-Warshall algorithm in particular will undergo a battery of tests provided by myself, present in "BatMANN" folder, as part of the evaluation.
go to the folder where your "file.sh" is located and open the terminal in the folder, type the following command in the terminal:
chmod +x file.sh
Now you can run the file with the command ./file.sh in the terminal.
Each algorithm has a folder, named after the algorithm, and a Makefile.
- Makefile structure
each Makefile has 3 commands
make
The basic command, when giving this command the algorithm in the folder will be compiled and moved to the test folder, so that the test can be executed, be sure you moved every other archive to the test folder, before giving this command.
make run
This command will compile the algorithm and run a test, present in the "entrada.txt" file, after which the output will be stored in a file called "saida.txt" in the same folder as the algorithm.
make move
This command will compile the algorithm and move it to the test folder, "Bat1" or "BatMANN", depending on which algorithm folder you are in.
- Davi Vieira Lourenço Correia ✉️([email protected])
- Wellington Cezario dos Santos ✉️([email protected])