SU1341649A1 - Device for determining number of subgraph nodes of graph - Google Patents
Device for determining number of subgraph nodes of graph Download PDFInfo
- Publication number
- SU1341649A1 SU1341649A1 SU864066094A SU4066094A SU1341649A1 SU 1341649 A1 SU1341649 A1 SU 1341649A1 SU 864066094 A SU864066094 A SU 864066094A SU 4066094 A SU4066094 A SU 4066094A SU 1341649 A1 SU1341649 A1 SU 1341649A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- input
- output
- elements
- vertices
- Prior art date
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано дл решени комбинаторных задач , таких как выделение св занных подмножеств, при этом достигаетс сокращение аппаратурных затрат. Устройство содержит группу элементов ИЛИ 1. . .1,, группу триггеров 2. ..2,две группы элементов И 3 ...3, 17 ... 17 , блок 4 задани топологии, дифференцирующие элементы 5...5, элементы ИЛИ 6 и 10, регистр 7 сдвига, две группы регистров 8...8, 18, ... 18, , триггер 9, вход 11 установки в ноль, генератор 13 тактовых импульсов, два элемента И 12 и 14, распределитель 15 импульсов, элемент 16 задержки, узлы 19 ...19 индикации числа вершин , узлы 20 ...20 индикации номеров вершин, счетчик 21, где п - число вершин исследуемого графа, а k - число подграфов исследуемого графа. 2 ил. Ш 1(Л СА: д; ет соThe invention relates to computing and can be used to solve combinatorial problems, such as isolating related subsets, while reducing hardware costs. The device contains a group of elements OR 1.. .1 ,, group of triggers 2. ..2, two groups of elements AND 3 ... 3, 17 ... 17, block 4 tasks of topology, differentiating elements 5 ... 5, elements OR 6 and 10, shift register 7 , two groups of registers 8 ... 8, 18, ... 18, trigger 9, input 11 set to zero, generator 13 clocks, two elements And 12 and 14, distributor 15 pulses, element 16 delay, nodes 19. ..19 indications of the number of vertices, nodes 20 ... 20 indications of the numbers of the vertices, counter 21, where n is the number of vertices of the graph under study, and k is the number of subgraphs of the graph under study. 2 Il. Ш 1 (Л СА: д; ет со
Description
1.1-V1.1-v
113113
Изобретение относитс к вычислительной технике и может быть использовано при построении специализированных устройств, предназначенных дл автоматизированного конструировани радиоэлектронной и электронно- вычислительной аппаратуры, а также при решении задач оптимизации сетей св зи.The invention relates to computing and can be used in the construction of specialized devices for the automated design of electronic and computer equipment, as well as in solving problems of communication network optimization.
Цель изобретени - снижение аппаратурных затрат путем сокращени группы счетчиков.The purpose of the invention is to reduce hardware costs by reducing the group of meters.
На фиг. 1 приведена структурна схема предлагаемого устройства; на фиг. 2 - реализаци блока задани топологии графа.FIG. 1 shows a block diagram of the proposed device; in fig. 2 - implementation of the task block of the graph topology.
Устройство содержит группу элементов ИЛИ, группу триггеров 2, первую группу 3|-3 элементов И, блок 4 задани топологии графа, дифференцирующие элементы , первый элемент ИЛИ 6, регистр 7 сдвига,первую группу регистров (с, триггер 9, второй элемент ИЛИ 10, вход 11 установки в О устройства, первый элемент И 12, генератор 13 тактовых импульсов, второй элемейт И 14, распределитель 15 импульсов, элемент 16 задержки, вторую группу элементов И, вторую группу регистров , узлы индикации 19,-19 числ вершин, узлы индикации номеров вершин, счетчик 21.The device contains a group of elements OR, a group of flip-flops 2, the first group 3 | -3 elements AND, a block 4 specifying the graph topology, differentiating elements, the first element OR 6, the shift register 7, the first group of registers (s, trigger 9, the second element OR 10 , the input 11 of the installation in the device, the first element And 12, the generator 13 clock pulses, the second element And 14, the distributor 15 pulses, the element 16 delay, the second group of elements And, the second group of registers, display nodes 19, -19 numbers of vertices, nodes indication of vertex numbers, counter 21.
Блок задани топологии графа содержит п одинаковых моделей вершин, кажда из которых содержит элементы И 22 и 23, элементы ИЛИ 24, эле- менты И 25-27, j-й вход 28 блока задани топологии, входы 29-32 j-й группы блока задани топологии, выход 33 блока задани топологии и элемент ИЛИ 34,The block for setting the topology of a graph contains n identical models of vertices, each of which contains elements AND 22 and 23, elements OR 24, elements AND 25-27, the j-th input 28 of the block specifying the topology, inputs 29-32 of the j-th group of the block topology assignments, output 33 topology assignment blocks and the OR element 34,
Устройство работает следующим образом .The device works as follows.
Перед началом работы по шине 11 на триггеры 2 ,,-2 и 9, регистр 7 сдвига, регистры 8,|-8|, распределитель 15 импульсов, который также представл ет собой регистр сдвига.Before starting work on bus 11 for triggers 2, -2 and 9, shift register 7, registers 8, | -8 |, the distributor 15 pulses, which is also a shift register.
счетчик 21 и регистры 18i-18 подает1 пcounter 21 and registers 18i-18 feeds 1 p
с сигнал установки исходного состо ни . При этом на нулевых выходах всех разр дов регистра 7 устанавливаютс единичные потенциалы, которые вызывают по вление единичного сигнала на выходе элемента И 14. Этот сигнал записывает единицу в первый разр д распределител 15 и через элемент 16c. the initial state setup signal. At the same time, at the zero outputs of all bits of the register 7, unit potentials are established, which cause the appearance of a single signal at the output of element 14. This signal records the unit at the first digit of the distributor 15 and through element 16
00
5five
00
5five
00
5five
задержки и элемент И.ПИ 1 задним фронтом переводит триггер 2 в единичное состо ние. Единичный потенциал с выхода этого триггера поступает на вход первой вершины блока 4 задани топологии графа и по вл етс на выходе первой вершины и на выходах всех тех вершин, которые образуют множество св занных вершин. Через дифференцирующие элементы 5 -5 единичные импульсы с возбужденных выходов (вершин графа) блока 4 поступают через элементы ИЛИ 1j-1 на единичные вхо- 5 ды соответствующих триггеров , которые переход т в единичное состо ние , фиксируют св занный подграф, Единичные импульсы с дифференцирующих элементов 5:,-5 записываютс в соответствующие разр ды сдвигающего регистра 7, а также регистра 8, так как в данный момент разрешающий потенциал имеетс на первом выходе распределител 15 и, кроме того, любой из этих импульсов через элемент ИЛИ 10 переводит триггер 9 в единичное состо ние. При этом открываетс элемент И 12 и тактовые импульсы с генератора 13 начинают поступать на сдвигающий вход регистра 7,delays and the I.PI 1 element at the trailing edge triggers trigger 2 into a single state. A single potential from the output of this trigger enters the input of the first vertex of block 4, the graph topology, and appears at the output of the first vertex and at the outputs of all those vertices that form the set of connected vertices. Through the differentiating elements 5 -5, single impulses from the excited outputs (graph vertices) of block 4 arrive through the elements OR 1j-1 to the single inputs of the corresponding triggers, which go to the single state, fix the associated subgraph, Single pulses from the differentiating elements 5: - 5 are written to the corresponding bits of the shift register 7, as well as register 8, since at the moment the resolving potential is on the first output of the distributor 15 and, moreover, any of these pulses through the element OR 10 is reused Diet trigger 9 in one state. When this opens, the element And 12 and the clock pulses from the generator 13 begin to flow to the shift input of the register 7,
Каждый тактовый импульс сдвигает код регистра 7 на один разр д. При этом кажда единица с последнего разр да регистра 7 считываетс в счетчик 21. Считывание происходит до тех пор, пока регистр 7 полностью не обнулитс . Например, если в регистр 7 записан код 1001100, то два первых тактовых импульса записи в счетчик 21 не дают, третий и четвертый импульсы записывают две единицы, затем п тый и шестой импульсы состо ние счетчика 21 также не измен ют и седьмой импульс записьтает третью единицу в счетчик 21. Это свидетельствует о том, что первый подграф состоит из трех св занных вершин, номера которых 1, 4 и 5 записаны в регистр 8,. При обнулении регистра 7 на егоEach clock pulse shifts the register code 7 by one bit. In this case, every unit since the last bit of register 7 is read into counter 21. The reading occurs until register 7 is completely reset. For example, if code 1001100 is recorded in register 7, then the first two clock pulses to write to counter 21 do not give, the third and fourth pulses record two units, then the fifth and sixth pulses of the state of counter 21 also do not change and the seventh pulse records the third unit in counter 21. This indicates that the first subgraph consists of three connected vertices, whose numbers 1, 4 and 5 are written in register 8 ,. When resetting the register 7 on its
нулевых выходах по вл ютс единичные потенциалы, которые открывают элемен-. ты И 14, 17, , через которые содержимое счетчика 21 считыйаетс в регистр . Один тактовый импульс генератора 13„ пройд через элемент И 14, записывает единицу во второй разр д распределител 15 импульсов и тем самым разрешает запись в регистр 18 и регистр 8. Этот тактовый им3zero outputs appear single potentials that open up the element. You are And 14, 17, through which the contents of counter 21 are read into a register. One clock pulse of the oscillator 13 passes through the element I 14, writes a unit to the second digit of the distributor 15 pulses and thereby allows writing to register 18 and register 8. This clock name3
пульс через элемент 16 задержки сбрсывает в О счетчик 21, а пройд через элемент ИЛИ 6, перебрасывает триггер 9 в нулевое состо ние, чем заблокируетс на врем прохождение тактовых импульсов на регистр 7, а через один из открытых элементов И 3,-3, устанавливает в единичное состо ние тот из триггеров 2,-2 , которому предшествуют триггеры, установленные в единичное состо ние ра- .нее.the pulse through delay element 16 resets to counter 21, and after passing through element 6 or 6, flips trigger 9 to the zero state, thereby blocking the clock pulses to register 7, and through one of the open elements 3, -3, sets in the one state, that of the flip-flops 2, -2, preceded by the flip-flops, set in the single state, is more equal.
В соответствии с приведенным выше примером в единичное состо ние переводитс триггер 2 , что позвол ет выбрать новую вершину графа, не вошедшую в первый подграф, и аналогично описанному, возбудить все вершины ,, образующие второй св занный подграф . При этом также происходит запись номеров вершин второго подграфа , но уже в регистр 8, В единичное состо ние устанавливаютс соответствующие триггеры , происходит запись кода в регистр 7 и через элемент РШИ 10 в единичное состо ние устанавливаетс триггер 9. После этого начинаетс считьшание из регистра 7 в счетчик 21 числа вершин второго подграфа. После обнулени регистра 7 тактовый импульс передвигает единицу на третий выход распределител 15 импульсов, а через элемент 16 задержки поступает на тот из непереведенных в единичное состо ние триггеров 2,-2, который имеет минимальный индекс. Если все триггеры наход тс в единичном состо нии , то этот- тактовый импульс по вл етс на выходе элемента И 3„,сигнал с которого останавливает работу устройства, заблокировав посредством элемента ИЛИ 6, триггера 9 и элемента И 12 прохождение тактовых импульсов на регистр 7, и подает сигнал разрешени на углы 19;,-19| и 20 20 индикации. При этом высвечиваютс соответственно число вершин в каждом подграфе и их номера.In accordance with the above example, trigger 2 is translated into a single state, which allows you to select a new vertex of the graph that was not included in the first subgraph, and similarly to the described one, excite all vertices that form the second connected subgraph. At the same time, the numbers of the vertices of the second subgraph are also recorded, but already in register 8, the corresponding triggers are set to one, the code is written to register 7, and trigger 9 is set to one in Element 10. After this, the matching from register 7 begins in the counter 21 the number of vertices of the second subgraph. After zeroing the register 7, the clock pulse moves the unit to the third output of the distributor 15 pulses, and through the delay element 16 it goes to that of the flip-flops 2, -2 that have the minimum index untranslated. If all the triggers are in a single state, this clock pulse appears at the output of the AND 3 " element, the signal from which stops the operation of the device, blocking by means of the OR 6 element, the trigger 9 and the AND 12 element the passage of the clock pulses to the register 7 , and gives the resolution signal at angles 19;, - 19 | and 20 20 indications. In this case, the number of vertices in each subgraph and their numbers are highlighted accordingly.
Блок задани топологии графа 4 позвол ет передавать сигнал на выход всех св занных вершин при его наличии на входе хот бы одной из них. Блок позвол ет отображать топологию любого графа на п заданных вершинах. Дл этого кажда верйина графа отображаетс элементом ИЛИ 34 с п-1 числом входов, элементами И 22 и 23 и эле416А94The unit for setting the topology of graph 4 makes it possible to transmit a signal to the output of all connected vertices, if it exists at the input of at least one of them. The block allows you to display the topology of any graph on n specified vertices. For this, each veryin of the graph is mapped by an OR 34 element with n-1 number of inputs, And 22 and 23 elements, and ele166A94
ментом ИЛИ 24, а дл отображени ребер, которые могут св зывать любую вершину со всеми остальными,используетс п-1 элемент И 25-27,coping OR 24, and for displaying edges that can connect any vertex with all the others, use n-1 element AND 25-27,
Если данна вершина участвует в графе, то на вход 29 необходимо подать единичный потенциал, если определенные ребра участвуют в графе, тоIf a given vertex participates in a graph, then a single potential must be applied to input 29, if certain edges participate in the graph, then
Q на соответствующие входы 30, 31 или 32 необходимо тоже подать единичные потенциалы. При этом элемент И 22 запрещает прохождение сигналов по ребрам с участвующей в графе вершиныQ to the corresponding inputs 30, 31 or 32, you must also apply unit potentials. In this case, the element And 22 prohibits the passage of signals along the edges from the vertex participating in the graph
15 на неучаствующую, а элемент И 23 осуществл ет запрет перебора неучаствующих в графе вершин. При подаче на вход 28 одной из вершин единичного потенциала он по вл етс на выходах15 to non-participating, and And 23 performs the prohibition of iteration of non-participating vertices in the graph. When fed to the input 28 of one of the vertices of the unit potential, it appears at the outputs
2Q 33 всех вершин. Б соответствии с описанным процессом работы устройства в регистре 18 фиксируютс 4 вершины, которые высвечиваютс на узле 19, индикации , а в регистре 8, фиксируютс 2Q 33 all vertices. In accordance with the described operation of the device, in register 18, 4 vertices are fixed, which are displayed on node 19, indications, and in register 8, are fixed
25 номера вершин, которые высвечиваютс на узле 20, индикации.25 numbers of vertices that are displayed on node 20 of the display.
Структура блока задани топологии графа позвол ет отображать любую топологию как ориентированных, так иThe block structure of the graph topology allows you to display any topology of both oriented and
30 неориентированных графов, каждое ребро которых отображаетс парой встречно направленных ребер, соедин ющих две вершины.30 undirected graphs, each edge of which is mapped by a pair of oppositely directed edges connecting two vertices.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864066094A SU1341649A1 (en) | 1986-05-13 | 1986-05-13 | Device for determining number of subgraph nodes of graph |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864066094A SU1341649A1 (en) | 1986-05-13 | 1986-05-13 | Device for determining number of subgraph nodes of graph |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1341649A1 true SU1341649A1 (en) | 1987-09-30 |
Family
ID=21237185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864066094A SU1341649A1 (en) | 1986-05-13 | 1986-05-13 | Device for determining number of subgraph nodes of graph |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1341649A1 (en) |
-
1986
- 1986-05-13 SU SU864066094A patent/SU1341649A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 656073, кл. G 06 F 15/36, 1976. Авторское свидетельство СССР № 1101834, кл. G 06 F 15/20, 1982. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1341649A1 (en) | Device for determining number of subgraph nodes of graph | |
SU1101834A1 (en) | Device for determining graph characteristics | |
SU830377A1 (en) | Device for determining maximum number code | |
SU1571593A1 (en) | Device for checking digital units | |
SU1322252A1 (en) | Device for output of displayed information | |
SU1241221A1 (en) | Information output device | |
SU1251049A1 (en) | Device for determining route | |
SU696471A1 (en) | Task distribution control device | |
SU1218392A1 (en) | Device for simulating graphs | |
SU423176A1 (en) | DEVICE FOR SHIFT INFORMATION | |
SU538357A1 (en) | Device for converting information | |
SU1370754A1 (en) | Pulse monitoring device | |
SU650101A1 (en) | Storage | |
SU1300459A1 (en) | Device for sorting numbers | |
SU1226472A1 (en) | Device for generating tests | |
SU943731A1 (en) | Device for code sequence analysis | |
SU1363235A2 (en) | Device for distributing problems in multiprocessor system | |
SU375787A1 (en) | ^ YSSHOEWIAY | |
SU1661754A1 (en) | Device for detecting extreme numbers | |
SU1302280A1 (en) | Device for servicing requests | |
SU1758651A1 (en) | Device for simulating queueing systems | |
SU834663A1 (en) | Multichannel device for time intervals in non-periodic pulse trains | |
SU1091191A1 (en) | Device for simulating probabilistic graph | |
SU1005107A1 (en) | Graphic data registstering device | |
SU1038950A1 (en) | Hystogram device |