Sorting the quasi ordered array
DOI:
https://doi.org/10.18372/2073-4751.2(62).14475Keywords:
Sorting pseudo-ordered arrays, Bit-logarithmic coding, Sorting by blocksAbstract
In organizing a computational process with a task-algorithmic design method, the main step in stitching a set of algorithms into a generalized block scheme is to select a frequently used algorithm, which is then structurally implemented in an operational machine. In the classical construction of computer tools, such a general algorithm is addition, other algorithms are implemented with the support of this basic one. The software together with the operational (structural) machine makes up the operational basis.
The article considers the proposal to build a new operational basis of computer tools for high-precision processing of computer tools and systems. High-precision processing is implemented through the bit-logarithmic representation. The basic operation in which is the sorting of arrays whose elements are short digital codes. Sorting is done to arrange arrays. When performing operations in bitwise logarithmic coding, arrays are in some way (not completely) ordered. Therefore, the statement of the problem is chosen precisely under such conditions. The main solution to the problem is proposed in several stages. Array ordering by blocks with boundary values, ordering inside blocks and docking blocks with each other with "overlapping" boundary elements of blocks. Then repeat the sorting within the blocks and the subsequent “overlap”. Sorting ends when there are no unordered items. Modeling determines the reduction of sorting steps by one or two orders of magnitude compared to sorting by the "bubble" method on a hypothetical parallel structure. Improving the basic operation determines the positive performance of the new operational basis as a whole.
Downloads
Published
Issue
Section
License
Автори, які публікуються у цьому журналі, погоджуються з наступними умовами:- Автори залишають за собою право на авторство своєї роботи та передають журналу право першої публікації цієї роботи на умовах ліцензії Creative Commons Attribution License, котра дозволяє іншим особам вільно розповсюджувати опубліковану роботу з обов'язковим посиланням на авторів оригінальної роботи та першу публікацію роботи у цьому журналі.
- Автори мають право укладати самостійні додаткові угоди щодо неексклюзивного розповсюдження роботи у тому вигляді, в якому вона була опублікована цим журналом (наприклад, розміщувати роботу в електронному сховищі установи або публікувати у складі монографії), за умови збереження посилання на першу публікацію роботи у цьому журналі.
- Політика журналу дозволяє і заохочує розміщення авторами в мережі Інтернет (наприклад, у сховищах установ або на особистих веб-сайтах) рукопису роботи, як до подання цього рукопису до редакції, так і під час його редакційного опрацювання, оскільки це сприяє виникненню продуктивної наукової дискусії та позитивно позначається на оперативності та динаміці цитування опублікованої роботи (див. The Effect of Open Access).