SU748428A1 - Device for resolution of graph into trees - Google Patents

Device for resolution of graph into trees Download PDF

Info

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
Application number
SU782588679A
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 SU782588679A priority Critical patent/SU748428A1/en
Application granted granted Critical
Publication of SU748428A1 publication Critical patent/SU748428A1/en

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)

Изобретение относитс  к области вычислительной техники и может быть использовано дл  определени  характеристик разложени  графа на деревь  при исследовании надежности систем, отображаемых веро тностными графами . . . Известно устройство l дл  поиска прадеревьев направленного графа, содержащее ключевую матрицу, кольцевые коммутаторы, генератор тактовых импульсов, триггеры, схемы И, схемы задержки, блокирующую  чейку, инвертор. Это устройство позвол ет сократить число тактовых импульсов, необходимых дл  поиска всех пра-. деревьев в направленном графе путем исключени  частичных графов, в которых повтор ютс  не св занные с корнем компоненты, содержащиес  в ранее рассмотренных частичных графах. Это устройство характеризуетс  сле дующими недостатками: отсутствие воз можности исследовать ненаправленный граф; отсутствие возможности определени  числа деревьев, образованных с участием каждого отдельного ребра графа; отсутствие возможности управ .лени  процессом образовани  деревьев ;отсутствие возможности определени  характеристик разложени  графа на деревь . Известно устройство дл  нахождени  деревьев графа 2 , содержащее блок индикации, счетчики, диоды, переключатели , линию задержки, блоки коэффициентов пересчета, счетчики числа деревьев. Этому устройству присущи следукицие недостатки: отсутствие возможности определени  числа деревьев , образованных с участием каждого отдельного ребра графа-, отсутствие возможности управлени  процессом образовани  деревьев} отсутствие возможности определени  характеристик разложени  .графа на деревь . Наиболее близким техническим решением к изобретению  вл етс  устройство дл  определени  числа деревьев L3,содержащее элемент И, входы которого подключены к выходам первого наборного пол , входы которого соединены с выходами ключей, выход элемента И подключен к счетному входу одного счетчика и к первым входам элементов И первой группы, выходы которых соединеныс счетными входами других счетчиков, выходы сброса счетчиков и нулевые входы триггеров ( N -1) групп подключены к входу с са Устройства, единичные входы три геров (N -1) групп соединены с вход записи устройства. Кроме того, уст ройство содержит блок перебора состо ний . Недостатками прототипа  вл ютс  отсутствие возможности управлени  процессом образовани  деревьев; отсутствие возможности определени  ха рактеристик разложени  графа на деревь . Характеристиками разложени  графа на деревь   вл ютс  числа подмножеств, в которых деревь  имеют посто нными одно, два и т. д ребер. Цель изобретени  - повышение точ ности исследовани  путем реализации дополнительной функции определени  чисел подмножеств, в которых деревь имеют посто нными одно, два и т. д ребер, и представлени  возможности управлени  процессом образовани  де ревьев. Цель достигаетс  тем, что в устройство , содержащее элемент И, входы которого подключены к вьгходам первого наборного пол , входы которого coeдиrfeны с выходами ключей, ход элемента И подключен к счетному входу одного счетчика и к первым вхЬдам элементов И первой груп пы, выходы которых соединены с сче ными входами других счетчиков, выходы сброса счетчиков и нулевые вхо ды триггеров .{н - 1) групп подключены к входу сброса устройства, единичные входы триггеров ( М - 1) групп соединены с входами записи устройства, введены элементы задерж ки, втора  группа элементов И, эле менты .запрета, второе и третье наборные пол  и ( N -1) распределителей , входы первого распределител  соединены с единичными выходами тр геров первой группы, входы остальных распределителей подключены к выходам элементов запрета, первые входы которых соединены с единичными выходами триггеров остальных групп.- вторые входы элементов запр та подключены к выходам второго Наборного пол , выходы {N - 1) рас пределителей соединены с входами третьего наборного пол , выходы ко торого подключены к управл ющим вх дам ключей, управл ющий вход (. i -го распределител  соедийен с вход тактовых импульсов устройства и с одними входами элементов И второй группы, другие входы которых подключены к управл ющим выходам соот ветствующих распределителей, выход первого элемента И второй группй соединен с выходом устройства, вых ды остальных элементов И второй группы подключены к управл ющим входам соответствующих распредели телей и через элементы задержки к вторым входам соответствующих элементов И первой группы, вход считывани  первого наборного пол  соединен с входом опроса устройства,в.ходы второго наборного пол  соединены с выходами первых N -2 распределителей . Функциональна  схема устройства представлена на чертеже. Устройство содержит элемент И 1, первое наборное поле 2, ключи , (ребер), счетчики 4,, элементы И 5, 5 первой группы, триггеры б т CN,,. (ребер), элементы запрета / т /r,4-,N- / распределители 8 т БМ, второе наборное поле 9, элементы И 10 4- Юц- второй группы, третье наборное поле 11, элементы задержки 12 4- ,, , вход сброса 13, вход тактовых импульсов 14, вход опроса 15, выход импульсов останова 16,вход записи 17,В триггерах 6 , - номер вершины, j -номер ребра, инцидентного данной вершине. В работе устройства следует выделить два этапа,: этап задани  структуры графа и этап исследовани  структуры графа. Рассмотрим этап задани  структуры графа. Основой дл  задани  графа в Устройстве  вл етс , граф, имеющий N вершин и М ребер, в- котором все элементы перенумерованы. Элементы устройства упор дочиваютс  в соответствии с прин той нумерацией,. Номера вершин присваиваютс  распределител м 8 и входам-, элемента И 1. Количество распределителей равноН -1, количество входов элемента И 1 равно Н . Номера ребер, ,инцидентных вершинам присваиваютс  входным и выходным цеп м распределителей 8 Номера возрастают слева направо. На наборном поле 2 входы з лемента И 1 и ключи (ребер) 3, г 3 соедин ютс  в топологическую схему графа. На наборном поле 11 выходы распределителей 8 и входы ключей 3, соответствующие одноименным ребрам графа , соедин ютс  между собой. На наборном поле 9 выходы распределителей 8 и входы элементов запрета7, соответствующие одноименньгм ребрам, но инцидентные разным вершинам, соедин ютс  feждy собой. При этом соблюдаетс  правило: выход распределител , соответствующего вершине с меньшим номером, должен быть соединен с ВХ.ОДОМ одноименного элемента запре-та соответствуюшёго вершине с большим номером. В дальнейшем на этапе исследовани  графа работа устройства протекает по тактам. В первом такте поступает сигнал по входу сброса 13 на нулевые входы триггеров 6 и стирающие входы счетчиков 4. Триггеры и счетчики устанавливаютс  в исходное состо ние. Во втором такте в соответствии с матрицей инцидентности поступают си налы на единичные входы триггеров (ребер) 6, которые устанавливаютс  состо ние 1, С единичных выходов триггеров б (ребер), инцидентных пе вой вершине, поступают сигналы на входы распределител  первой вершины С единичных выходов триггеров б (ребер), инцидентных остальным вершинам , сигналы поступают на входы соответствующих распределителей через элементы запрета 7. В каждом распределителе возбуждаетс  один выход, соответствующий возбужденном входу с меньшим номером. Сигналц с выходов распределителей поступают через схему коммутаций наборного по л  9 на входы соответствующих элементов запрета 7, а через схему ком мутаций наборного пол  11 на входы соответствующих ключей 3. При этом запрещаютс  сигналы на одноименных выходах распределителей, соответствующих вершинам со старшими номера ми. В результате в каждом распределителе будет возбужден только один выход, причем среди возбужденных вы ходов не будет одноименных. В.озбужденные выходы будут иметь меньшие номера из множества разрешенных номеров, При поступлении сигналов на управл ющие входы ключей 3-образует электрический контакт между их полю сами. В третьем такте поступает сигнал на вход опроса 15, который через схему коммутаций наборного пол  2 поступает на. входы элемента И 1. Ес возбужденные выходы распределителей соответствуют ребрам, образующим дерево, то срабатывает элемент И 1 и с его выхода подаетс  сигнал в по ледний счетчик 4. В четвертом такте поступает сигн на вход тактовых импульсов 14, кото |рьтй подаетс  на управл ющий вход по леднего распределител  8 и входы эле ментов И 10. При этом.возбуждаетс  очередной по номеру из разрешенных в ходов последнего распределител  8. Дальнейша  работа устройства протекает путем чередовани  третьегои четвертого тактов до тех пор, пока не будет возбужден последний из разрешенных выходов последнего распределител . Тогда-с управл ющего выхода распределител  подаетс  сигнал на разрешающий вход соответствую щего элемента И 10. Очередной сигнал поступающий на вход тактовых импульсов 14, проходит на входМ ; -го, а через элемент И 10 .на вхрд(Ц-7-го рас пределителей и на вход М 2 -го элемента задержки 12. Если выполн ютс  услови  образовани  дерева, то при поступлении сигнала на вход опро::а 15 сработает элемент И 1. В результате поступит сигнал на входы N -го и N -1 -го счетчиков. При этом возбуждаетс очерёдной разрешенный выход в N-2-м распределителе и возбуждаетс  младший из разрешенных (с учетом нового состо ни  N-2-го распределител ) выходов Ы -1 - го распределител . Таким образом, перевод каждого расп.ределител  в новое состо ние осуществл етс  при поступлении сигнала на вход 14, если распределители с высшими номерами наход тс  в последних из разрешенных состо ний. Работа устройства завершаетс , если все распределители устанавливаютс  в последние из разрешенных состо ний. Тогда при поступлении очередного сигнала на вход 14, срабатывают все элементы И 10. Сигналы с выходов элементов И 10 перевод т распределители в исходное состо ние, а сигнал с выхода первого элемента И 10  вл етс  сигналом останова работы устройства. Показание N -го счетчика 4 соответствует числу деревьев в графе. Показанием -1-го счетчика 4 соответствует числу подмножеств, в которых деревь  имеют N-2 посто нных ребер. Показани м -2-го счетчика соответствуют числу подмножеств в которых деревь  имеют Н -3 посто нных ребер и т. д. Таким образом благодар  введению новых элементов и св зей между ними повысилась точность и глубина исследовани  разложени  графа на деревь . Устройство позвол ет определить характеристики разложени  графа на деревь . Показани  счетчиков характерны дл  прин той нумерации вершин в графе. Следовательно, имеетс  возможность управл ть процессом образовани  деревьев, так как с изменением этой нумерации измен етс  последовательность образовани  деревьев. Кроме того, предлагаемое устройство позвол ет работать с графами, у которых число вершин и ребер может быть переменным. Формула изобретени  Устройство дл  разложени  графа на деревь , содержащее элемент И, входы которого подключены к выходам первого наборного пол , входы которого соединены с выходами ключей, выход элемента И подключен к счетному входу одного счетчика и к первым входам элементов И первой группы, выходы которых соединены со счетными входами других счетчиков, выходы feriTT-n,---L . r°-.. соединены с входами записи устройства , отличающеес  ТРМ что, с целью повышени  точности в него введены элементы зШДержкй з1поет/ ° И,элементы nonnl ( и третье на€орШё распределителей, входы первого распределител  соединены с единичными выходами триггеро первой группы, входы остальных рйспо JSsSoLr динент °Д которых со динены с единичными выходами триггеэл ентп °Р °ДЬ1 ходам «тп Р подключены к выходам второго наборного пол , выходы входами Р Р далителей соединены с входами третьего наборного пол , выходы которого подключены к управл ющим входам ключей, управл ющий вход N -1}-го распределител  соединен с входом тактовых импульсов. ySSpoft8 ства и с одними входами элементов И второй группы, другие входы которых подключены к управл ющим выходам соответствующих распределителей, выход первого элемента и второй группы соединен с выходом устройства, выходы остальных элементов и второй группы подключены к управл ющим входам соответствующих распределителей и через элементы задержки к вторым входам соответствующих элементов и первой группы, вход считывани  первого на-борного пол  соединен с входом опроса устройства, .входы второго на ыГы°/° соединены с выходами первых Н -2 распределителей. Источники информации, прин тые во внимание при экспертизе № свидетельство СССР № 271906, кл. G 06 G 7/48, 1969 № свидетельство СССР № 364939, кл. G 06 G 7/48 1971 OQ,. свидетельство СССР 329538, кл. G Об G 7/48, 1970 прототип).The invention relates to the field of computer technology and can be used to determine the characteristics of the decomposition of a graph into trees in the study of the reliability of systems displayed by probability graphs. . . It is known a device l for searching the target-tree of the directional graph, containing a key matrix, ring switches, a clock generator, triggers, AND schemes, a delay circuit blocking a cell, an inverter. This device reduces the number of clock pulses needed to search for all the right. trees in a directed graph by excluding partial graphs in which non-root components contained in previously considered partial graphs are repeated. This device is characterized by the following disadvantages: the lack of opportunity to investigate an undirected 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; the inability to determine the characteristics of the decomposition of a graph into trees. A device is known for locating the trees of graph 2, containing an indication unit, counters, diodes, switches, a delay line, blocks of conversion factors, counters of the number of trees. The following drawbacks 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 decomposition of a tree graph. The closest technical solution to the invention is a device for determining the number of L3 trees containing an AND element, the inputs of which are connected to the outputs of the first typed field, whose inputs are connected to the outputs of keys, the output of the AND element connected to the counting input of one counter and to the first inputs of AND elements 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 trigger (N -1) groups are connected to the input from the Sa Devices, single inputs of three headers (N -1) groups are connected s with input recording device. In addition, the device contains a brute force block. The disadvantages of the prototype are the inability to control the process of tree formation; the inability to determine the characteristics of the decomposition of the graph into trees. Characteristics of the decomposition of a graph into trees are the numbers of subsets in which the trees have one, two, etc., constant edges. The purpose of the invention is to improve the accuracy of the study by implementing an additional function of determining the numbers of subsets in which trees have one, two, etc., and constant edges, and to provide the ability to control the process of tree formation. The goal is achieved by the fact that a device containing an AND element, whose inputs are connected to inputs of the first typed field, whose inputs are combined with the outputs of keys, AND's stroke is connected to the counting input of one counter and to the first inputs of the AND elements of the first group whose outputs are connected with the counter inputs of other counters, the reset outputs of the counters and the zero inputs of the triggers. (n - 1) groups are connected to the device reset input, the single inputs of the trigger (M - 1) groups are connected to the recording inputs of the device, delay elements are entered, sec and the group of elements And, the elements of the prohibition, the second and third razor-type fields and (N -1) distributors, the inputs of the first distributor are connected to the unit outputs of the tractors of the first group, the inputs of the remaining valves are connected to the outputs of the inhibit elements, the first inputs of which are connected to the unit the trigger outputs of the remaining groups .- the second inputs of the elements of the bar are connected to the outputs of the second dialed floor, the outputs (N - 1) of the distributors are connected to the inputs of the third dialed floor, the outputs of which are connected to the control keys That the terminal (a control. The i-th distributor is connected to the input of the clock pulses of the device and with one input of the elements of the second group, the other inputs of which are connected to the control outputs of the corresponding distributors, the output of the first element of the second group is connected to the output of the device, the outputs of the other elements of the second group are connected to the control inputs of the respective distributors and through the delay elements to the second inputs of the corresponding elements AND of the first group, the read input of the first typed field is connected to the input of the device polling a, v. moves of the second type-setting field are connected to the outputs of the first N -2 distributors. Functional diagram of the device shown in the drawing. The device contains an element And 1, the first type-setting field 2, keys, (edges), counters 4 ,, elements And 5, 5 of the first group, triggers b t CN ,,. (ribs), prohibition elements / t / r, 4-, N- / 8 t BM dispensers, second dial pad 9, And 10 4 elements — Yut — second group, third pad 11, delay elements 12 4- ,, reset input 13, clock input 14, polling input 15, stop pulse output 16, recording input 17, At triggers 6, is the number of the vertex, j is the edge number incident to this vertex. The device should be divided into two stages: the task of setting the structure of the graph and the stage of studying the structure of the graph. Consider the stage of setting the graph structure. The basis for setting a graph in a device is a graph having N vertices and M edges, in which all elements are renumbered. Elements of the device are arranged in accordance with the accepted numbering. Vertex numbers are assigned to distributors 8 and inputs-, element 1. And the number of valves is equal to H -1, the number of inputs to element 1 is equal to H. Edge numbers, incident to the vertices are assigned to the input and output chains of valves 8. The numbers increase from left to right. In the typing field 2, the inputs of the element And 1 and the keys (edges) 3, g 3 are connected to a topological graph scheme. In the set field 11, the outputs of the distributors 8 and the inputs of the keys 3 corresponding to the same edges of the graph are interconnected. On the dial field 9, the outputs of the distributors 8 and the inputs of the prohibition elements7 corresponding to the same edges, but incident to different vertices, are connected each other. In this case, the rule is observed: the output of the distributor corresponding to the vertex with a smaller number must be connected to the I / O device of the same-named element of the denied corresponding to the vertex with a higher number. Later on, at the stage of graph investigation, the operation of the device proceeds in cycles. In the first cycle, a signal is received at the reset input 13 to the zero inputs of the flip-flops 6 and the erasing inputs of the counters 4. The flip-flops and the counters are reset. In the second cycle, in accordance with the incidence matrix, signals are received for single inputs of triggers (edges) 6, which are set to state 1, From single outputs of triggers b (edges) incident to the first vertex, signals are received to the inputs of the distributor of the first vertex C of single outputs triggers b (edges) incident to the other vertices, the signals arrive at the inputs of the corresponding distributors through prohibition elements 7. In each distributor, one output is excited, corresponding to the excited input with a smaller number. Signals from the outputs of the distributors go through the switching circuit of the dial-in lane 9 to the inputs of the corresponding prohibition elements 7, and through the switching circuit of the dial-in field 11 to the inputs of the corresponding switches 3. At the same time, the signals at the same-named outputs of the distributors corresponding to the vertices with higher 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 smaller numbers from the set of allowed numbers. When signals arrive at the control inputs of the keys, 3 forms an electrical contact between their field themselves. In the third cycle, a signal arrives at the input of the poll 15, which through the switching circuit of the dial-up field 2 arrives at. the inputs of the element AND 1. If the excited outputs of the distributors correspond to the edges forming the tree, the element 1 triggers and from its output a signal is sent to the latest counter 4. In the fourth cycle, a signal arrives at the input of the clock pulses 14, which is fed to the control the input along the late distributor 8 and the inputs of the And 10 elements. In this case, the next by number of the allowed ones in the turns of the last distributor 8 is excited. Further operation of the device proceeds by alternating the third and fourth cycles until en the last of the last authorized distributor outlets. Then, from the control output of the distributor, a signal is applied to the enabling input of the corresponding element AND 10. The next signal arriving at the input of the clock pulses 14 passes to the input M; th, and through the element AND 10. on the internal clock (C-7 of the distributors and the input M 2 of the delay element 12. If the tree formation conditions are fulfilled, then when a signal arrives at the input of the interrogator: a 15, the element AND 1. As a result, a signal is received at the inputs of the Nth and N -1th counters, thus triggering the sequential allowed output at the N-2d distributor and the youngest of the allowed ones is excited (taking into account the new state of the N-2nd distributor a) outputs of the S1 –1 distributor. Thus, the transfer of each distributor to a new state is carried out with the post If the valves with the highest numbers are in the last of the allowed states, the device is terminated if all the valves are set to the last of the allowed states. Then, when the next signal arrives at the input 14, all And 10 elements are triggered. The signals from the outputs of the elements And 10 bring the valves to the initial state, and the signal from the output of the first element And 10 is a signal to stop the operation of the device. The reading of the N-th counter 4 corresponds to the number of trees in the graph. The indication of -1 counter 4 corresponds to the number of subsets in which the trees have N-2 constant edges. The -2 meter readings correspond to the number of subsets in which trees have H -3 constant edges, etc. Thus, due to the introduction of new elements and the connections between them, the accuracy and depth of the study of the decomposition of the graph into trees has increased. The device allows to determine the characteristics of the decomposition of the graph into trees. The meter readings are characteristic of the received numbering of the vertices in the graph. Consequently, it is possible to control the process of tree formation, since the sequence of tree formation changes with the change of this numbering. In addition, the proposed device allows working with graphs in which the number of vertices and edges can be variable. The invention The device for decomposing a graph into a tree containing an element And whose inputs are connected to the outputs of the first typed field, the inputs of which are connected to the outputs of keys, the output of the element And connected to the counting input of one counter and the first inputs of the elements of the first group whose outputs are connected with counting inputs of other counters, outputs feriTT-n, --- L. r ° - .. are connected to the recording inputs of the device, characterized by the TRM that, in order to increase the accuracy, elements of SINTERNING Z1PET / ° are entered into it, elements of nonnl (and the third in distributors, the inputs of the first distributor are connected to the single outputs of the first group trigger, the inputs of the rest of the JSsSoLr dinenth ° ° D are connected to single outputs of the trigger en ° P ° Db1 to the “tp P” paths connected to the outputs of the second dialed floor, the outputs from the P inputs of P dalitel are connected to the inputs of the third dialed floor, the outputs of which are connected to the controls The control inputs of the keys, the control input N -1} of the distributor are connected to the input of clock pulses, ySSpoftics and with the same inputs of the elements AND the second group, the other inputs of which are connected to the control outputs of the corresponding valves, the output of the first element and the second group is connected to the output of the device, the outputs of the remaining elements and the second group are connected to the control inputs of the corresponding distributors and through the delay elements to the second inputs of the corresponding elements and the first group, the read input of the first set the floor is connected to the input of the device interrogation .The inputs of the second to yGy ° / ° connected to outputs of the first N -2 valves. Sources of information taken into account in the examination number certificate of the USSR № 271906, cl. G 06 G 7/48, 1969 № USSR certificate № 364939, cl. G 06 G 7/48 1971 OQ ,. USSR certificate 329538, cl. G About G 7/48, 1970 prototype). /7 17 17 Г7 17 7 17 П/ 7 17 17 G7 17 7 17 P I. I, . 1-.. I i. one-.. 1} one}
SU782588679A 1978-03-10 1978-03-10 Device for resolution of graph into trees SU748428A1 (en)

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)

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