SU1418731A1 - Device for rearrangement of natural number series and zero - Google Patents

Device for rearrangement of natural number series and zero Download PDF

Info

Publication number
SU1418731A1
SU1418731A1 SU874175932A SU4175932A SU1418731A1 SU 1418731 A1 SU1418731 A1 SU 1418731A1 SU 874175932 A SU874175932 A SU 874175932A SU 4175932 A SU4175932 A SU 4175932A SU 1418731 A1 SU1418731 A1 SU 1418731A1
Authority
SU
USSR - Soviet Union
Prior art keywords
permutation
degree
constant
input
block
Prior art date
Application number
SU874175932A
Other languages
Russian (ru)
Inventor
Леонид Ефимович Горша
Анатолий Константинович Беляев
Владимир Ильич Гриценко
Борис Гордеевич Мудла
Original Assignee
Институт кибернетики им.В.М.Глушкова
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Институт кибернетики им.В.М.Глушкова filed Critical Институт кибернетики им.В.М.Глушкова
Priority to SU874175932A priority Critical patent/SU1418731A1/en
Application granted granted Critical
Publication of SU1418731A1 publication Critical patent/SU1418731A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике. Целью изобретени   вл етс  расширение области применени  за счет вычислени  номера перестановки. Изобретение впервые реализует непосредственньй алгоритм вычислени  номера перестановки по ее кодированному представлению и позвол ет значительно сократить врем  поиска нумерованных объектов при одновременном уменьшении обь- емов пам ти, необходимых дл  хранени  элементов изображений. Устройство дл  нумерации перестановок содержит входную информационную шину 1 из (п-1)-й кодовой группы дл  подключени  всех кодов элементов перестановки степени п, кроме нулевого, (п-2) блока понижени  степени перестановки 2, () умножителей 3 на константу, многовходовый сумматор 4, выходную информационную шину 5 номера перестановки . 2 ил. (О (ЛThis invention relates to automation and computing. The aim of the invention is to expand the scope by calculating the number of permutation. The invention for the first time implements a direct algorithm for calculating a permutation number according to its coded representation and makes it possible to significantly reduce the search time for numbered objects while simultaneously reducing the amount of memory needed to store image elements. The device for numbering permutations contains input information bus 1 from (n-1) -th code group for connecting all codes of permutation elements of degree n, except for zero, (p-2) block of degree of permutation 2, () multipliers 3 on constant, multi-input the adder 4, the output information bus 5 numbers of permutations. 2 Il. (Oh (L

Description

0000

4j4j

GOGO

Фив./Thebes /

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано при создании высокопроизводительных специализированных устройств дл  решени  комбинаторных задач.The invention relates to automation and computing and can be used to create high-performance specialized devices for solving combinatorial problems.

Целью изобретени   вл етс  расширение области применени  за счет выА1The aim of the invention is to expand the scope of application due to VyA1

числени  номера генерируемой переста- 10 Р класса С,, В блоке ,.2J происхоновки ,the number of the generated reset is 10 P class C ,, In the block, .2J is the origin,

На фиг, 1 представлена блок-схема jустройства; на фиг. 2 структурна  I схема блока понижени  степени пере- ;становки. FIG. 1 is a block diagram of the j device; in fig. 2 is a structural I diagram of a reorder reduction unit.

Устройство содержит вход 1 элементов массива перестановки, блоки 2«-2.1 5понижени  степени перестанов :ки, где п - количество элементов в перестановке, умножители 3,-3„., на ;константу, многовходовой сумматор А, ;выход 5. The device contains an input of 1 elements of the permutation array, blocks 2 "-2.1 5 downsizing the degree of permutation: ki, where n is the number of elements in the permutation, multipliers 3, -3"., On; constant, multi-input adder A,; output 5.

: Блок понижени  степени перестанов { ки содержит блоки пам ти, где i - номер блока понижени  степени перестановок,: The block of the degree of permutation {ki contains memory blocks, where i is the number of the block of the degree of permutations,

; Устройство осуществл ет вычисле- : ние номера перестановки степени с нумерацией элементов от О до (п-1).; The device calculates the degree permutation number with the numbering of the elements from O to (p-1).

Принцип работы предлагаемого уст- ройства основан на разбиении некоторого 1 ножества перестановок А у, степени п на классы мощностью (п-1). таким образом, что крайний слева элементThe principle of operation of the proposed device is based on dividing a certain number of permutations A y, degree n into classes of capacity (n-1). such that the leftmost element

А187312A187312

который дл  данного преобразовани  имеет смысл управл ющей информаI ции. which for a given conversion has the meaning of control information.

, Устройство работает следующим образом .The device works as follows.

Коды элементов перестановки поступают на вход 1 устройства, при этом на входе 1 j,. л представл ет собой но- 10 Р класса С,, В блоке ,.2J происхо Р класса С,, В блоке ,.2J происхоCodes of the permutation elements are fed to the input 1 of the device, while the input 1 j ,. l is a no-10 P class C ,, In a block, .2J a prog R a class C, In a block, .2J a

дит преобразование перестановки степени (п-1) в перестановку степени (п-2) под управлением кода С,, Код на (п-2) выходе блока 2(,,.2, соответствует номеру класса С, который управл ет процессом уменьшени  степени перестановки в блоке .,и т.д.Diet converts a degree permutation (p-1) to a permutation of a degree (p-2) under control of the code C ,, Code on (p-2) the output of block 2 (,,. 2, corresponds to the class number C, which controls the process of reducing the degree permutations in the block., etc.

Кодь} номеров классов С, где k 1, (п-1) поступают также на умножители на константу 3(„.)), которые выполн  ют умножение С | на величину (n-k)/ .Code} of class numbers C, where k 1, (n-1) also goes to multipliers by the constant 3 („.)), Which perform the multiplication C | by the value of (n-k) /.

Коды с выходов умножителей на коэффициент три суммируютс  в многовхо- довом сумматоре 4, на выходе которого формируетс  код номера перестановки, который поступает на выход 5.The codes from the outputs of the multipliers by a factor of three are summed in the multiple input adder 4, the output of which forms the code of the permutation number, which arrives at output 5.

Claims (1)

Формула изобретени Invention Formula Устройство дл  нумерации перестановок натурального р да чисел и нул , содержащее многовходовый сумматор, отличающее с  тем, что, с целью расширени  области применеA device for numbering permutations of a natural number of numbers and a zero containing a multi-input adder, characterized in that, in order to expand the area при этом имеет место следующее соотношение :the following relationship takes place: 4040 4545 перестановки равн етс  номеру класса 35 i™ за счет вычислени  номера генерируемой перестановки, в него введены п-2 блока понижени  степени перестановки , где п - количество переставл емых чисел, и п-1 ыножителей на константу, при этом значение константы j-ro умножител  на константу равно jj (j 1,2,..,,п-1), причем i-й блок Понижени  степени перестановки (i 1,2,.,п-2) содержит i узлов пам ти, входы кодов элементов массива перестановок с первого по (п-2)-и устройства соединены с первыми адресными входами соответственно с первого по (п-2)-й узлов пам ти (п-2)-го блока понижени  степени, вторые адресные входы узлов пам ти которого объединены и соединены с входом (п-1)-го элемента массива перестановок устройства и входом (п-1)-го умножител  на константу, выход k-ro узла пам ти 1-го блока понижени  степени перестановки (k 1,2,..., 1-1; 1 2,3,.,., п-2) соединен с первым адресным входом k-ro узла пам тиthe permutation equals the class number 35 i ™ by calculating the number of the permutation being generated, n-2 of the permutation degree lowering block is entered into it, where n is the number of permuted numbers, and n-1 multipliers per constant, while the value of the constant j-ro multiplier by a constant is equal to jj (j 1,2, .., p-1), with the i-th block Reducing the degree of permutation (i 1,2,., p-2) contains i memory nodes, inputs of codes of elements of the permutation array the first through (p-2) -and devices are connected to the first address inputs, respectively, from the first through (p-2) -th memory nodes (p-2) -th block of lower degree, the second address inputs of the memory nodes of which are combined and connected to the input of the (n-1) -th element of the device permutation array and the input of the (n-1) -th multiplier by a constant, the output of the k-ro memory node of the 1st of the permutation reduction unit (k 1,2, ..., 1-1; 1 2,3,.,., p-2) is connected to the first address input of the k-ro memory node п. п(п-1) .pp (p-1). В результате такого разбиени  классы будут пронумерованы числами от О до (п-1). Номер класса, к которому будет отнесена заданна  перестановка , обозначим С, Продолжа  процесс , получаем соответственно С и (п-2) и т.д,As a result of this decomposition, the classes will be numbered from O to (n-1). The number of the class to which the given permutation will be assigned, we denote C, Continuing the process, we obtain, respectively, C and (n-2), etc., Процесс понижени  степени перестановки при переходе к множеству перестановок меньшей степени сострит в перенумерации элементов исходной перестановки .The process of reducing the degree of permutation in the transition to a set of permutations of a lesser degree of statite in renumbering the elements of the original permutation Таким образом, понижение степени перестановки на единицу состоит в усечении исходной перестановки слева на один элемент и уменьшении значений оставшихс  элементов на единицуj . если это значение превьшзает значение отбрасьгааемого элемента,Thus, reducing the degree of permutation by one consists in truncating the original permutation from the left by one element and decreasing the values of the remaining elements by one j. if this value exceeds the value of the item being dropped, Значение крайнего слева элемента перестановки  вл етс  номером классаThe value of the leftmost permutation element is the class number. 5050 :55: 55 3U3U (l-l)-ro блока понижени  степени перестановки , выход 1-го узла пам ти 1-го блока понижени  степени перестановки соединен с вторыми адресными входами всех узлов пам ти (1-1)-го блока понижени  степени перестановки и входом 1-го умножител  на константу , выход первого узла пам -ти перво314(ll) -ro block of the degree of permutation, the output of the 1st memory node of the 1st block of the degree of permutation is connected to the second address inputs of all the memory nodes (1-1) of the block of the degree of permutation reduction and the input of the 1st multiplier on a constant, the output of the first node of the memory is the first 314 го блока понижени  степени перестановок соединен с входом первого умножител  на константу, выходы умножителей на константу с первого по (п-1)-й соединены с соответствующими входами многовходового сумматора, выход которого соединен с выходом устройства .The first permutation reduction unit is connected to the input of the first multiplier by a constant, the outputs of the multipliers to the constant from the first to (n-1) -th are connected to the corresponding inputs of the multi-input adder, the output of which is connected to the output of the device. Управл ющий (ход Фиг. 2Manager (move of Fig. 2
SU874175932A 1987-01-05 1987-01-05 Device for rearrangement of natural number series and zero SU1418731A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874175932A SU1418731A1 (en) 1987-01-05 1987-01-05 Device for rearrangement of natural number series and zero

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874175932A SU1418731A1 (en) 1987-01-05 1987-01-05 Device for rearrangement of natural number series and zero

Publications (1)

Publication Number Publication Date
SU1418731A1 true SU1418731A1 (en) 1988-08-23

Family

ID=21278349

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874175932A SU1418731A1 (en) 1987-01-05 1987-01-05 Device for rearrangement of natural number series and zero

Country Status (1)

Country Link
SU (1) SU1418731A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 995093, кл. G 06 F 15/20, 1981. Авторское свидетельство СССР № 446057, кл. С 06 F 15/20, 1972. *

Similar Documents

Publication Publication Date Title
US4454590A (en) Programmable signal processing device
SU1418731A1 (en) Device for rearrangement of natural number series and zero
SE429080B (en) DIGITAL FILTER DEVICE FOR OWN-SIZED QUANTIZED Pulse Code Modulated Signals
US4543641A (en) Multiplication device using multiple-input adder
US4860241A (en) Method and apparatus for cellular division
JPH0331005B2 (en)
US4458327A (en) Prime or relatively prime radix data processing system
SU805336A1 (en) Device for solving systems of linear algebraic equations
SU1721601A1 (en) Serial k-@@ adder
SU879583A1 (en) Device for number comparison
SU596952A1 (en) Arrangement for solving differential simultaneous equations
RU1829119C (en) Device to count number of units in binary-decimal code system
Hentzel Special jordan identities
SU1383346A1 (en) Logarithmic converter
SU1617432A1 (en) Device for sorting numbers
SU1503042A2 (en) Generator of basic functions
SU1515161A1 (en) Multiplication device
SU1520524A1 (en) Device for modulo three pyramidal convolution
SU1635176A1 (en) Multiplier
RU2054709C1 (en) Device for multiplication of numbers represented in position code
SU1365076A1 (en) Number-sorting device
RU1791818C (en) Device for control of modulo three residual code
SU1134947A1 (en) Device for calculating values of polynominal m-th order
SU545982A1 (en) Device for classifying binary numbers
SU1195346A1 (en) Device for selecting maximum number