SU525948A1 - Device for sorting combinations - Google Patents

Device for sorting combinations

Info

Publication number
SU525948A1
SU525948A1 SU1956682A SU1956682A SU525948A1 SU 525948 A1 SU525948 A1 SU 525948A1 SU 1956682 A SU1956682 A SU 1956682A SU 1956682 A SU1956682 A SU 1956682A SU 525948 A1 SU525948 A1 SU 525948A1
Authority
SU
USSR - Soviet Union
Prior art keywords
combinations
block
blocks
enumeration
search
Prior art date
Application number
SU1956682A
Other languages
Russian (ru)
Inventor
Валерий Владимирович Епихин
Original Assignee
Предприятие П/Я А-3327
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 Предприятие П/Я А-3327 filed Critical Предприятие П/Я А-3327
Priority to SU1956682A priority Critical patent/SU525948A1/en
Application granted granted Critical
Publication of SU525948A1 publication Critical patent/SU525948A1/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

ки в нулевое состо ние 14, пр мым выхо дом 15 и инверсным выходом 16, элемен И 17, элемент задержки 18, распределитель 19, шину 2О тактовых импульсов, шину 21 установки и шину 22 окончани  работы. Устройство работает следующим образом . Перебор сочетани  из М элементов по N замен етс  перебором двух сочетаний, каждое из которых в качестве исходных имеет полное базовое сочетание. Полным базовым сочетанием называетс  такое со четание, из которого можно получить М (включа  исходное) различных сочетаний благодар  циклическому сдвигу исходного сочетани . Например, из сочетани  /Л 111...11000....00 можно получить еше М-1 сочетаний благо дар  его циклическому сдвигу. Базовые сочетани  подбираютс  по опр деленным правилам. Дл  некоторых значе ний М и значений N (от О до N ) все б зовые сочетани  будут равны: Дл  М 3Дл  М 6 000 ооооооо о 001 1ОО0001 - 1 011 20000111 111 3OOOlOll 2 001001 Дл  М 4 0000 оОООШЛ 0001 1ОО1011 0011Y OlOOllj OlOlJ oioioy 001111Л 0111 3 OlOlllU 4 1111 4 Oil Oil) Дл  М 5 011111 5 00000 О mill 6 00001 1 00011 OOlOl 001114 OlOllj 01111 4 11111 5 Дл  любык значений N и М двоичные базовые сочетани  получают путем всех комбинаций с о ответствую ишх базовых соче таний, например, дл  М 6иМ 12 со ответствуют следующие базовые сочетани  ( R 5, Т 7): 11ООО 1111000 11111 1ОООООО 11ООО 111010О 11110 1100ООО 11000 1110010 11110 1010000 11110 10О100О110ОО 11011ОО 111ОО 1110000110ОО 1101О10 11100 1101ООО10100 1111000 11100 110О1ОО1О100 111О10О 11100 11О001О1010О 111О01О 11100 10101ОО1О10О 1101100 1101О 11100001О100 1101010 11010 110100010000 1111100 11010 1100100 10000 иною 11010 1100010 10000 mono 11010 1010100 00000 111111О Таким образом, каждое сочетание из двенадцати по шести можно представить в виде комбинации двух базовых сочетаний (двойных базовых сочетаний). При этом исходные базовые сочетани  имеют разр дность НиТ (R +Т М). Максимальное количество сочетаний, ко торое можно получить из двойного базового , равно RT (включа  само двойное базовое сочетание). Пор док получени  всех сочетаний из двойных базовых следующий. Сначала сдвигаетс  циклически одно из составл ющих сочетаний; если оно содер жит Т разр дов, то сдвигаетс  (Т-1) раз, и после этого осуществл етс  одновременный циклический сдвиг первого и второго составл ющих сочетаний. Така  процедура повтор етс  Н раз. Рассмотрим работу устройства на примере перебора сочетаний при М 12,N 6, Н 5иТ 7. Перед началом работы устройство устанавливают в исходное состо ние по глине 20. При этом триггер 12 устанавливаетс  в единичное состо ние, распределитель 19 в первое положение, а блоки перебора 2 и 5 - в нулевое состо ние. Блок перебора 2 имеет п ть разр дов и первые п ть выходов блока пам ти 1 подключены к его входам. Блок перебора 5 имеет семь разр дов , и к его входам подключены семь последних выходов блока пам ти 1. Далее по щине 20 начинают поступать тактовые импульсы. Так как перед поступлением первого тактового импульса триггер 12 находитс  в единичном состо нии, открыт элемент И 17, и первый тактовый импульс через элемент И 17 поступает на продвижение распределител  19. Распределитель 19 переводитс  во второе положение, при этом на его первом выходе по вл етс  импульс, который производит считывание первой строки из блока пам ти 1. Содержимое первой строки из блока пам ти 1 записываетс  в блоках перебора 2 и 5. В результате этого в блоке перебора 2 имеетс  базовое сочетание 11111, а в блоке перебора 5 - базовое сочетание 1000000. Блоки перебора 2 и 5 осуществл5пот циклический сдвиг их содержимого. Сигнал на управл ющих входах 4 или 7 блоков перебора 2 или 5 по вл етс  в случае , если на все разр ды блока перебора поданы из блока пам ти 1 все единицы или все нули, а также в том случае, если содержимое блока циклически сдвигаетс  на величину равную разр дности блока, уменьшенную на единицу, т.е. дл  блока перебора 2 после четьфех сдвигов, а дл  блока перебора 5 - после шести сдвигов. На выходах 3 и 6 блоков перебора 2 и 5 по вл ютс  сочетани  двенадцати элементов по шесть. После первого тактового импульса на выходах 3 и 6 блоков перебора 2 и 5 будет первое сочетание 1111110000ОО, Так как импульс с выхода элемента И 17 поступил на кход элемента задержки 18, перед приходом второго тактового им пульса триггер 12 находитс  в щлевом состо нии и открыт элемент И 11. Последующие шесть тактовых импульсо поступивших по шине 20, пройдут через элемент И 11 на продвижение блока перебо и на вход элемента И 10. Элемент И 10 открыт, если на управл юш.ем входе 7 блока перебора 5 имеетс  сигнал. Таким образом, по шести последующим тактовым импульсам получим следующие сочетани : Щ110100000 111110010000 111110О01000 11111000010О 111110000010 1111100ОО001 Таким образом, произошло шесть циклических сдвигов содержимого блока перебора 5. После этого на управл ющем входе 7 блока перебора 5 по вл етс  сигнач. Так как и на управл ющем входе 4 блока 2 имеетс  сигнал, собираетс  элемент И 8, и по переднему фронту сигнала с его выхода перебрасываетс  триггер 12 в еди ничное положение и сбрасываютс  блоки перебора 2 и 5 в нулевое положение чере первый элемент задержки 9. Следующий т товый импульс через элемент И 17 пер ведет распределитель 19 в третье положение , и происходит считывание второй строки блока пам ти 1. В результате на выходах 3 и 6 блоков перебора 2 и 5 имki to zero state 14, direct output 15 and inverse output 16, element 17, delay element 18, distributor 19, clock bus 2O, installation bus 21 and bus 22. The device works as follows. The search of a combination of M elements by N is replaced by a search of two combinations, each of which has the full basic combination as the initial ones. A complete basic combination is such a combination, from which M (including the original) of various combinations can be obtained due to the cyclic shift of the initial combination. For example, from the combination / L 111 ... 11000 .... 00 it is possible to get another M-1 combination thanks to its cyclic shift. Basic combinations are selected according to certain rules. For some values of M and values of N (from O to N), all the basic combinations will be equal to: 001111L 0111 3 OlOlllU 4 1111 4 Oil Oil) D M 5 011111 5 00000 About mill 6 00001 1 00011 OOlOl 001114 OlOllj 01111 4 11111 5 For any values of N and M, binary basic combinations are obtained by all the combinations with the corresponding ishch base combinations, For example, for M 6 and 12, the following basic combinations correspond (R 5, T 7): 11OOO 1111000 11111 1OOOO 11OOO 111010O 11110 1100OOO 11000 1110010 11110 1010000 11110 10О100О110ОО 11011OO 111OO 1110000110OO 1101О10 11100 1101OO 10100 1111000 11100 110O1OO1O100 111O10O 11100 11O001O1010O 111O01O 11100 10101OO1O10O 1101100 1101O101OO1O10O 1101100 1101O 110100010000 1101100 11010 1101100 10000 vyv vyyu 11010 1101100 10000 in other 11010 1100010 ). At the same time, the initial basic combinations have the S – T (R + T M) size. The maximum number of combinations that can be obtained from a double base is RT (including the double base combination itself). The order of obtaining all the combinations of double base is as follows. Initially, one of the combinations is shifted cyclically; if it contains T bits, it is shifted (T-1) times, and then the first and second constituent combinations are simultaneously shifted cyclically. This procedure is repeated N times. Consider the operation of the device using the example of iterating combinations with M 12, N 6, H 5 and T 7. Before starting the operation, the device is reset to clay 20. The trigger 12 is set to one, the dispenser 19 is in the first position, and the brute force blocks 2 and 5 to the zero state. The search block 2 has five bits and the first five outputs of memory block 1 are connected to its inputs. The enumeration block 5 has seven bits, and the seven last outputs of the memory block 1 are connected to its inputs. Next, clock pulse starts to arrive on bus 20. Since prior to the arrival of the first clock pulse, trigger 12 is in a single state, the element 17 is opened, and the first clock pulse through the element 17 is fed to advance the distributor 19. The valve 19 is transferred to the second position, and at its first output the impulse that reads the first line from memory 1. The contents of the first line from memory 1 are written in the enumeration blocks 2 and 5. As a result, in the search 2 block there is a basic combination 11111, and in the search 5 block a basic a combination of 1,000,000. Busting blocks 2 and 5 carried out a cyclic shift of their contents. The signal at the control inputs 4 or 7 of the enumeration blocks 2 or 5 appears if all the digits of the enumeration block are all 1 or all zeros from memory 1, and also if the contents of the block are shifted cyclically by a value equal to the block size reduced by one, i.e. for block 2, after shifts, and for block 5, after six shifts. At outputs 3 and 6, enumeration blocks 2 and 5, combinations of twelve elements of six each appear. After the first clock pulse at outputs 3 and 6 of enumeration blocks 2 and 5 there will be the first combination 1111110000OO, Since the pulse from the output of the element And 17 arrived on the delay of the delay element 18, before the arrival of the second clock pulse trigger 12 is in the slit state and the element And 11. The next six clock pulses received via bus 20 will pass through element 11 on advancing the intercepting block and input on element 10. And element 10 will be open if there is a signal on control 7 of block 7 of search 5. Thus, by six subsequent clock pulses, we get the following combinations: Sch110100000 111110010000 111110О01000 11111000010О 111110000010 1111100ОО001 Thus, six cyclic shifts of the search block 5 have occurred. After that, the control input 7 of the search block 5 appears. As there is a signal at control input 4 of block 2, an element 8 is assembled, and on the leading edge of the signal a trigger 12 is moved from its output to a single position and the search blocks 2 and 5 are reset to zero position through the first delay element 9. Next A pulsed pulse through element I 17 of the lane leads the distributor 19 to the third position, and the second row of memory block 1 is read. As a result, at outputs 3 and 6 of enumeration blocks 2 and 5,

етс  сочетание 1111011ООООО.is a combination of 1111011OOOOOO.

60 НИИ перебора сочетаний. Триггер 12 импульсом с элемента задержки 18 перебрасываетс  в нулевое состо ние и открываетс  элемент W 11. Следующие шесть тактовых импульсов поступ т на продвижение блока перебора 5, в результате чего получим следующие сочетани : 111100110000 1111О0011000 111100001100 111100000110 111100000011 111101000001 Так как содержимое блока перебора 5 сдвигалось шесть раз, на управл ющем входе 7 по вл етс  сигнал, который откры-вает элемент И 10. Следующий тактовый импульс осуществит циклический сдвиг содержимого блока перебора 2 и содержимого блока перебора 5. При этом на управл ющем кходе 7 блока перебора 5 пропадает сигнал и сдвиг этим тактовым импульсом не входит в подсчет импульсов сдвига дл  выдачи сигнала на управл ющем входе 7. В результате получаем очередное сочетание 011111100ООО. Последующие шесть тактовых имщ льсов поступ т на продвижение только блока перебора 5 и в результате получим еще шесть из двенадцати по шесть: 011110110000 011110011000 011110001100 011110000110 011110000011 011110000001 Далее оп ть происходит одновременный циклический сдвиг содержимого блоков перебора 2 и 5 при поступлении очередного тактового импульса. Последующие шесть тактовых импульсов циклически сдвигают только содержимое блока перебора 5 и т.д. до тех пор, пока на управл ющих входах 4 и 7 одновременно по в тс  сигналы. После этого происходит сброс содержимого блоков перебора 2 и 5 и очередной так- товый импульс, поступивший по шине 20, продвинет распределитель 19 в следующее положение и произойдет считывание очередной строки блока пам ти 1 в блоки перебора 2 и 5. Далее оп ть продолжаетс  и  лический сдвиг содержимого блоков перебора 2 и 5. Этот процесс повтор етс  до тех пор, пока не будут считаны все строки блока пам ти 1 и на шине 22 (последний выход распределител  19) не по витс  импульс, сигнализирующий об окончаФормула и зобретени 60 Research Institute busting combinations. The trigger 12 is transferred from the pulse element 18 to the zero state and the W 11 element opens. six times, a control signal appears at control input 7, which opens element AND 10. The next clock pulse will cycle the contents of search module 2 and the contents of search module 5. At the same time, On Go 7 of the search block 5, the signal disappears and the shift by this clock pulse is not included in the calculation of the shift pulses for issuing a signal at control input 7. As a result, we get the next combination 011111100OOO. The next six clocks are sent to advance only the enumeration block 5 and as a result we get six more from twelve six by four: The subsequent six clock pulses cyclically shift only the contents of the enumeration block 5, and so on. as long as the control inputs 4 and 7 simultaneously receive the signals. After that, the contents of the search blocks 2 and 5 are reset and the next clock pulse received via bus 20 advances the distributor 19 to the next position and the next line of memory 1 is read into search blocks 2 and 5. Next, Shifting the contents of the enumeration blocks 2 and 5. This process is repeated until all the rows of memory block 1 have been read and the bus 22 (the last output of the distributor 19) does not receive a pulse signaling the end of the formula and the invention

Устройство дл  перебора сочетаний, содержащее блок пам ти, управл ющие входы которого св заны с выходами распределител , а выходы подключены к соответствующим входам двух блоков перебора, элементы И, элементы задержки и триггер , отличающеес  тем, что, с целью повышени  быстродействи , входы блоков перебора соединены со входами первого элемента И, выход которого подключен ко входу сброса распределител  и через элемнет задержки ко входу сбро8A device for enumerating combinations containing a memory block whose control inputs are connected to the outputs of the distributor, and the outputs are connected to the corresponding inputs of two enumeration blocks, AND elements, delay elements and a trigger, characterized in that, to increase speed, the inputs of the blocks busting is connected to the inputs of the first element I, the output of which is connected to the reset input of the distributor and through the element delay to the input reset 8

са блоков перебора, управл ющий вход Первого из которых подключен к выходу второго элемента И, один из входов которого соединен с выходом второго блока перебора , а другой вход - с его управл ющим входом и с выходом третьего элемента И, один из входов которого и один из входов четвертого элемента И подключены к щине тактовых сигналов, а их другие входы соединены с соответствующими выходами триггера, входы которого подключены к выходу первого элемента И и через другой элемент задержки к управл ющему входу распределител  и к выходу четвертого элемента И.sa of the enumeration blocks, the control input of the First of which is connected to the output of the second element I, one of the inputs of which is connected to the output of the second enumeration unit, and the other input with its control input and with the output of the third element I, one of the inputs of which one from the inputs of the fourth element I are connected to the clock clock, and their other inputs are connected to the corresponding outputs of the trigger, the inputs of which are connected to the output of the first element I and through another delay element to the control input of the distributor and to the output quarter element I.

21 о21 o

SU1956682A 1973-09-03 1973-09-03 Device for sorting combinations SU525948A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU1956682A SU525948A1 (en) 1973-09-03 1973-09-03 Device for sorting combinations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU1956682A SU525948A1 (en) 1973-09-03 1973-09-03 Device for sorting combinations

Publications (1)

Publication Number Publication Date
SU525948A1 true SU525948A1 (en) 1976-08-25

Family

ID=20563802

Family Applications (1)

Application Number Title Priority Date Filing Date
SU1956682A SU525948A1 (en) 1973-09-03 1973-09-03 Device for sorting combinations

Country Status (1)

Country Link
SU (1) SU525948A1 (en)

Similar Documents

Publication Publication Date Title
SU525948A1 (en) Device for sorting combinations
SU1247854A1 (en) Device for generating pulses
SU512472A1 (en) Device for sorting combinations
SU1307587A1 (en) Frequency divider with variable countdown
SU1411747A1 (en) Multichannel variable priority device
SU410440A1 (en)
SU463234A1 (en) Device for dividing cycle time into fractional number of intervals
SU951402A1 (en) Data shift device
SU1195430A2 (en) Device for generating time intervals
SU406226A1 (en) SHIFT REGISTER
SU1012239A1 (en) Number ordering device
SU488344A1 (en) Reversible distributor
SU419947A1 (en) DEVICE FOR REGISTRATION OF TELEMECHANICAL INFORMATION
SU1224789A1 (en) Device for measuring time intervals
SU1511851A1 (en) Device for synchronizing pulses
SU576574A1 (en) Device for scanning combinations
SU1480146A1 (en) Device for shaping phase-manipulated signals
SU1196897A1 (en) Device for forming ordinal statistics
SU374586A1 (en) GENERATOR OF RECURRENT SEQUENCE WITH SELF-MONITOR
SU1374213A1 (en) Controlled pulse distributor
SU1425631A1 (en) Digital function generator
SU524320A1 (en) Controlled frequency divider
SU362292A1 (en) DEVICE FOR THE SELECTION OF CODES-SECURITY-UNILAAHTHD'TEXHIISECHA LIBRARY
SU1179325A1 (en) Random number sequence generator
SU1387182A1 (en) Programmed multichannel timer