SORTING ALGORITHMS FORMATION BY MEANS OF CONSTRUCTIVE- SYNTHESIZING MODELING AND GENETIC ALGORITHM

Authors

DOI:

https://doi.org/10.34185/1991-7848.itmm.2026.01.045

Keywords:

constructive-synthesizing modeling, software, information technology, algorithm, genetic algorithm

Abstract

An approach to automated synthesis of sorting algorithms based on constructive-synthesizing modeling is considered. A constructive model of a chromosome with a tree-like structure is described, which encodes the sorting algorithm in the form of a hierarchical composition of algorithmic fragments and auxiliary operations. A system of three interconnected constructors is presented: a constructor for forming a chromosome-tree, a constructor-transformer for transforming a tree-like chromosome into a linear sequence of genes, and a constructor-transformer that provides the generation of the sorting algorithm program code written in a programming language.

It is shown that the use of four stages of constructive-synthesizing modeling – specialization, interpretation, concretization, and implementation – allows formalization of transition from an abstract description of the algorithm to its executable program implementation process. The use of a genetic algorithm provides evolutionary selection and optimization of sorting algorithms according to specified quality criteria, considering the properties of the input data and the limitations of the computing environment.

The proposed approach creates conditions for structural adaptation of algorithms, combination of basic algorithmic primitives into new correct compositions and expansion of the search space for effective algorithmic solutions. The obtained results confirm the feasibility of using constructive-synthesizing modeling as a basis for automated synthesis and optimization of sorting algorithms.

References

J. R. Koza. Genetic Programming: On the Programming of Computers by Means of Natural Selection. – MIT Press, 1992. https://mitpress.mit.edu/9780262111706/genetic-programming/

R. Sedgewick, K. Wayne. Algorithms. – Addison‑Wesley, 2011. https://algs4.cs.princeton.edu/home/

V.I. Shynkarenko, V.M. Ilman. Constructive-Synthesizing Structures and Their Grammatical Interpretations. I. Generalized Formal Constructive-Synthesizing Structure / Cybernetics and Systems Analysis, Volume 50, Issue 5, pp 655-662. https://doi.org/10.1007/s10559-014-9655-z

M. Mitchell. An Introduction to Genetic Algorithms. – MIT Press, 1998. https://mitpress.mit.edu/9780262631853/an-introduction-to-genetic-algorithms/

V. Shynkarenko, O. Makarov. Structural Adaptation of Sorting Algorithms Based on Constructive Fragments / 14th International Scientific and Practical Programming Conference, UkrPROG 2024, CEUR Workshop Proceedings. Vol. 3806, pp. 16–29. https://ceur-ws.org/Vol-3806/

Published

2026-04-26

Issue

Section

Theses