Calculate the water flows in a complex graph network with Reservoirs, Pumping Stations and Delivery Sites
If the project is being run in the CLion terminal, make sure the option "Emulate terminal in output console" is enabled in the Run/Debug configurations. This is necessary for capturing inputs for our program.
Custom Datasets can be used in the project. To use them follow these instructions:
- Put the files in a folder named "dataset" in the main project directory according to the following rules:
- The Reservoir file should be named "Reservoir.csv"
- The Stations file should be named "Stations.csv"
- The Cities file should be named "Cities.csv"
- The Pipes file should be named "Pipes.csv"
- The overall structure of the CSV files should be the same as the ones in the other dataset
- When starting the program, select the option
[3]
in the menu to load a custom dataset
The structure should be like:
$ tree dataset/
dataset
├── Cities.csv
├── Pipes.csv
├── Reservoir.csv
└── Stations.csv
Class: 2LEIC15 Group: G02
Final Grade: 20.0
Created in March 2024 for DA (Desenho de Algoritmos) [FEUP-L.EIC016]