This repository contains scripts for the Algorithm and Data Structures Practical Work 2.
Tecnicatura Universitaria en Procesamiento y Explotación de Datos, Facultad de Ingeniería UNER. Brehm, Ré. 2022
Emergency Room Management using a minimum binary heap structure. Patients are prioritized and served based on their critical risk level, with earliest arrivals attended first in case of identical risk levels. Complexity for insertion and removal: Avg: O(log n), Best: O(1), Worst: O(log n).
main.py
: Emergency room app.monticulo_binario.py
: Minimum binary heap structure.paciente.py
: Emergency room patient class.
The temperature database exercise employs an AVL tree, ensuring efficient storage and retrieval of temperature records through self-balancing properties.
AVL.py
: Contains the AVL Data Structure.Temperaturas_DB.py
: Implements a class for managing temperatures using the AVL data structure.test_Temperaturas_DB.py
: Tests the temperature management class.
Involves loading data into a graph, using a modified Dijkstra's algorithm with priority queues to determine the route with the highest load capacity and lowest cost from the initial city to the destination city.
main.py
: Main application for city selectionprocesamiento.py
: Routes file processing and use of graph data structure and dijkstra's algorithm.rutas.txt
: Routes file.algoritmos_dijkstra.py
: Dijkstra's algorithms.cola_prioridad.py
: Implements two priority queue classes, one based on a Max Heap and the other on a Min Heap.grafo.py
: Graph Data Structure.