Parallel Realization of the Algorithm of Construction of all Routes in a Graph by Means of Relational Algebra

Abstract

The paper describes a method of optimizing the algorithm for constructing all routes in a graph by means of relational algebra. The problem solved by the proposed method belongs to the class of NP-complete problems. This fact indicates the necessity of finding an effective solution to reduce the computational complexity of this problem. The sequential implementation of the algorithm is based on the method of route construction using the operation (1, 0)-inverted product of multidimensional matrices and is formalized in the concepts of relational algebra. The described algorithm, realized with the use of in memory technology, allows to perform operations directly on the keys of the initial data without preliminary reduction them to matrix form. In consequence of homomorphism of relational algebra and algebra of multidimensional matrices, which has a natural parallelism, there is a possibility to increase the efficiency of the algorithm by distributing data over several processors. The paper gives a proof of isomorphism of both algebras in the framework of the problem. The approach proposed in the article allows to perform parallel computations both on a local machine (allocation of separate threads for fragments of initial data) and to scale them on PCs united in a local network. The time required to construct all possible routes in a graph is chosen as an efficiency indicator of the proposed algorithm. The comparative analysis of sequential and parallel realizations of methods executed on one computer by means of relational database Microsoft SQL Server is given.

Author Biographies

Sergey Andreevich Morozov, Smolensk State University

Master degree student of the Faculty of Physics and Mathematics

Victor Iosifovich Munerman, Smolensk State University

Associate Professor of the Chair of Applied Mathematics and Informatics, Faculty of Physics and Mathematics, Cand. Sci. (Eng.), Associate Professor

Published
2023-12-20
How to Cite
MOROZOV, Sergey Andreevich; MUNERMAN, Victor Iosifovich. Parallel Realization of the Algorithm of Construction of all Routes in a Graph by Means of Relational Algebra. Modern Information Technologies and IT-Education, [S.l.], v. 19, n. 4, dec. 2023. ISSN 2411-1473. Available at: <http://sitito.cs.msu.ru/index.php/SITITO/article/view/1042>. Date accessed: 07 may 2026.
Section
Parallel and distributed programming, grid technologies, programming on GPUs

Most read articles by the same author(s)

1 2 > >>