Sieve sorting algorithm
DOI:
https://doi.org/10.17721/1812-5409.2018/4.13Abstract
The purpose of this paper is to present a sorting algorithm that allows parallel execution of comparison operations, analysing complexity and runtime of the algorithm, discussing about a virtual process for this algorithm, and the implementation of the C++ program that simulates such a virtual process. The following problems were solved in this paper: the algorithm of sieve sorting was proposed, the correctness of its execution were proved, the complexity and timing of this algorithm were investigated, the structure of the virtual process implementing this algorithm was proposed, the C ++ program that simulates such a virtual process was discussed. Program code may be taken from the authors. The improvement for the algorithm also provided and correctness of such improvement proved. In the process of problem solving the inconvenience of classical UNIX-like implementation for working with the mechanisms of piping and the processes creating was found out.
Key words: sieve sorting, virtual process.
Pages of the article in the issue: 92-95
Language of the article: English
References
THOMPSON, K. & RITCHIE, D. M. (November 1971) Unix programmer’s manual. Bell Labs, USA. p. 194.
KERNIGHAN, B. W. & PIKE, R. (1984) The unix programming environment. Bell Labs, USA.
KNUTH, D. (1998) The art of computer programming. Volume 3: Sorting and Searching, Second Edition. Addison-Wesley.
CORMEN, T.H. & CORMEN, T.H. & LEISERSON, C.E. & RIVEST, R.L. & STEIN, C. (2001) Introduction to algorithms. MIT Press. p. 1180.
DEMUTH, H. (1956) Electronic data sorting. PhD thesis. Stanford University.
KRAK, IU.V. & KOVAL, IU.V. & STAVROVSKYI, A.B. (2015) Virtual process: definition and application for gestures interface system creation. In Bulletin of Taras Shevchenko National University of Kyiv Series Physics & Mathematics. Vol. 1. p.141-144.
Downloads
Published
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
