Details

Implementacija in analiza algoritmov za problem maksimalnega pretoka v grafih
ID Primožič, Sašo (Author), ID Dobravec, Tomaž (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (1,41 MB)
MD5: 3321047A00C931155AC6BE24ECF6FCA7

Abstract
V diplomski nalogi obravnavamo problem maksimalnega pretoka v grafih, ki ima pomembno vlogo pri reševanju številnih optimizacijskih nalog. Predstavljena je rešitev, ki vključuje implementacijo in analizo učinkovitosti znanih algoritmov za iskanje maksimalnega pretoka: Ford-Fulkersonov algoritem, Edmonds-Karpov algoritem, Dinitzov algoritem in različice algoritma tipa potisni–povišaj. Za potrebe testiranja smo ustvarili različne vhodne primere, ki vključujejo naključne grafe, redke in goste grafe, grafe z različno porazdeljenimi kapacitetami povezav ter različne topologije. Dodatno smo uporabili tudi realne probleme iz nabora DIMACS, kot so primeri s področja superločljivosti in dekonvolucije tekstur. Testiranje in primerjavo algoritmov smo izvedli s pomočjo sistema ALGator, ki omogoča učinkovito in ponovljivo izvajanje eksperimentov. Rezultati s pomočjo tabel in grafov prikazujejo časovno zahtevnost, število posameznih operacij, stabilnost in splošno učinkovitost posameznih algoritmov. Ugotovili smo, da na učinkovitost algoritmov bistveno vplivajo značilnosti vhodnih podatkov. Pri kompleksnejših problemih se starejši algoritmi, kot sta Ford-Fulkersonov algoritem in Edmonds-Karpov algoritem, izkažejo kot neučinkoviti. Naprednejši algoritmi, kot so Dinitzov algoritem in algoritmi družine potisni–povišaj, dosegajo bistveno boljše rezultate.

Language:Slovenian
Keywords:maksimalni pretok, usmerjeni grafi, algoritmi, analiza učinkovitosti, kompleksnost algoritmov, testni primeri, ALGator, DIMACS, topologija grafa, kapacitete povezav
Work type:Bachelor thesis/paper
Typology:2.11 - Undergraduate Thesis
Organization:FRI - Faculty of Computer and Information Science
Year:2025
PID:20.500.12556/RUL-175856 This link opens in a new window
COBISS.SI-ID:259892739 This link opens in a new window
Publication date in RUL:11.11.2025
Views:546
Downloads:161
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Analysis and implementation of algorithms for the maximum flow problem in graphs
Abstract:
In this thesis, we address the maximum flow problem in graphs, which plays an important role in solving numerous optimization tasks. We present a solution that includes the implementation and performance analysis of well known algorithms for finding the maximum flow: the Ford–Fulkerson algorithm, the Edmonds–Karp algorithm, Dinic’s (Dinitz’s) algorithm, and variants of the push–relabel algorithm. For testing purposes, we created various input instances, including random graphs, sparse and dense graphs, graphs with differently distributed edge capacities, and different topologies. Additionally, we used real problems from the DIMACS benchmark set, such as cases from the domains of super-resolution and texture deconvolution. The testing and comparison of the algorithms were carried out using the ALGator system, which enables efficient and reproducible execution of experiments. The results, presented with tables and charts, show the time complexity, the number of individual operations, stability, and the overall efficiency of the individual algorithms. We found that the characteristics of the input data significantly affect algorithm performance. For more complex problems, older algorithms such as Ford–Fulkerson and Edmonds–Karp prove inefficient, while more advanced algorithms, such as Dinitz’s algorithm and the push–relabel family, achieve significantly better results.

Keywords:maximum flow, directed graphs, algorithms, efficiency analysis, algorithm complexity, test cases, ALGator, DIMACS, graph topology, edge capacities

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back