RUS  ENG
Full version
JOURNALS // Informatics and Automation // Archive

Tr. SPIIRAN, 2016 Issue 48, Pages 198–213 (Mi trspy910)

Algorithms and Software

Asynchronous Sorting Algorithm for Array of Numbers With the use of Inhibitory Petri Nets

A. A. Voevoda, D. O. Romannikov

Novosibirsk State Technical University

Abstract: Currently the tasks of computations speed-up and/or their optimization are actual ones. Among the ways to solve these tasks is a method of parallelization and asynchroniza-tion of a sorting algorithm, which is considered in the article. We offer a sorting method that is based on the principle of dividing an array into a set of independent pairs of numbers and their parallel and asynchronous comparison, which distinguishes the offered method from the traditional sorting algorithms (like quick sorting, merge sorting, insertion sorting and others). The algorithm is realized with the use of Petri nets as the most suitable tool for describing asynchronous systems. Examples of its work are given. The performance of the algorithm is evaluated for the best and the worst cases. In the best case the algorithm is executed for 2 or 3 conditional tacks depending on an array partition into the pairs of adjacent elements. In the worst case — for n or 3n/2, where n is the number of elements. Parallelization and asynchronization principles, used during the algorithm construction, can also be used for different algorithms.

Keywords: sorting algorithms; bubble sorting; Petri nets; asynchronous; parallel processing.

UDC: 510.51

DOI: 10.15622/sp.48.10



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2024