Ашық рұқсат Ашық рұқсат  Рұқсат жабық Рұқсат берілді  Рұқсат жабық Тек жазылушылар үшін

№ 1 (2024)

Мұқаба

Бүкіл шығарылым

Ашық рұқсат Ашық рұқсат
Рұқсат жабық Рұқсат берілді
Рұқсат жабық Тек жазылушылар үшін

PROGRAMMING THEORY: FORMAL MODELS AND SEMANTICS

Fuzzy measure on p-adic balls defined on a finite number set

Bocharnikov V., Sveshnikov S.

Аннотация

The article explores an approach to constructing a fuzzy measure on p-adic balls that does not require the direct specification of the measure density. The relationships necessary for determining this measure for an arbitrary subset of a bounded numerical set, represented as a set of p-adic balls, are proven. Uniform and non-uniform fuzzy measures are considered. An algorithm for determining the fuzzy measure on p-adic balls is proposed. Examples of calculating this measure are provided.

Programmirovanie. 2024;(1):3-14
pages 3-14 views

LANGUAGES, COMPILERS AND PROGRAMMING SYSTEMS

The use of functional programming library to parallelize on graphics accelerators with CUDA technology

Krasnov M., Feodoritova O.

Аннотация

Modern graphics accelerators (GPUs) can signi cantly speed up the execution of numerical tasks. However, porting programs to graphics accelerators is not an easy task, sometimes requiring their almost complete rewriting. CUDA graphics accelerators, thanks to technology developed by NVIDIA, allow you to have a single source code for both conventional processors (CPUs) and CUDA. However, in this single source code, you need to somehow tell the compiler which parts of this code to parallelize on shared memory. The use of the functional programming library developed by the authors allows you to hide the use of one or another parallelization mechanism on shared memory within the library and make the user source code completely independent of the computing device used (CPU or CUDA). This article shows how this can be done. 

Programmirovanie. 2024;(1):15-29
pages 15-29 views

THEORETICAL ISSUES IN PROGRAMMING

On linear cellular automata

Kulikov V., Kytmanov А., Poroshin А., Timofeev I., Fedchenko D.

Аннотация

Wolfram cellular automata are considered and their operation is demonstrated using an example of traffic flow simulation. For the class of one-dimensional elementary cellular automata, the concept of linearity is introduced in the language of Zhegalkin operators. An algorithm for finding linear Zhegalkin operators with multipliers of three variables is presented. The algorithm is implemented in Python.

Programmirovanie. 2024;(1):30-39
pages 30-39 views

DATA ANALYSIS

Software implementation of the algorithm for automatic detection of lineaments and their properties on open-pit dumps

Popov S., Potapov V., Zamaraev R.

Аннотация

The paper presents an algorithm and a description of its software implementation for detecting lineaments (ground erosions or cracks) in aerial photography images of open-pits. The proposed approach is based on the apparatus of convolutional neural networks based on the semantic classification of binarized images of objects (lineaments), as well as graph theory for determining the geometric location of linearized objects, followed by determining their lengths and areas. Three-channel RGB images of high-resolution aerial photography (pixel 10x10 cm) were used as initial data. The software unit of the model is logically divided into three layers: pre-processing, detection and post-processing. The first level includes preprocessing of input data to form a training sample based on successive transformations of an RGB image into a binary one using the OpenCV library. A neural network of the U-Net type, which includes blocks of the convolutional (Encoder) and scanning parts (Decoder), represents the second level of the information model. At this level, automatic lineament detection (washouts) is implemented. The third level of the model is responsible for calculating the areas and lengths of lineaments. The result of the work of the convolutional neural network is transferred to the input. Lineament area is calculated by summing the total number of points multiplied by the pixel size. The length of the lineaments is computed by linearizing a plane object into a line segmental object with nodal points and then calculating the lengths between them, also relying on the resolution of the original image. The software module can work with input images, with their subsequent resulting merging to the size of the original image.

Programmirovanie. 2024;(1):40-52
pages 40-52 views

SOFTWARE ENGINEERING, TESTING AND VERIFICATION OF PROGRAMS

KIAM Astrodynamics Toolbox for spacecraft orbital motion design

Shirobokov M., Trifimov S.

Аннотация

The KIAM Astrodynamics Toolbox, a new software library for designing spacecraft orbital motion, is introduced. The toolbox is developed at the Keldysh Institute of Applied Mathematics of the Russian Academy of Sciences using Fortran and Python languages, thus combining the computational speed and the flexibility of program design. The library can be useful for space flight mechanics specialists, as well as for students in relevant educational programs.

Programmirovanie. 2024;(1):53-65
pages 53-65 views

Mathematical modeling of turbulent mixing in gas systems with a chevron contact boundary using NUT3D, BIC3D, EGAK, and MIMOSA numerical codes

Bragin M., Zmitrenko N., Zmushko V., Kuchugov P., Levkina E., Anisiforov K., Nevmerzhitskiy N., Razin A., Sen’kovskiy E., Statsenko V., Tishkin N., Tret’yachenko Y., Yanilkin Y.

Аннотация

The paper presents computational and experimental studies of the evolution of turbulent mixing in three-layer gas systems with the development of hydrodynamic instabilities, in particular Richtmyer-Meshkov and Kelvin-Helmholtz, under the action of shock waves. One of the contact boundaries of the gases was flat, the other with a break in the form of a chevron. Numerical calculations are performed both without initial perturbations of the contact boundaries, and in the presence of perturbations. It is shown that the roughness of the contact boundary significantly affects the width of the mixing zone.

Programmirovanie. 2024;(1):66-87
pages 66-87 views

INFORMATION SECURITY

Description of Paralocks language semantics in TLA+

Timakov A.

Аннотация

One of the basic aspects of information flow control in applications is security policy language. Such language should allow to define security policies for evaluation environment elements in coherence with higher level access control rules. So the language is expected to be flexible because there may be different access control paradigms implemented on the system level: mandatory, role-based etc. An application may also have its own specific restrictions. Finally it is also desirable that the language support declassification (controlled release of information) during the computation. One of such languages is Paralocks. The research is devoted to the logical semantics of modified version of Paralocks realized in TLA+. Paralocks represents a language basis for the perspective information flow control platform PLIF which is being developed for the analysis of PL/SQL program blocks with author’s participation. It includes the proofs of the partial order and lattice defined on the set of security policy expressions.

Programmirovanie. 2024;(1):88-99
pages 88-99 views

COMPUTER GRAPHICS AND VISUALIZATION

Interactive calculation of light refraction and caustics using a graphics processor

Vyatkin S., Dolgovesov B.

Аннотация

While modern rendering systems are effective at modeling complex light paths in complex environments, rendering refractive caustics still takes a long time. Caustics are light patterns that occur when light is refracted and reflected from a surface. Due to the sharp density distribution of these mirror events, rendering algorithms mainly rely on direct sampling of the bidirectional scattering distribution function on these surfaces to plot trajectories. This requires many calculations. Photonic maps are also used. However, there are problems limiting the applicability of caustic maps. Since each photon in the photon buffer must be processed, therefore, one has to choose between a strongly underestimated caustic sampling and a large decrease in speed in order to use a sufficient number of photons for caustics in order to obtain high-quality images. Complex mirror interactions cause oversampling in bright focal areas, while other areas of the caustic map remain under-selected and noisy. At the same time, speed takes precedence over realism in most interactive applications. However, the desire to improve the quality of graphics prompted the development of various fast approximations for realistic lighting.

This paper presents a combined method for visualizing refraction of light and caustics using reverse integration for illumination and direct integration for viewing rays. An approach is used for simultaneous propagation of light and for tracking rays in volume and, therefore, it does not require storing data of an intermediate volume of illumination. In the implementation of the method, the distance between the light planes is set to one voxel, which provides at least one sample per voxel for all orientations. The method does not use preliminary calculations; all rendering parameters can be changed interactively.

As a result, using the proposed method, it is possible to create plausible approximations of complex phenomena such as refractions and caustics. The effect of refraction on the shadow is shown. Complex light patterns are demonstrated due to the curved geometry of the objects. The visualization results show the importance of refraction for the appearance of transparent objects. For example, distortions caused by refraction and refraction at the interface between media. The difference in refractive indices between individual media causes a complex interaction between light and shadow areas. It is shown how refraction and caustics improve the visualization of functionally defined objects by providing additional information about shape and location.

Programmirovanie. 2024;(1):100-112
pages 100-112 views

Осы сайт cookie-файлдарды пайдаланады

Біздің сайтты пайдалануды жалғастыра отырып, сіз сайттың дұрыс жұмыс істеуін қамтамасыз ететін cookie файлдарын өңдеуге келісім бересіз.< / br>< / br>cookie файлдары туралы< / a>