<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">donstu</journal-id><journal-title-group><journal-title xml:lang="en">Advanced Engineering Research (Rostov-on-Don)</journal-title><trans-title-group xml:lang="ru"><trans-title>Advanced Engineering Research (Rostov-on-Don)</trans-title></trans-title-group></journal-title-group><issn pub-type="epub">2687-1653</issn><publisher><publisher-name>Don State Technical University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.23947/1992-5980-2018-18-4-449-454</article-id><article-id custom-type="elpub" pub-id-type="custom">donstu-1440</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>INFORMATION TECHNOLOGY, COMPUTER SCIENCE AND MANAGEMENT</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>ИНФОРМАТИКА, ВЫЧИСЛИТЕЛЬНАЯ ТЕХНИКА И УПРАВЛЕНИЕ</subject></subj-group></article-categories><title-group><article-title>Parallel construction of binary tree based on sorting</article-title><trans-title-group xml:lang="ru"><trans-title>Параллельное построение двоичного дерева на основе сортировки</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-7251-2844</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Ромм</surname><given-names>Я. Е.</given-names></name><name name-style="western" xml:lang="en"><surname>Romm</surname><given-names>Ya. E.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Ромм Яков Евсеевич, заведующий кафедрой «Информатика», доктор технических наук, профессор</p><p>РФ, 347936, г. Таганрог, ул. Инициативная, д. 48</p></bio><bio xml:lang="en"><p>Romm, Yakov Ye. - Head of the Information Technology Department, Dr.Sci. (Eng.), professor</p><p>48, Initsiativnaya St., Taganrog, RF</p></bio><email xlink:type="simple">romm@list.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0003-2972-0944</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Чабанюк</surname><given-names>Д. А.</given-names></name><name name-style="western" xml:lang="en"><surname>Chabanyuk</surname><given-names>D. A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Чабанюк Денис Андреевич, доцент кафедры «Теоретическая, общая физика и технологии»</p><p>РФ, 347936, г. Таганрог, ул. Инициативная, д. 48</p></bio><bio xml:lang="en"><p>Chabanyuk, Denis A. - associate professor of the Theoretical, General Physics and Technologies Department</p><p>48, Initsiativnaya St., Taganrog, RF</p></bio><email xlink:type="simple">denchabanyuk@gmail.com</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Таганрогский институт имени А. П. Чехова (филиал) Ростовского государственного экономического университета (РИНХ)</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Taganrog Chekhov Institute, Rostov State University of Economics (RINH) branch</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2018</year></pub-date><pub-date pub-type="epub"><day>30</day><month>12</month><year>2018</year></pub-date><volume>18</volume><issue>4</issue><fpage>449</fpage><lpage>454</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Romm Y.E., Chabanyuk D.A., 2018</copyright-statement><copyright-year>2018</copyright-year><copyright-holder xml:lang="ru">Ромм Я.Е., Чабанюк Д.А.</copyright-holder><copyright-holder xml:lang="en">Romm Y.E., Chabanyuk D.A.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.vestnik-donstu.ru/jour/article/view/1440">https://www.vestnik-donstu.ru/jour/article/view/1440</self-uri><abstract><sec><title>Introduction</title><p>Introduction. Algorithms for the parallel binary tree construction are developed. The algorithms are based on sorting and described in a constructive form. For the Nelement set, the time complexity has T(R) = O(1) and T(R) = O(log2 N) estimates, where R = (N2-N)/2 is the number of processors. The tree is built with the uniqueness property. The algorithms are invariant with respect to the input sequence type. The work objective is to develop and study ways of accelerating the process of organizing and transforming the tree-like data structures on the basis of the stable maximum parallel sorting algorithms for their application to the basic operations of information retrieval on databases.</p></sec><sec><title>Materials and Methods</title><p>Materials and Methods. A one-to-one relation between the input element set and the binary tree built for it is established using a stable address sorting. The sorting provides maximum concurrency, and, in an operator form, establishes a one-to-one mapping of input and output indices. On this basis, methods for the mutual transformation of the binary data structures are being developed.</p></sec><sec><title>Research Results</title><p>Research Results. An efficient parallel algorithm for constructing a binary tree based on the address sorting with time complexity of T(N2) = O(log2 N) is obtained. From the well-known analogues, the algorithm differs in structure and logarithmic estimation of time complexity, which makes it possible to achieve the acceleration of O(Nα), α≥1 order analogues. As an advanced version, an algorithm modification, which provides the maximum parallel construction of the binary tree based on a stable address sorting and a priori calculation of the stored subtree root indices is suggested. The algorithm differs in structure and estimation of T(1) = O(1) time complexity. A similar estimate is achieved in a sequential version of the modified algorithm, which allows obtaining the acceleration of known analogs O(Nα), α&gt;1 order.</p><p>Discussion and Conclusions. The results obtained are focused on the creation of effective methods for the dynamic database processing. The proposed methods and algorithms can form an algorithmic basis for an advanced deterministic search on the relational databases and information systems.</p></sec></abstract><trans-abstract xml:lang="ru"><sec><title>Введение</title><p>Введение. Разработаны алгоритмы параллельного построения двоичного дерева. Алгоритмы выполнены на основе сортировки и описаны в конструктивной форме. Для множества из N элементов временная сложность имеет оценки T(R) = O(1) и T(R) = O(log2 N), где число процессоров R = (N2-N)/2. Дерево строится со свойством единственности. Алгоритмы инвариантны относительно вида входной последовательности. Целью работы являлась разработка и исследование способов ускорения процесса организации и преобразований древовидных структур данных на основе алгоритмов устойчивой максимально параллельной сортировки для их применения к базовым операциям информационного поиска в базах данных.</p></sec><sec><title>Материалы и методы</title><p>Материалы и методы. Взаимно однозначное соответствие множества входных элементов и построенного для него двоичного дерева устанавливается при помощи устойчивой адресной сортировки. Сортировка обладает максимальным параллелизмом, в операторной форме устанавливает взаимно однозначное соответствие входных и выходных индексов. На этой основе разрабатываются методы взаимного преобразования двоичных структур данных.</p></sec><sec><title>Результаты исследования</title><p>Результаты исследования. Получен эффективный параллельный алгоритм построения двоичного дерева на основе адресной сортировки с временной сложностью T(N2) = O(log2 N). От известных аналогов алгоритм отличается структурой и логарифмической оценкой временной сложности, позволяющей достигать ускорения аналогов порядка O(Nα), α≥1. В качестве усовершенствованного варианта предложена модификация алгоритма, обеспечивающая максимально параллельное построение двоичного дерева на основе устойчивой адресной сортировки и априорного вычисления хранимых индексов корней поддеревьев. Алгоритм отличается структурой и оценкой временной сложности T(1) = O(1). Аналогичная оценка достигается в последовательном варианте модифицированного алгоритма, что позволяет достигать ускорения известных аналогов порядка O(Nα), α&gt;1.</p></sec><sec><title>Обсуждения и заключение</title><p>Обсуждения и заключение. Полученные результаты направлены на организацию эффективных способов динамической обработки баз данных. Предложенные способы и алгоритмы могут составить алгоритмическую основу для ускоренного детерминированного поиска в реляционных базах данных и информационных системах.</p></sec></trans-abstract><kwd-group xml:lang="ru"><kwd>структуры  данных</kwd><kwd>алгоритмы  обработки  данных</kwd><kwd>двоичное  дерево</kwd><kwd>алгоритмы  параллельной сортировки</kwd></kwd-group><kwd-group xml:lang="en"><kwd>data structures</kwd><kwd>data processing algorithms</kwd><kwd>binary  tree</kwd><kwd>algorithms for parallel sorting</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Ромм, Я. Е. Сравнение слов с единичной временной сложностью / Я. Е. Ромм, Д. А. Чабанюк // Известия Южного федер. ун-та. Технические науки. — 2014. — №7 (156). — С. 230–238.</mixed-citation><mixed-citation xml:lang="en">Romm, Ya.E., Chabanyuk, D.A. Sravnenie slov s edinichnoy vremennoy slozhnost'yu. [Comparison of words with the complexity of identity] Izvestiya SFedU. Engineering Sciences. 2014, no. 7 (156), pp. 230–238 (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Ромм, Я. Е. Параллельная сортировка слиянием по матрицам сравнений. II / Я. Е. Ромм // Кибернетика и системный анализ. — 1995. — № 4. — С. 13–37.</mixed-citation><mixed-citation xml:lang="en">Romm, Ya.E. Parallel'naya sortirovka sliyaniem po matritsam sravneniy. II [Parallel sorting by merging on comparison matrices. II] Cybernetics and Systems Analysis, 1995, no. 4, pp. 13–37 (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Ромм, Я. Е. Построение двоичного дерева на основе параллельной сортировки / Я. Е. Ромм, Д. А. Чабанюк // Фундаментальные исследования. — 2015. — Т. 8., № 3. — С. 509–513.</mixed-citation><mixed-citation xml:lang="en">Romm, Y.E., Chabanyuk, D.A. Postroenie dvoichnogo dereva na osnove parallel'noy sortirovki. [Constructing binary tree based on parallel sorting algorithm.] Fundamental Research, 2015, vol. 8., no. 3, pp. 509–513 (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Ромм, Я. Е. Параллельное построение двоичного дерева на основе сортировки / Я. Е. Ромм, Д. А. Чабанюк // Аспекты развития науки, образования и модернизации промышленности : матер. Всеросс. научно-практ. конф. — Таганрог, 2017. — Т. 1. — С. 77–84.</mixed-citation><mixed-citation xml:lang="en">Romm, Ya.E., Chabanyuk, D.A. Parallel'noe postroenie dvoichnogo dereva na osnove sortirovki. [Parallel construction of binary tree based on sorting algorithm.] Aspekty razvitiya nauki, obrazovaniya i modernizatsii promyshlennosti: mater. Vseross. nauchno-prakt. konf. [Aspects of development of science, education and industrial modernization: Proc. All-Russian Sci.-Pract. Conf.] Taganrog, 2017, vol. 1, pp. 77–84 (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Laganà A. Computational Science and Its Applications: Lecture Notes in Computer Science / A. Laganà, V. Kumar, C. Tan. — Assisi: Springer Science &amp; Business Media, 2004. — 1044 p. — https://doi.org/10.1007/b98048</mixed-citation><mixed-citation xml:lang="en">Laganà A., Kumar, A., Tan, V.C. Computational Science and Its Applications: Lecture Notes in Computer Science. Assisi: Springer Science &amp; Business Media, 2004, 1044 p. – DOI: 10.1007/b98048</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Chalermsook P. 2015 IEEE 56th Annual Symposium on Foundations of Computer Science (FOCS 2015) / P. Chalermsook, M. Goswami; eds. – Piscataway, NJ: IEEE, 2015. – 410-423 p. – DOI: 10.1109/FOCS.2015.98</mixed-citation><mixed-citation xml:lang="en">Chalermsook, P., Goswami, M., eds. 2015 IEEE 56th Annual Symposium on Foundations of Computer Science (FOCS 2015). Piscataway, NJ: IEEE, 2015, pp. 410-423 – DOI: 10.1109/FOCS.2015.98</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Гавриков, А. В. Т-неприводимые расширения для ориентированных бинарных деревьев / А. В. Гавриков // Компьютерные науки и информационные технологии. — 2016. — № 6. — С. 123–125. — https://doi.org/10.17223/20710410/34/6</mixed-citation><mixed-citation xml:lang="en">Gavrikov, A.V. T-neprivodimye rasshireniya dlya orientirovannykh binarnykh derev'yev. [T-irreducible extensions of directed binary trees.] Computer Sciences and Information Technologies, 2016, no. 6, pp. 123–125 – DOI 10.17223/20710410/34/6 (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Гриценко, Н. С. Построение двоичного дерева на основе модифицированной схемы хранения деревьев общего вида «left child»-«right sibling» (LCRS) / Н. С. Гриценко, Ю. С. Белов // Инженерный журнал : наука и инновации. — 2014. — № 3. — С. 75–84. — https://doi.org/10.18698/2308-6033-2014-3-1281.</mixed-citation><mixed-citation xml:lang="en">Gritsenko, N.S., Belov, Yu.S.  Postroenie dvoichnogo dereva na osnove modifitsirovannoy skhemy khraneniya derev'yev obshchego vida «left child»-«right sibling» (LCRS). [Creation of a binary tree based on the modified storage diagram of general appearance trees "left child - right sibling" (LCRS).] Engineering Journal: Science and Innovation ,2014, no. 3, pp. 75–84 — DOI: 10.18698/2308-6033-2014-3-1281 (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Amir A. Adaptive dictionary matching / A. Amir, M. Farach // Foundations of Computer Science, 1991. Proceedings., 32nd Annual Symposium on. — IEEE, 1991. — P. 760-766. — https://doi.org/10.1109/SFCS.1991.185445</mixed-citation><mixed-citation xml:lang="en">Amir, A., Farach, M., Adaptive dictionary matching. Foundations of Computer Science, 1991. Proceedings., 32nd Annual Symposium on. IEEE, 1991, pp. 760-766 – DOI: 10.1109/SFCS.1991.185445</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Fischer J. Theoretical and Practical Improvements on the RMQ-Problem, with Applications to LCA and LCE / J. Fischer, V. Heun // Combinatorial Pattern Matching – Berlin, Heidelberg: Springer Berlin Heidelberg, 2006. – Vol. 4009. – P. 36-48.</mixed-citation><mixed-citation xml:lang="en">Fischer, J., Heun, V. Theoretical and Practical Improvements on the RMQ-Problem, with Applications to LCA and LCE. Combinatorial Pattern Matching. Berlin, Heidelberg: Springer Berlin Heidelberg, 2006, vol. 4009, pp. 36-48.</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Institute of Electrical and Electronics Engineers. Pattern-Avoiding Access in Binary Search Trees / Computer Society // 2015 IEEE 56th Annual Symposium on Foundations of Computer Science (FOCS 2015). – 2015. – № 56. — P. 410-423. https://doi.org/10.1109/FOCS.2015.32</mixed-citation><mixed-citation xml:lang="en">Institute of Electrical and Electronics Engineers. Pattern-Avoiding Access in Binary Search Trees. Computer Society. 2015 IEEE 56th Annual Symposium on Foundations of Computer Science (FOCS 2015), 2015, no. 56, pp. 410-423 - DOI: 10.1109/FOCS.2015.32</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
