SU748428A1 - Device for resolution of graph into trees - Google Patents
Device for resolution of graph into trees Download PDFInfo
- Publication number
- SU748428A1 SU748428A1 SU782588679A SU2588679A SU748428A1 SU 748428 A1 SU748428 A1 SU 748428A1 SU 782588679 A SU782588679 A SU 782588679A SU 2588679 A SU2588679 A SU 2588679A SU 748428 A1 SU748428 A1 SU 748428A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- inputs
- outputs
- input
- elements
- graph
- Prior art date
Links
Description
Союз Советских Социалистических РеспубликUnion of Soviet Socialist Republics
Государственный комитет СССР по делам изобретений и открытийUSSR State Committee for Inventions and Discoveries
ОПИСАНИЕ ИЗОБРЕТЕНИЯDESCRIPTION OF THE INVENTION
К АВТОРСКОМУ СВИДЕТЕЛЬСТВУ (61) Дополнительное к авт. свид-ву (22) Заявлено 10.03.78 (21) 2588679/18-24 с присоединением заявки N9 (23) Приоритет Опубликовано 15.07.80. Бюллетень N9 26TO AUTHOR'S CERTIFICATE (61) Additional to author. certificate-wu (22) Declared 10.03.78 (21) 2588679 / 18-24 with the addition of application N9 (23) Priority Published on 07.15.80. Bulletin N9 26
Дата опубликования описания 15.0780 (72) Автор изобретенияDate of publication of the description 15.0780 (72) Author of the invention
Червяцов (71) ЗаявительChervyatsov (71) Applicant
(.,)748428 (51 )М. Кл/(.,) 748 428 (51) M. CL /
G Об G 7/122 (53) УДК 681. ззз (088.8) /G About G 7/122 (53) UDC 681. zzz (088.8) /
(54) УСТРОЙСТВО ДЛЯ РАЗЛОЖЕНИЯ ГРАФА(54) DECOMPOSITION DEVICE
НА ДЕРЕВЬЯON TREES
Изобретение относится вычислительной техники и к области может быть использовано для определения характеристик разложения графа на деревья при исследовании надежности систем, отображаемых вероятностными графа ми.The invention relates to computer technology and can be used in the field to determine the characteristics of decomposition of a graph into trees when studying the reliability of systems displayed by probability graphs.
Известно устройство для поиска прадеревьев направленного графа, ’θ содержащее ключевую матрицу, кольцевые коммутаторы, генератор тактовых импульсов, триггеры, схемы И, схемы задержки, блокирующую ячейку, инвертор. Это устройство позволяет 15 сократить число тактовых импульсов, необходимых для поиска всех пра-. деревьев в направленном графе путем исключения частичных графов, в которых повторяются не связанные с кор- 20 нем компоненты, содержащиеся в ранее рассмотренных частичных графах. Это устройство характеризуется сле)дующими недостатками: отсутствие возможности исследовать ненаправленный *5 граф) отсутствие возможности определения числа деревьев, образованных с участием каждого отдельного ребра графа; отсутствие возможности управления процессом образования деревьев;30 отсутствие возможности определения 'характеристик разложения графа на деревья.A device is known for searching for the great-trees of a directed graph, ’θ containing a key matrix, ring switches, a clock generator, triggers, AND circuits, delay circuits, a blocking cell, an inverter. This device allows 15 to reduce the number of clock pulses required to search for all the right. trees in a directed graph by eliminating partial graphs in which the components not related to the root contained in the previously considered partial graphs are repeated. This device is characterized by the following disadvantages: the inability to investigate an undirected * 5 graph) the inability to determine the number of trees formed with the participation of each individual edge of the graph; the inability to control the process of tree formation; 30 the inability to determine the characteristics of the decomposition of the graph into trees.
* Известно устройство для нахождения деревьев графа £2] , содержащее блок индикации, счетчики, диоды, переключатели, линию задержки, блоки коэффициентов пересчета, счетчики числа деревьев. Этому устройству присущи следующие недостатки: отсутствие возможности определения числа деревьев, образованных с участием каждого отдельного ребра графа·, отсутствие возможности управления процессом образования деревьев; отсутствие возможности определения характеристик разложения графа на деревья.* A device for finding trees of the graph £ 2] is known, which contains an indication unit, counters, diodes, switches, delay line, blocks of conversion factors, counters of the number of trees. The following disadvantages are inherent in this device: the inability to determine the number of trees formed with the participation of each individual edge of the graph · the inability to control the process of tree formation; the inability to determine the characteristics of the decomposition of the graph into trees.
Наиболее близким техническим решением к изобретению является устройство для определения числа деревьев [3],содержащее элемент И, входы которого подключены к выходам первого наборного поля, входы которого соединены с выходами ключей, выход элемента И подключен к счетному входу одного счетчика и к первым входам элементов И первой группы, выходы которых соединены'с счетными входами других *счетчиков, выходы сброса счетчиков и нулевые входы триггеров ( N -1) групп подключены к входу сброса 'устройства, единичные входы триггеров (м -1) групп соединены с входами записи устройства. Кроме того, устройство содержит блок перебора состояний.The closest technical solution to the invention is a device for determining the number of trees [3], containing the And element, the inputs of which are connected to the outputs of the first typesetting field, the inputs of which are connected to the outputs of the keys, the output of the And element is connected to the counting input of one counter and to the first inputs of the elements And the first group, the outputs of which are connected to the counting inputs of other * counters, the reset outputs of the counters and the zero inputs of the triggers (N -1) of the groups are connected to the reset input of the device, the single inputs of the triggers (m -1) of the groups of enes with the recording device inputs. In addition, the device contains a state enumeration unit.
Недостатками прототипа являются: отсутствие возможности управления процессом образования деревьев; отсутствие возможности определения характеристик разложения графа на деревья. Характеристиками разложения графа на деревья являются числа подмножеств, в которых деревья имеют постоянными одно, два и т. д. ребер.The disadvantages of the prototype are: the lack of control over the process of tree formation; the inability to determine the characteristics of the decomposition of the graph into trees. The characteristics of the decomposition of a graph into trees are the numbers of subsets in which the trees have one, two, etc. edges constant.
Цель изобретения - повышение точности исследования путем реализации дополнительной функции определения чисел подмножеств, в которых деревья имеют постоянными одно, два и т. д. ребер, и представления возможности управления процессом образования деревьев.The purpose of the invention is to increase the accuracy of research by implementing the additional function of determining the numbers of subsets in which trees have one, two, etc., edges, and represent the possibility of controlling the process of tree formation.
Цель достигается тем, что в устройство/ содержащее элемент И, входы которого подключены к выходам первого наборного поля, входы которого соединены с выходами ключей, выход элемента И подключен к счетному входу одного счетчика и к первым вхбдам элементов И первой группы, выходы которых соединены с счетными входами других счетчиков, выходы сброса счетчиков и нулевые входы триггеров , ( b\ - 1 ) групп подключены к входу сброса устройства, единичные входы триггеров ( М - 1 ) групп соединены с входами записи устройства, введены элементы задержки, вторая группа элементов И, элементы -запрета, второе и третье наборные поля и ( N -1) распределителей, входы первого распределителя соединены с единичными выходами триггеров первой группы, входы остальных распределителей подключены к выходам элементов запрета, первые входы которых соединены с единичными выходами триггеров остальных групп.· вторые входы элементов запрета подключены к выходам второго наборного поля, выходы (N - 1) распределителей соединены с входами третьего наборного поля, выходы которого подключены к управляющим входам ключей, управляющий вход (. N -1)-го распределителя соединен с входом тактовых импульсов устройства и с одними входами элементов И второй группы, другие входы которых подключены к управляющим выходам соответствующих распределителей, выход первого элемента И второй группы соединен с выходом устройства, выходы остальных элементов И второй группы подключены к управляющим входам соответствующих распределителей и через элементы задержки к вторым входам соответствующих элементов И первой группы, вход считывания первого наборного поля соединен с входом опроса устройства,входы второго наборного поля соединены с выходами первых N -2 распределителей.The goal is achieved by the fact that in the device / containing the AND element, the inputs of which are connected to the outputs of the first typesetting field, the inputs of which are connected to the key outputs, the output of the And element is connected to the counting input of one counter and to the first inputs of the And elements of the first group, the outputs of which are connected to the counter inputs of other counters, the outputs of the counter reset and the zero inputs of the triggers, (b \ - 1) groups are connected to the reset input of the device, the individual inputs of the triggers (M - 1) of the groups are connected to the recording inputs of the device, delay elements are introduced, sec I group of AND elements, forbidden elements, the second and third typesetting fields and (N -1) distributors, the inputs of the first distributor are connected to the unit outputs of the triggers of the first group, the inputs of the remaining distributors are connected to the outputs of the inhibit elements, the first inputs of which are connected to the unit outputs of triggers other groups. · the second inputs of the ban elements are connected to the outputs of the second dialed field, the outputs (N - 1) of the distributors are connected to the inputs of the third dialed field, the outputs of which are connected to the control inputs of the keys, directs input (. The N -1) th distributor is connected to the input of the device’s clock pulses and to one of the inputs of the elements of the second group, the other inputs of which are connected to the control outputs of the respective valves, the output of the first element of the second group is connected to the output of the device, the outputs of the remaining elements of the second group are connected to the control inputs of the respective valves and through the delay elements to the second inputs of the corresponding elements of the first group, the read input of the first typesetting field is connected to the polling input of the device wa, the inputs of the second typesetting field are connected to the outputs of the first N -2 distributors.
Функциональная схема устройства представлена на чертеже.Functional diagram of the device shown in the drawing.
Устройство содержит элемент И 1, первое наборное поле 2, ключи (ребер), счетчики 42т 4К, элементы И 5Ч.А первой группы, триггерыThe device contains an element And 1, the first type-setting field 2, keys (ribs), counters 4 2 t 4 K , elements And 5 H And the first group, triggers
64< т (ребер), элементы запрета 714 -г 7н_4,м_а , распределители т θΝΌ второе наборное поле 9, элементы И 104- 10(^ второй группы, третье наборное поле 11, элементы задержки 122 = 12Ν., , вход сброса 13, вход тактовых импульсов 14, вход опроса 15, выход импульсов останова 16,вход записи 17.В триггерах 6 ·, , - номер вершины, j -номер ребра, инцидентного данной вершине.6 4 < m (ribs), prohibition elements 7 14- r 7 n _4, m _ a , valves m θΝΌ second set-up field 9, elements I 104-10 ( ^ of the second group, third set-up field 11, delay elements 12 2 = 12 Ν .,, Reset input 13, clock input 14, polling input 15, stop pulse output 16, recording input 17. In triggers 6 ·,, is the vertex number, j is the number of the edge incident to this vertex.
В работе устройства следует выделить два этапа: этап задания структуры графа и этап исследования .структуры графа.In the operation of the device, two stages should be distinguished: the stage of setting the graph structure and the stage of studying the graph structure.
Рассмотрим этап.задания структуры графа. Основой для задания графа, в устройстве является граф, имеющий N вершин 'й М ребер, в- котором все элементы перенумерованы. Элементы устройства упорядочиваются в соответствии с принятой нумерацией. Номера вершин присваиваются распределителям 8 и входам., элемента И 1. Количество распределителей равной -1, количество входов элемента И 1 равно Н . Номера ребер, инцидентных вершинам присваиваются входным и выходным цепям' распределителей 8.Номера возрастают слева направо.Consider the step of setting the graph structure. The basis for specifying a graph in the device is a graph having N vertices of the nth M edges, in which all elements are renumbered. Elements of the device are ordered in accordance with the accepted numbering. Vertex numbers are assigned to the distributors 8 and the inputs., Of the And element 1. The number of distributors is -1, the number of inputs of the And 1 element is H. The numbers of edges incident to the vertices are assigned to the input and output circuits of the distributors 8. The numbers increase from left to right.
На наборном поле 2 входы Элемента И 1 и ключи (ребер) 3^ т Зм соединяются в топологическую схему графа. На наборном поле 11 выходы распределителей 8 и входы ключей 3, соответствующие одноименным ребрам графа, соединяются между собой. На наборном поле 9 выходы распределителей 8 и входы элементов запрета 7, соответствующие одноименным ребрам, но инцидентные разным вершинам, соединяются Между собой. При этом соблюдается правило: выход распределителя, соответствующего вершине с меньшим номером, должен быть соединен с входом одноименного элемента запрета, соответствующего вершине с большим номером.On a typesetting field 2, the inputs of the Element I 1 and the keys (edges) 3 ^ m 3 m are connected into a topological diagram of the graph. On the type-setting field 11, the outputs of the distributors 8 and the inputs of the keys 3 corresponding to the edges of the same name in the graph are interconnected. On the type-setting field 9, the outputs of the distributors 8 and the inputs of the inhibit elements 7, corresponding to the edges of the same name, but incident to different vertices, are interconnected. In this case, the rule is observed: the output of the distributor corresponding to the vertex with the lower number must be connected to the input of the same prohibition element corresponding to the vertex with the higher number.
В дальнейшем на этапе исследования графа работа устройства протекает по тактам. В первом такте поступает сигнал по входу сброса 13 на нулевые входы триггеров 6 и стирающие входы счетчиков 4. Триггеры и счетчики устанавливаются в исходное состояние.In the future, at the stage of studying the graph, the operation of the device proceeds in steps. In the first cycle, a signal is received at the reset input 13 to the zero inputs of the triggers 6 and the erasing inputs of the counters 4. The triggers and counters are set to their initial state.
Во втором такте в соответствии с матрицей инцидентности поступают сигналы на единичные входы триггеров 5 (рёбер) 6, которые устанавливаются в состояние 1. С единичных выходов триггеров б (ребер), инцидентных первой вершине, поступают сигналы на входы распределителя первой вершины. Ю С единичных выходов триггеров б (ребер), инцидентных остальным вершинам/ сигналы поступают на входы соответствующих распределителей через элементы запрета 7. В каждом 15 распределителе возбуждается один выход, соответствующий возбужденному входу с меньшим номером. Сигналы с выходов распределителей поступают через схему коммутаций наборного поля 9 на входы соответствующих элементов запрета 7, а через схему коммутаций наборного поля 11 на входы соответствующих ключей 3. При этом запрещаются сигналы на одноименных __ выходах распределителей, соответст- ^3 вующих вершинам со старшими номерами. В результате в каждом распределителе будет возбужден только один выход, причем среди возбужденных выходов не будет одноименных. Воз- ’θ бужденные выходы будут иметь меньшие номера из множества разрешенных номеров.In the second cycle, in accordance with the incidence matrix, signals are sent to the unit inputs of triggers 5 (edges) 6, which are set to state 1. From the unit outputs of triggers b (edges) incident to the first vertex, signals are sent to the inputs of the distributor of the first vertex. From the single outputs of the triggers b (edges) incident to the other vertices, the signals are fed to the inputs of the corresponding distributors via the inhibit elements 7. In each 15 distributor, one output corresponding to the excited input with a lower number is excited. The signals from the outputs of the distributors come through the switching circuit of the dial field 9 to the inputs of the corresponding inhibit elements 7, and through the switching circuit of the dial field 11 to the inputs of the corresponding keys 3. In this case, the signals at the same __ outputs of the distributors corresponding to ^ 3 corresponding vertices with senior numbers are prohibited . As a result, only one output will be excited in each distributor, and among the excited outputs there will not be the same output. The excited outputs will have lower numbers from the set of allowed numbers.
При поступлении сигналов на управляющие входы ключей 3· образуется 35 электрический контакт между их полюсами.Upon receipt of signals at the control inputs of the keys 3 · 35 electrical contact is formed between their poles.
В третьем такте поступает сигнал на вход опроса 15, который через схему коммутаций наборного поля 2 4Q поступает на. входы элемента И 1. Если возбужденные выходы распределителей соответствуют ребрам, образующим дерево, то срабатывает элемент И 1 и с его выхода подается сигнал в пос-45 ледний счетчик 4.In the third cycle, a signal is received at the input of the polling 15, which is supplied to through the switching circuit of the type-setting field 2 4Q. inputs of the element And 1. If the excited outputs of the distributors correspond to the edges forming a tree, then the element And 1 is activated and from its output a signal is sent to the post-45 ice counter 4.
В четвертом такте поступает сигнал на вход тактовых импульсов 14, который подается на управляющий вход последнего распределителя 8 и входы эле-зд 'ментов И 10. При этом.возбуждается очередной по номеру из разрешенных выходов последнего распределителя 8. Дальнейшая работа устройства протекает путем чередования третьего' и __ четвертого тактов до тех пор, пока 33 не будет возбужден последний из разрешенных выходов последнего распределителя. Тогда—с управляющего выхода распределителя подается сигнал на разрешающий вход соответствую- 60 щего элемента И 10. Очередной сигнал, поступающий на вход тактовых импульсов 14, проходит на вход 14’4 -го, а через элемент Й 10 на вход(4-2-го распределителей и на вход Н-2 -го эле- . 65 мента задержки 12. Если выполняются условия образования дерева, то при поступлении сигнала на вход опроса 15 сработает элемент И 1. В результате поступит сигнал на входы N -го и N -1 -го счетчиков. При этом возбуждаетсяочерёдной разрешенный выход в N -2-м распределителе и возбуждается младший из разрешенных (с учетом нового состояния N-2-го распределителя) выходов N -1-го распределителя..Таким образом, перевод каждого распределителя в новое состояние осуществляется при поступлении сигнала на вход 14, если распределители с высшими номерами находятся в последних из разрешенных состояний.In the fourth cycle, a signal is input to the input of clock pulses 14, which is fed to the control input of the last distributor 8 and inputs of elements I 10. At the same time, the next one is excited by the number of allowed outputs of the last distributor 8. Further operation of the device proceeds by alternating the third '__ and fourth cycles as long as 33 is not energized the last of the last authorized distributor outlets. Then — from the control output of the distributor, a signal is sent to the enable input of the corresponding element And 10. The next signal fed to the input of clock pulses 14 passes to the input of the 14'4th, and through the element 10 to the input (4-2- of the distributors and the input of the N-2nd element. 65 delay 12. If the conditions for tree formation are met, then when the signal arrives at the input of the polling 15, element I 1 will work. As a result, a signal is received at the inputs of the N-th and N -1 counters. In this case, the alternate allowed output in the N -2nd dispenser is excited and excites I am the youngest of the allowed outputs of the N -1th distributor (taking into account the new state of the N-2nd distributor) .. Thus, each distributor is transferred to a new state when a signal is received at input 14, if the distributors with the highest numbers are in the last from allowed states.
Работа устройства завершается, если все распределители устанавливаются в последние из разрешенных состояний. Тогда при поступлении очередного сигнала на вход 14, срабатывают все элементы И 10. Сигналы с выходов элементов И 10 переводят распределители в исходное состояние, а сигнал с выхода первого элемента И 10 является сигналом останова работы устройства. Показание N -го счетчика 4 соответствует числу деревьев в графе. Показание N -1-го счетчика 4 соответствует числу подмножеств, в которых деревья имеют N-2 постоянных ребер. Показания N -2-го счетчика соответствуют числу подмножеств, в которых деревья имеют N -3 постоянных ребер и т. д.·'The operation of the device is terminated if all valves are installed in the last of the allowed states. Then, when the next signal arrives at input 14, all the And 10 elements are triggered. The signals from the outputs of the And 10 elements return the valves to their original state, and the signal from the output of the first And 10 element is a stop signal for the device. The reading of the Nth counter 4 corresponds to the number of trees in the graph. The reading of the N -1th counter 4 corresponds to the number of subsets in which the trees have N-2 constant edges. The readings of the N -2nd counter correspond to the number of subsets in which the trees have N -3 constant edges, etc. · '
Таким образом благодаря введению новых элементов и связей межпУ ними ’ повысилась точность и глубина исследования разложения графа на деревья.Thus, thanks to the introduction of new elements and links between them, the accuracy and depth of the study of the decomposition of the graph into trees increased.
Устройств.о позволяет определить характеристики разложения графа на деревья. Показания счетчиков характерны для принятой нумерации вершин в графе. Следовательно, имеется возможность управлять процессом образования деревьев, так как с изменением этой нумерации изменяется последовательность образования деревьев. Кроме того, предлагаемое устройство позволяет работать с графами, у которых число вершин и ребер может быть переменным.Devices.o allows you to determine the characteristics of the decomposition of the graph into trees. The readings of the counters are characteristic for the accepted numbering of the vertices in the graph. Therefore, it is possible to control the process of tree formation, since with a change in this numbering the sequence of tree formation changes. In addition, the proposed device allows you to work with graphs in which the number of vertices and edges can be variable.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782588679A SU748428A1 (en) | 1978-03-10 | 1978-03-10 | Device for resolution of graph into trees |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU782588679A SU748428A1 (en) | 1978-03-10 | 1978-03-10 | Device for resolution of graph into trees |
Publications (1)
Publication Number | Publication Date |
---|---|
SU748428A1 true SU748428A1 (en) | 1980-07-15 |
Family
ID=20752794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU782588679A SU748428A1 (en) | 1978-03-10 | 1978-03-10 | Device for resolution of graph into trees |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU748428A1 (en) |
-
1978
- 1978-03-10 SU SU782588679A patent/SU748428A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3386077A (en) | Digital signal processing system | |
SU748428A1 (en) | Device for resolution of graph into trees | |
SU588550A1 (en) | Random pulse stream generator | |
SU941991A1 (en) | Binary to binary-decimal code converter | |
RU2252450C2 (en) | Parallel sign correlation meter | |
SU472327A1 (en) | Single Time Interval Digital Meter | |
SU1652986A1 (en) | Token selector in pattern recognition | |
SU1265642A1 (en) | Device for determining sign of phase difference | |
RU2011220C1 (en) | Device for determination of duration of computing experiment which runs on computer | |
RU2042187C1 (en) | Device for generation of uniform distribution of random integers | |
SU1310822A1 (en) | Device for determining the most significant digit position | |
SU1188732A1 (en) | Device for equalizing random pulse arrivals | |
SU903907A1 (en) | Random process analyzer | |
SU1140122A1 (en) | Multichannel device for servicing requests in computer system | |
SU419947A1 (en) | DEVICE FOR REGISTRATION OF TELEMECHANICAL INFORMATION | |
SU1396141A1 (en) | Device for modeling equal-probability single sampling | |
SU1062694A1 (en) | Stochastic n-terminal network | |
SU888134A1 (en) | Device for determining minimum sections of graph | |
SU1325471A1 (en) | Evenly distributed random number generator | |
SU650249A1 (en) | Device for interrigation of information sensors | |
RU2177637C2 (en) | Multichannel sign correlator | |
SU1038950A1 (en) | Hystogram device | |
SU1062789A1 (en) | Associative storage | |
SU1211801A1 (en) | Displaying device | |
SU1328830A1 (en) | Device for shaping symptoms of images being recognized |