An Interactive Application for Learning and Analyzing Different Graph Vertex Cover Algorithms

Authors

DOI:

https://doi.org/10.3991/ijep.v13i1.35661

Keywords:

graph theory, vertex cover problem, heuristic algorithms

Abstract


This paper deals with an analysis of three algorithms for the graph vertex cover problem. Certain methods for solving this problem are analyzed. In addition, different studies on the problem and some approaches to its solution are discussed as well. An exact algorithm (based on the backtracking approach) is presented. Calculating the average time for execution of this algorithm is consistent with the multitasking way of work of the operating system. For this purpose, four different starts of the algorithm are made and then the average time of all of them is calculated. The exact algorithm found the optimal solutions for all analyzed graphs. Besides this algorithm, two other heuristic algorithms for solving the problem are discussed. For this study, an interactive application is developed to visualize the performance of the three algorithms and display the obtained results. The results show that for small graphs with no more than 25 vertices the exact algorithm can be used to solve optimally the graph vertex cover problem. For the largest graphs, none of the two heuristic algorithms found the optimal solutions, but these algorithms generated solutions that are very close to the optimal ones. In summary, when the size of the graph increases linearly, the execution time of the heuristic algorithms increases linearly, while the execution time of the exact algorithm increases exponentially.

Author Biographies

Velin Kralev, Departement of Informatics, South-West University "Neofit Rilski", Blagoevgrad, Bulgaria

Velin Kralev is an associate professor of Computer Science at the Faculty of Mathematics and Natural Sciences, South-West University, Blagoevgrad, Bulgaria. He defended his Ph.D. Thesis in 2010. His research interests include database systems development, optimization problems of the scheduling theory, graph theory, and component-oriented software engineering.

Radoslava Kraleva, Departement of Informatics, South-West University "Neofit Rilski", Blagoevgrad, Bulgaria

Radoslava Kraleva is an associate professor of Computer Science at the Faculty of Mathematics and Natural Sciences, South-West University, Blagoevgrad, Bulgaria. She defended her Ph.D. Thesis in 2014. Her research interests include child-computer interaction, speech recognition, mobile app development, and computer graphic. She is a reviewer of iJET, “International Journal on Advanced Science, Engineering and Information Technology”, and many others (e-mail: rady_kraleva@swu.bg).

Viktor Ankov, Departement of Informatics, South-West University "Neofit Rilski", Blagoevgrad, Bulgaria

Viktor Ankov received an M.Sc. degree in Computer Science from the South-West University, Blagoevgrad, Bulgaria in 2021. He is a Ph.D. student of Computer Science at the Faculty of Mathematics and Natural Sciences, South-West University, Bulgaria. His research interests include graph theory and optimization problems.

Downloads

Published

2023-02-16

How to Cite

Kralev, V., Kraleva, R., & Ankov, V. (2023). An Interactive Application for Learning and Analyzing Different Graph Vertex Cover Algorithms. International Journal of Engineering Pedagogy (iJEP), 13(1), pp. 4–19. https://doi.org/10.3991/ijep.v13i1.35661

Issue

Section

Papers