SU1120341A1 - Device for studying parameters of graph - Google Patents

Device for studying parameters of graph Download PDF

Info

Publication number
SU1120341A1
SU1120341A1 SU833569191A SU3569191A SU1120341A1 SU 1120341 A1 SU1120341 A1 SU 1120341A1 SU 833569191 A SU833569191 A SU 833569191A SU 3569191 A SU3569191 A SU 3569191A SU 1120341 A1 SU1120341 A1 SU 1120341A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
elements
inputs
counter
Prior art date
Application number
SU833569191A
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 SU833569191A priority Critical patent/SU1120341A1/en
Application granted granted Critical
Publication of SU1120341A1 publication Critical patent/SU1120341A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

УСТРОЙСТВО ДЛЯ ИССЛЕДОВАНИЯ ПАРАМЕТРОВ ГРАФА, содержащее генератор тактовых импульсов, выход которого соединен с первым входом первого элемента И, второй вход которого соединен с выходом элемента НЕ, вход которого подключен к выходу переполнени  реверсивного счетчика, вычитающий вход которого соединен с выходом первого элемента И,, о т л ичающеес  тем, что, с целью расширени  функциональных возможностей устройства за счет, обеспечени  возможности вычислени  рангов вершин графа, в устройство введены второй элемент И, элемент задержки и п вычислительных блоков, каждый из которых состоит из регистра сдвига, блока ключей, первой и второй групп элементов И, первого и второго элементов ИЛИ, первого, второго и треть-, его дешифраторов, первого, второго реверсивных счетчиков, счетчика, первого и второго элементов НЕ, первого и второго элементов И, блока информации , причем в каждом вычислительном блоке выходы блока ключей соединены с установочными входами разр дов регистра сдвига, выходы разр дов р егистра сдвига подключены к первь1м входам элементов И первой и второй групп, выходы элементов И первой группы соединены с входом первого элемента ИЖ, выход которого соединен с суммирующим входом первого реверсивного счетчика, выход которого через первый дешифратор соединен с входом первого элемента НЕ, выход которого подключен к первому входу первого элемента И вычислительного блока, выход которого соединен с вычитающим -входом первого реверсивного счетчика и с вторым входом соответствующего элемента И второй группы, выходы элементов И второй группы соединены с входами второго (Л элемента ИЛИ, выход которого подклю (Чен к информационному входу счетчика, выход которого.череэ второй дешифратор соединен с входом блока йндика-ции , выход последнего разр да регистра сдвига соединен с установочным входом его первого разр да и подключен к суммирующему входу второго реверсивного счетчика, вьгчитаюпщй вход которого соединен с выходом вто:«э рого элемента И вычислительного блоJi ка, первый вход которого соединен с выходом второго элемента НЕ, вход которого подключен к выходу третьего дешифратора, вход которого соединен с выходом второго реверсивного счетчика, входы сдвига регистров сдвига всех вычислительных блоков подключены к выходу первого элемента И, выход третьего дешифратора каждого вычислительного элемента блока Соединен с соответствукнцим входом второго элемента И, выход которого соединен с вторым входом первого элеA DEVICE FOR RESEARCHING GRAPH PARAMETERS containing a clock pulse generator, the output of which is connected to the first input of the first element AND, the second input of which is connected to the output of the element NO, the input of which is connected to the overflow output of the reversible counter, which subtracts the input of which is connected to the output of the first element AND, This is due to the fact that, in order to expand the functional capabilities of the device due to the possibility of calculating the ranks of the graph vertices, the second element I, the element rzhki and n computing blocks, each of which consists of a shift register, a key block, the first and second groups of elements AND, the first and second elements OR, the first, second and third, its decoders, the first, second reversible counters, the counter, the first and the second elements of the NOT, the first and second elements And, the information block, and in each computing unit the outputs of the key block are connected to the installation inputs of the bits of the shift register, the outputs of the bits of the register of the shift register are connected to the first inputs of the elements And the first and second The first group, the outputs of the elements And the first group are connected to the input of the first IZH element, the output of which is connected to the summing input of the first reversible counter, the output of which is connected through the first decoder to the input of the first element NOT, the output of which is connected to the first input of the first element And the computing unit, the output which is connected to the subtractive input of the first reversible counter and to the second input of the corresponding element AND of the second group, the outputs of the elements AND of the second group are connected to the inputs of the second (L element OR, the output of which is connected (Chen to the information input of the counter, the output of which.the second decoder is connected to the input of the indication unit, the output of the last bit of the shift register is connected to the installation input of its first digit and connected to the summing input of the second reverse counter, whose input is connected to the output of the second: “element of the AND computational unit, the first input of which is connected to the output of the second element NOT, the input of which is connected to the output of the third decoder, the input of which is connected to the output The second reversible counter, the shift inputs of the shift registers of all computational units are connected to the output of the first element I, the output of the third decoder of each computational element of the block is connected to the corresponding input of the second element I, the output of which is connected to the second input of the first ele

Description

мента И первого вычислительного блока , выход первого дешифратора каждого вычислительного блока, кроме последнего,- подключен к второму входу первого элемента И последующего вычислительного блока, третий вход первого элемента И каждого вычислительного блока соединен с выходом генератора тактовых импульсов, выход третьего дешифратора каждого вычислительного блока, кроме последнего, соединен с вторым входом второго элемента И последующего вычислительного блока, второй вход второго элемента И первого вычислительного блока подключен к выходу реверсивного счетчика , третий вход второго элемента ИAnd the first computational unit, the output of the first decoder of each computational unit, except the last one, is connected to the second input of the first element, and the subsequent computational unit, the third input of the first element, And each computational unit is connected to the output of the clock generator, the output of the third decoder of each computational unit, in addition to the latter, connected to the second input of the second element And the subsequent computing unit, the second input of the second element And the first computing unit connected to the output of the reversible counter, the third input of the second element AND

03410341

каждого вычислительного блока соединен с выходом генератора тактовых импульсов, выход второго элемента И 1-го вычислительного блока соединен с вторьми входами i-х элементов И первой группы и вычислительных блоков , выход первого элемента И М-го вычислительного блока соединен с вторыми входами- Д-х элементов И второй группы п вычислительных блоков (где { 1, .,., h ), установочные входы регистров сдвига, счетчиков, первого и второго реверсивных счетчиков всех вычислительных блоков объединены и соединены с входом блока задержки , выход которого соединен с входами ми блока кюлчей вычислительных блоков.each computational unit is connected to the output of the clock generator, the output of the second element And the 1st computational unit is connected to the second inputs of the i-th elements of the first group and computational blocks, the output of the first element of the M-th computational unit is connected to the second inputs - D- x elements And the second group of p computing units (where {1,.,., h), the installation inputs of shift registers, counters, first and second reversible counters of all computing units are combined and connected to the input of the delay unit, the output of which connected to the inputs of the block of computing unit blocks.

Изобретение относитс  к вычислительной тех-нике, предназначено дл  исследовани  параметров графов, в частности дл  определени  рангов вершин графов, и может быть использо вано дл  оптимального распределени The invention relates to computing technology, is intended for studying graph parameters, in particular for determining the ranks of graph vertices, and can be used for optimal distribution

:затрат при построении структурносложньк систем, оценки значимости элементов при техническом диагностировании и т.д.: costs in building structurally complex systems, assessing the significance of elements in technical diagnostics, etc.

Известно устройство дл  исследовани  св зности и веро тностного графа , содержащее матрицу триггеров, элементы И по числу строк матрицы триггеров, элементы ИЛИ по числу столбцов матрицы триггеров ОНаиболее близким к изобретению по технической сущности  вл етс  устройство дл  исследовани  путей в графах, содержащее матрицу fi х п триггеров формировани  дуг графа и генератор тактовых импульсов, выход которого соединен с первым , входом элемента И, второй вход которого  вл етс  входом устройства, элементы И дуг, по числу столбцов матрицы элементы ИЛИ, элементы задержки, регистры , первые, вторые и третьи группы элементов И, группа элементовA device for examining connectivity and a probabilistic graph, containing a matrix of triggers, elements AND by the number of rows of a matrix of triggers, elements OR by the number of columns of the matrix of triggers OH, is closest to the invention by technical essence is a device for exploring paths in graphs containing the matrix fi x n triggers of forming arcs of a graph and a clock pulse generator, the output of which is connected to the first, the input of the element I, the second input of which is the input of the device, elements And arcs, according to the number of columns of the matrix e ementy OR, delay elements, registers, first, second and third groups of elements and group elements

.ИЛИ, многовходовой сумматор, узел выбора максимума, дешифратор, элемент НЕ и реверсивньм счетчик, вход которого подключен к выходу элементу.OR, multi-input adder, maximum selection node, decoder, element NOT and reversible counter, the input of which is connected to the output element

И, третий вход которого через элемент НЕ подключен к выходу устройства и к выходу реверсивного счетчика, вьЕХод, которого соединен с входом дешифратора, -й ( i 1, 2, ...,п) выход которого подключен через элемент задержки к управл ющему входу элемента И первой группы i-го столбца , к управл ющему входу элемента И i-ro столбца и к первым входам элементов И дуг строки, выход каждого триггера формировани  дуги соединен с вторым ВХОДО1. элемента И дуги , выход каждого из которых подключен к входу элемента ИЛИ одноименного i-ro столбца, выход элемента ИЛИ соединен с управл ющим входом элемента И второй группы t-го столбца, выход которого подключен к соответствующему входу узла выбора максимума , выход последнего соединен с пер ,вым входом многовходового сумматора, выход которого подключен к информационным входам элементов И первой группы, выход элемента И первой группы i-ro столбца соединен с входом регистра i-ro столбца, выход которого лодключен к информационному входу элемента И второй группы i-ro столбца и к информационному,входу элемента И третьей группы -l-ro столбца , выходы элементов И третьей rpyn-jAnd, the third input of which is NOT connected via the element to the output of the device and to the output of the reversible counter, the VIEHD, which is connected to the input of the decoder, the -th (i 1, 2, ..., n) whose output is connected via the delay element to the control input the element And the first group of the i-th column, to the control input of the element AND the i-th column and to the first inputs of the elements And arcs of the row, the output of each trigger of arc formation is connected to the second INPUT1. the element And the arc, the output of each of which is connected to the input of the element OR of the i-ro column of the same name, the output of the element OR is connected to the control input of the element AND of the second group of the t-th column whose output is connected to the corresponding input of the maximum selection node, the output of the latter is connected to lane, input of a multi-input adder, the output of which is connected to the information inputs of the elements AND of the first group, output of the element AND of the first group of the i-ro column is connected to the input of the register of the i-ro column, the output of which is connected to the information input of the of the second group of the i-ro column and to the information input of the element of the third group -l-ro column, the outputs of the elements of the third rpyn-j

jTibi соединены соответственно с входаМИ элементов ИЛИ группы, выходы кото рых подключены к второму входу много входового сумматора 2. Недостатком известных устройств  вл етс  невозможность вычислени  рангов вершин графа. Цель изобретени  - расширение функциональных возможностей устройства за счет обеспечени  вычислени  рангов вершин графа. Поставленна  цель достигаетс  тем, что в устройство дл  исследовани  параметров графа,, содержащее генератор тактовых импульсов, выход которого соединен с первым входом первого элемента И, второй вход которого соединен с выходом элемента НЕ, вход которого подключен к выходу переполнени  реверсивного счетчика , вычитающий вход которого соединен с выходом .первого элемента И, введены второй элемент И, элемент задержки и п вычислительных блоков, каждый из которых состоит из регистра сдвига, блока ключей, первой и второй групп элементов И, первого и второго.элементов ИЛИ, первого, второго и третьего дешифраторов, первого , второго реверсивных счетчиков, счетчика, первого и второго элементов НЕ, первого и второго элементов И, блока информации, причем в каждом вычислительном блоке выходы блока ключей соединены с установочными вхо дами разр дов регистра сдвига, выходы разр дов регистра сдвига подключе ны к первым входам элементов И первой и второй групп, выходы элементов И первой группы соединены с входом первого элемента ИЛИ, выход которого соединен с суммирующим входом первого реверсивного счетчика, выход которого через первый дешифратор сое динен с входом первого элемента НЕ, выход которого подключен к первому входу первого элемента И вычислитель ного блока, выход которого соединен с вычитающим входом первого реверсив ного счетчика и с вторым входом соответствующего элемента И второй группы, выходы элементов И второй группы соединены с входами второго элемента ИЛИ, выход которого подключен к информационному входу счетчика выход которого через второй дешифратор соединен с входом блока индикации , выход последнего разр да регист ра сдвига соединен с установочным входом его первого разр да и подключен к cyммиpyющe fy входу второго реверсивного счетчика, вычитающий вход которого соединен с выходом второго элемента И вычислительного блока, первый вход которого соединен с выходом второго элемента НЕ, вход которого подключен к выходу третьего дешифратора , вход которого соединен с выходом второго реверсивного счетчика, входы сдвига регистров сдвига всех вычислительных блоков подключены к выходу первого элемента И, выход третьего дешифратора каждого вычислительного блока соединен с соответствующим входом второго элемента И, выход которого соединен с вторым входом первого элемента И первого вычислительного блока, выход первого дешифратора каждого вычислительного блока, кроме последнего, подключен к второму входу первого элемента И последующего вычислительного блока, третий вход первого элемента И каждого вычислительного блока соединен с выходом генератора тактовых импульсов , выход третьего дешифратора каждого вычислительного блока, кроме последнего, соединен с вторым входом второго элемента И последующего вычислительного блока, второй вход второго элемента И первого вьмислительного блока подключен к выходу реверсивного счетчика, третий вход второго элемента И каждого вычислительного блока соединен с выходом генератора тактовых импульсов, выход второго элемента И i-ro вычислительного бло .ка соединен с вторыми входами i-х элементов И первой группы ц вычислительных блоков, выход первого элемента И i-ro вычислительного блока соединен с вторыми входами -х элементов И второй группы h вычислительных блоков (где 1 1, .. ., h .), установочные входы регистров сдвига, счетчиков, первого и второго реверсивных счетчиков всех вычислительных блоков объединены и соединены с входом блока задержки, выход которого соединен с входами блока ключей вычислительных блоков. Предлагаемое устройство осуществл ет вычисление ранга вершин графа в соответствии с функцией (ч1+р;(кк...р (1с), i 1 где P (Ic) - количество путей длины Я 3, идущих от элемен та (вершины) i в п . На чертеже представлено предлагае мое устройство. Устройство дл  исследовани  параметров графа содержит регистры 1 1 сдвига, блоки ключей, перва  группа элементов И 3 - Зп, втора  группа элементов И 4 - Afj, первые элементы И.ПИ 5 - , вторые элементы ИЛИ 6-j - 6,, второй 7 и первый 8 - 8 реверсивные счетчи ки, счетчики 9 - 9, вторые дешифраторы 10 - Ю, блоки 11 - llj, индикации, первые дешифраторы 12, 12j , третьи дешифраторы 13-, - 13,,, первые элементы НЕ 14 - 14,, первые элементы И 15 - 15, вторые элементы НЕ 16 - 16, вторые элеме ты И 17 - 17 , второй элемент И 18 элемент 19 задержки, входна  шина 20 Сброс, шина 21, записи числа п реверсивный счетчик 22, элемент НЕ 23, элемент И 24, генератор 25 тактовых импульсов, входна  шина 26 Пуск, вычислительные блоки 27. Устройство работает следуюпщм об разом. Предварительно в реверсивный счетчик 22 по входной шине 21 записываетс  число, соответствующее количеству разр дов в регистрах Ц -1 сдвига. Количество этих разр дов также соответствует числу регистров т.е. п , где и - максимальна  разме ность матрицы смежности. Затем при помощи блока 2 - 2, ключей (например , перемычка, переключатель и т.д.) на вход разр дов регистров коммутируетс  выход элемента 19 задержки , причем коммутируютс  лишь те разр ды регистров, которые соответствуют единичным элементам матри пы смежности исследуемого графа. Каждый регистр сдвига соответствует одной соответствующей строке матрицы смежности, а i-й разр д всех регистров соответствует -му столбцу этой матрицы. После коммута ции соответствующих разр дов к выхо ду элемента 19 задержки по входной шине 20 подаетс  импульс сброса на еоответствуюпще входы сброса регист ров 1 - 1j сдвига, реверсивных сче чиков 7 - 7, реверсивных счетчико 8 - 8 J счетчиков 9-j - 9 дл  приве дени  их в нулевое состо ние. Задержанный элементом 19 задержки импульс сброса записывает через скоммутированные ключи блока 2 - 2 ключей в регистры матрицу смежности исследуемого графа. После окончани  этой операции устройство готово к работе. При подаче разрешающего потенциала Пуск по входной шине 26 на первьш вход элемента И 24, на его выходе по вл ютс  тактовые импульсы с генератора 25 тактовых импульсов, так как на тратьем входе элемента И 24 находитс  единичный потени(иал с выхода элемента НЕ 23, который пропадает лишь при нулевом состо нии счетчика 22, т.е. после п -го тактового импульса,. Тактовые импульсы поступают на управл ющие входы регистров 11 1 f, сдвига и информаци  .с выхода каждого регистра подаетс  на его вход, а также на суммирующий вход соответствующего реверсивного счетчика 7-, - 7. После прихода п --го тактового импульса на второй (вычитающий ) вход реверсивного счетчика 22 он переходит к нулевое состо ние, так как в исходном состо нии в него записано число п , соответствующее максимальной размерности матрицы смежности. На выходе реверсивного счетчика 22 по вл етс  напр жение логической единицы, которое .через элементы НЕ 23 запрещает дальнейшее прохождение тактовых импульсов через элемент И 24. За t тактов информаци  в регистрах переписываетс  полностью и соответствует матрице смежности. В соответствующих реверсивных счетчиках з аписываетс  число единиц, содержащихс  в соответствующей строке матрицы смежности. На этом-заканчиваетс  первый щаг итерации. (h+ 1)-й импульс с генератора 25 тактовых импульсов поступает через элемент И вычитающий вход реверсивного счетчика 7, так как элемент И 15 открыт единичным потенциалом с выхода реверсивного счетчика 22 и выхода дешифратора 12 через элемент НЕ 14, а счетчик 7 находитс  в нулевом состо нии и на его выходе напр жение логического нул . Дешифраторы и 13 - 13, вьщают на своем выходе напр жение логической единицы лишь в случае нулевого состо ни  соответствующего реверсивного счетчика. Тактовые импульсы , начина  с (г + 1)-го, через элемент И 15 начинают поступать на вычитающий вход реверсивного счетчи ка 7 , а также на вторые входы элементов И 3 п соответствующих первым разр дам всех регистров Ц - 1 сдвига, на первые входы кот рых подаютс  сигналы с выходов первых разр дов соответствующих регист ров сдвига. Поэтому если в первом разр де соответствующего регистра сдвига 11 - 1 f, записана единица, соответствующий ему элемент И 3 -З открываетс  и тактовые импульсы через соответствующий элемент И 3 соответствующий элемент РШИ 5- - 5, поступают на второй суммирующий вход соответствующего реверсивного счетчика 8., - 8. После того, как на вычитающий вход реверсивного сче чика 7 поступает количество тактовых импульсов, соответствующее числу единиц в первой строке матрицы смежности , счетчик переходит в нулевое состо ние, на выходе дeIШ фpaтopa . по вл етс  напр жение логической единицы, которое через элемент НЕ 14 запрещает прохождение тактовых импульсов через элемент И 15. Б соответствующих реверсивных счетчиках записываетс  число, равное количеству единиц в первой строке матрицы смежности анализируемого графа. Напр жение логической единицы с выхода дешифратора 1л первой группы открывает элемент И 15-, так как на первый вход этого элемента подаетс  напр жение логиче кой единицы с элемента НЕ 142. Тактовые импульсы через элемент И 15 с выхода тактового генератора поступают на вычитающий вход реверсивного счетчика 7 , а также на вторые входы всех элементов И 3 - 3, соответствующих вторым разр дам всех регистров сдвига 1 ri если в них записана единица, то тактовые импульсы через соответствующий элемент ИЛИ 5 - 5 поступают на сумми рующий вход соответствующего реверсивного счетчика . , т п После прохождени  тактовых импул сов, количество которых соответству ет числу единиц во второй строке ма рицы, смежности, т.е. числу, записан ному в реверсивном счетчике 7. На выходе дешифратора 12, первой групп 18 по вл етс  напр жение логической единицы, которое через элемент НЕ 14„ запрещает прохождение тактовых импульсов через элемент И 5„ и разрешает прохождение тактовых импульсов через следующий элемент И 15,. В дальнейшем работа устройства происходит аналогично до тех пор пока информаци  из последнего реверсивного счетчика 7„ не переписываетс  в соответствутощие реверсивные счетчики 8 8р| . На этом заканчиваетс  второй шаг итерации. Единичные сигналы с выходов дешифраторов 12 - 12 поступают на выходы элемента И 18, напр жение с выхода которого открывает элемент И 17 дл  прохождени  тактовых импульсов с выхода генератора 25 тактовых импульсов , так как на второй вход элемента И 17 поступает напр жение логической .единицы с выхода элемента НЕ 16, на вход которого подаетс  напр жение логического нул  с выхода дешифратора 13. Тактовые импульсы с выхода генератора 25 тактовых импульсов поступают через элемент И 17 на вычитающий вход реверсивного счетчика 8, а также на первые входы элементов И 4 - 4, соответствующих первым разр дам регистров 1 - 1 j сдвига, на вторые входы которых подключены выходы первых разр дов регистров 1 - 1 f сдвига. Элементы И 4 - 4р, которым соответствуют первые разр ды соответствуюпщх регистров 1 - 1 сдвига, в которых записана единица, открываютс  и тактовые импульсы через них и соответствующие элементы ИЛИ 6-, - 6, записываютс  в соответствующие счетчики 9 - 9. При прохождении через элемент И 17 тактовых импульсов, количество которых соответствует чис- лу, записанному в реверсивном счетчике 8, счетчик 8 переходит в нулевое состо ние и на выходе дешифратора 13 по вл етс  напр жение логической единицы. Поэтому на выходе элемента НЕ 16 по вл етс  напр жение логического нул , которое запрещает дальнейшее прохождение тактовых импульсов через элемент И 17,. Одновременно напр жение логической единицы с выхода дешифратора 13 подаетс  на первый вход и открывает элемент И 17, через который тактовые импульсы начинают поступать 9 на вычитаюпщй вход реверсивного сче чика 8„ и первые входы элементов И 4 - 4, соответствующих вторым разр дам регистров 1 - 1 (второму столбцу матрицы смежности), на вторые входы которых подключены выходы соответствующих вторых разр дов регистров 1 - 1j сдвига. Напр жение логической единицы с тех разр дов, в которых записана единица, открьгеа ет соответствующие элементы И 4.,-4 и тактовые импульсы с их выхода через соответствующие элементы ИЛИ поступают на запись в соответствующие счетчики 9 - 9,. Тактовые импульсы через элемент И 172 проход т до тех пор, пока реверсивный счетчик Sg не переходит в нулевое состо ние и не закрывает через дешифратор 13, и элемент НЕ 16 элемент И 17 . Напр жение ло гической единицы с выхода дешифрато ра 13j открывает следующий элемент 1 И 17, дл  прохождени  тактовых импульсов и цикл работы протекает аналогично . Устройство функционирует до тех пор, пока информаци  из последнего реверсивного счетчика 8 не переписываетс  в соответствующие счетчики 9 - 9 (третий шаг итерации) . После этого прохождение тактовых импульсов на какие-либо элементы устройства запрещаетс  элементами И 15, - 15,, 17 - 17 и 24. Информаци , записанна  в каждом счетчике 9., - 9,,соответствует рангу соответствующей вершины исследуемого графа. Эта информаци  дешифрируетс  соответствующим дешифратором lOj - 1, и отображаетс  на соответствующем блоке ll. - 11|. индикации. Предлагаемое устройство благодар  наличию Новых блоков и св зей между ними позвол ет осуществл ть вычисление ранга вершин графов.jTibi are connected respectively to the inputs of the OR elements of the group, the outputs of which are connected to the second input of the many input adder 2. A disadvantage of the known devices is the impossibility of calculating the ranks of the graph vertices. The purpose of the invention is to expand the functionality of the device by providing a calculation of the ranks of the graph vertices. The goal is achieved in that the device for examining the graph parameters contains a clock pulse generator, the output of which is connected to the first input of the first element AND, the second input of which is connected to the output of the element NO, whose input is connected to the overflow output of the reversible counter, which subtracts the input connected to the output of the first element And, introduced the second element And, the delay element and n computational blocks, each of which consists of a shift register, a key block, the first and second groups of elements And, first and second OR elements, first, second and third decoder, first, second reversible counters, counter, first and second elements NOT, first and second elements AND, information block, and in each computing unit the outputs of the key block are connected to installation inputs the shift register bits, the outputs of the shift register bits are connected to the first inputs of elements of the first and second groups, the outputs of elements of the first group are connected to the input of the first element OR, the output of which is connected to the summing input of the first reversible counter, the output of which through the first decoder is connected to the input of the first element NOT, the output of which is connected to the first input of the first element AND of the computational unit, the output of which is connected to the subtractive input of the first reversible counter and the second input of the corresponding element And the second group, the outputs of the elements And the second group are connected to the inputs of the second element OR, the output of which is connected to the information input of the counter whose output through the second decoder is connected to the input of the display unit, output The last bit of the shift register is connected to the setup input of its first bit and connected to the memory fy input of the second reversible counter, the subtractive input of which is connected to the output of the second element I of the computing unit, the first input of which is connected to the output of the second element NOT connected to to the output of the third decoder, the input of which is connected to the output of the second reversible counter, the shift inputs of the shift registers of all computational units are connected to the output of the first element And, the output of the third decrypt The mouth of each computational block is connected to the corresponding input of the second element, And the output of which is connected to the second input of the first element And the first computational block, the output of the first decoder of each computational block, except the last, is connected to the second input of the first element And the subsequent computation block, the third input of the first element And each computing unit is connected to the output of a clock generator, the output of the third decoder of each computing unit, except the last one, is connected to The second input of the second element And the subsequent computing unit, the second input of the second element And the first eight-unit block is connected to the output of the reversible counter, the third input of the second element And each computing unit is connected to the output of the clock generator, the output of the second element And the i-ro computing unit with the second inputs of the i-th elements And the first group of computational blocks, the output of the first element And the i-ro of the computational block connected to the second inputs of the -x elements And the second group h of the computation x blocks (where January 1, ..., h.), adjusting the inputs of shift registers, counters, the first and second reversible counters of all the computational units are combined and connected to the input of delay unit, whose output is connected to computational unit key block inputs. The proposed device calculates the rank of the vertices of the graph in accordance with the function (q1 + p; (qc ... p (1s), i 1 where P (Ic) is the number of paths of length I 3 going from the element (vertex) i to The drawing shows the proposed device. The device for examining the parameters of the graph contains the 1 1 shift registers, the key blocks, the first group of elements AND 3 - Zn, the second group of elements And 4 - Afj, the first elements of I.PI 5 -, the second elements OR 6-j - 6 ,, second 7 and first 8 - 8 reversible counters, counters 9 - 9, second decoders 10 - Yu, blocks 11 - llj, indications, first e decoders 12, 12j, the third decoders 13-, - 13 ,,, the first elements are NOT 14 - 14, the first elements are And 15 - 15, the second elements are NOT 16 - 16, the second elements are And 17 - 17, the second element And 18 delay element 19, input bus 20 Reset, bus 21, records of the number p reversible counter 22, element NOT 23, element 24, generator 25 clock pulses, input bus 26 Start, computing blocks 27. The device works as follows. Preliminarily, a number corresponding to the number of bits in the shift register C -1 is written to the reversing counter 22 via the input bus 21. The number of these bits also corresponds to the number of registers i. n, where and is the maximum difference of the adjacency matrix. Then, using a block 2-2, keys (for example, a jumper, a switch, etc.), the output of delay element 19 is switched to the input of register bits, and only those bits of registers that correspond to single elements of the adjacency matrix of the graph under study are switched. Each shift register corresponds to one corresponding row of the adjacency matrix, and the i-th bit of all registers corresponds to the -th column of this matrix. After switching the corresponding bits to the output of the delay element 19, the input bus 20 is given a reset pulse to the corresponding reset inputs of the 1–1 j shift registers, reversible counters 7–7, reversible counters 8–8 J counters 9-j – 9 dl bring them to zero state. The reset impulse delayed by delay element 19 writes, through the switched keys of a 2–2 key block, to the registers an adjacency matrix of the graph under study. After this operation is completed, the device is ready for operation. When applying the permit potential, the input bus 26 starts at the first input of the AND 24 element, and the clock pulses from the generator of 25 clock pulses appear at its output, since the input input of the AND 24 element is a single loss (HE from the output of the HE element 23, which disappears only when the state of the counter 22 is zero, i.e. after the n-th clock pulse. The clock pulses go to the control inputs of the registers 11 1 f, shift and information from the output of each register is fed to its input, as well as to the summing input corresponding reversing counter 7-, -7. After the arrival of the nth clock pulse to the second (subtractive) input of the reversing counter 22, it goes to the zero state, since in the initial state it contains the number n corresponding to the maximum dimension of the adjacency matrix. The output of the reversible counter 22 is the voltage of the logical unit, which, through the elements NOT 23, prohibits the further passage of the clock pulses through the element 24. During the t clock cycles, the information in the registers is completely rewritten and corresponds to the adjacency matrix. The corresponding reversible counters record the number of units contained in the corresponding row of the adjacency matrix. This is the end of the first iteration step. (h + 1) -th pulse from the generator 25 clock pulses through the element And the subtracting input of the reversible counter 7, since the element 15 is opened by a single potential from the output of the reversible counter 22 and the output of the decoder 12 through the element 14, and the counter 7 is in zero the state and at its output the voltage of a logical zero. Decoders and 13-13, at their output, the voltage of the logical unit is only in the case of the zero state of the corresponding reversible counter. Clock pulses, starting from (r + 1) -th, through element I, 15 begin to flow to the subtracting input of the reversing counter 7, as well as to the second inputs of the elements And 3 n corresponding to the first bits of all registers C - 1 shift, to the first inputs signals from the first bits of the respective shift registers are supplied. Therefore, if in the first discharge of the corresponding shift register 11-1 f, the unit is written down, the corresponding element AND 3-3 opens and the clock pulses through the corresponding element AND 3 the corresponding element of RSHI 5-5, arrive at the second summing input of the corresponding reversible counter 8 ., - 8. After the number of clock pulses, corresponding to the number of ones in the first row of the adjacency matrix, arrives at the subtracting input of the reversible counter 7, the counter goes to the zero state, at the output of the output signal. a voltage of logical unit appears, which through the element NOT 14 prohibits the passage of clock pulses through the element 15. The corresponding reversible counters write the number equal to the number of units in the first row of the adjacency matrix of the analyzed graph. The voltage of the logical unit from the output of the 1l decoder of the first group opens the element I 15-, since the first input of this element is supplied with the voltage of the logical unit from the element NOT 142. The clock pulses through the element 15 from the output of the clock generator go to the subtracting input of the reversible counter 7, as well as to the second inputs of all elements AND 3–3, corresponding to the second bit of all shift registers 1 ri, if one is written in them, then the clock pulses through the corresponding element OR 5–5 arrive at the summing input reversing counter. , t n After passing the clock pulses, the number of which corresponds to the number of units in the second line of the Mary, the adjacency, i.e. the number recorded in the reversible counter 7. At the output of the decoder 12, the first group 18 is the voltage of the logical unit, which through the element NOT 14 prohibits the passage of clock pulses through the element 5 and allows the passage of clock pulses through the next element 15 , In the future, the operation of the device proceeds in a similar way until the information from the last reversible counter 7 is not rewritten into the corresponding reversible counters 8 8p | . This completes the second iteration step. Single signals from the outputs of the decoders 12 - 12 are fed to the outputs of the element And 18, the voltage from the output of which opens the element And 17 for passing the clock pulses from the output of the generator 25 clock pulses, as the second input of the element And 17 receives the voltage of the logical unit output element HE 16, to the input of which a logical zero voltage is supplied from the output of the decoder 13. Clock pulses from the generator output 25 clock pulses are fed through the element 17 to the subtracting input of the reversing counter 8, as well as to the first inputs AND gates 4 - 4 corresponding to the first bit registers give 1 - 1 j shift to the second inputs of which are connected the outputs of the first discharge register rows 1 - 1 f shift. Elements AND 4-4p, which correspond to the first bits of the corresponding 1-1 shift registers, in which the unit is written, clock pulses through them and the corresponding elements OR 6-, -6 are opened, and written into the corresponding counters 9-9. the element AND 17 clock pulses, the number of which corresponds to the number recorded in the reversible counter 8, the counter 8 goes into the zero state and the output of the decoder 13 is the voltage of a logical unit. Therefore, at the output of the element NOT 16, a logical zero voltage appears, which prohibits the further passage of the clock pulses through the element And 17 ,. At the same time, the voltage of the logical unit from the output of the decoder 13 is fed to the first input and opens element I 17, through which the clock pulses begin to flow 9 to the subtracting input of the reversing counter 8 and the first inputs of elements I 4 - 4 corresponding to the second bits of registers 1 - 1 (the second column of the adjacency matrix), to the second inputs of which the outputs of the corresponding second bits of the 1–1 j shift registers are connected. The voltage of the logical unit from those bits in which the unit is written off opens the corresponding elements AND 4., - 4 and the clock pulses from their output through the corresponding elements OR arrive at the record in the corresponding counters 9–9 ,. The clock pulses through the element 172 pass until the reversible counter Sg goes to the zero state and closes it through the decoder 13, and the element NOT 16 element 17 and 17. The voltage of the logical unit from the output of the decoder 13j opens the next element 1 and 17, for the passage of clock pulses and the operation cycle proceeds in a similar way. The device operates until the information from the last reversing counter 8 is rewritten into the corresponding counters 9-9 (the third iteration step). After that, the passage of clock pulses to any elements of the device is prohibited by the elements And 15, - 15, 17 - 17 and 24. The information recorded in each counter 9., - 9, corresponds to the rank of the corresponding vertex of the graph under study. This information is decrypted by the corresponding decoder lOj - 1, and displayed on the corresponding block ll. - 11 |. indications. The proposed device, due to the presence of New Blocks and the connections between them, allows the calculation of the rank of the graph vertices.

Claims (1)

УСТРОЙСТВО ДЛЯ ИССЛЕДОВАНИЯ ПАРАМЕТРОВ ГРАФА, содержащее генератор тактовых импульсов, выход которого соединен с первым входом первого элемента И, второй вход которого' соединен с выходом элемента НЕ, вход которого подключен к выходу переполнения реверсивного счетчика, вычитающий вход которого соединен с выходом первого элемента И, о т л ичающееся тем, что, с целью расширения функциональных возможностей устройства за счет, обеспечения возможности вычисления рангов вершин графа, в устройство введены второй элемент И, элемент задержки и η вычислительных блоков, каждый из которых состоит из регистра сдвига, блока ключей, первой и второй групп элементов И, первого и второго элем'ентов ИЛИ, первого, второго и третьего дешифраторов, первого, второго реверсивных счетчиков, счетчика, первого и второго элементов НЕ, первого и второго элементов И, блока информации, причем в каждом вычислитель· ном блоке выходы блока ключей соединены с установочными входами разрядов регистра сдвига, выходы разрядов регистра сдвига подключены! к первым входам элементов И первой и второй групп, выходы элементов И первой группы! соединены! с входом первого элемента ИЛИ, выход которого соединен с суммирующим входом первого реверсивного счетчика, выход которого через первый дешифратор соединен с входом первого элемента НЕ, выход которого подключен к первому входу первого элемента И вычислительного блока, выход которого соединен с вычитающим -входом первого реверсивного счетчика и с вторым входом соответствующего элемента И второй группы, выходы элементов И второй группы соединены с входами второго элемента ИЛИ, выход которого подключен к информационному входу счетчика, выход которого.через второй дешифратор соединен с входом блока индикации, выход последнего разряда регистра сдвига соединен с установочным входом его первого разряда и подключен к суммирующему входу второго реверсивного счетчика, вычитающий вход которого соединен с выходом второго элемента И вычислительного блока, первый вход которого соединен с выходом второго элемента НЕ, вход которого подключен к выходу третьего дешифратора, вход которого соединен с выходом второго реверсивного счетчика, входы сдвига регистров сдвига всех вычислительных блоков подключены к выходу первого элемента И, выход третьего дешифратора каждого вычислительного элемента блока Соединен с соответствующим входом второго элемента И, выход которого соединен с вторым входом первого эле1120341 мента И первого вычислительного блока, выход первого дешифратора каждого вычислительного блока, кроме последнего,- подключен к второму входу первого элемента И последующего вычислительного блока, третий вход первого элемента И каждого вычислительного блока соединен с выходом генератора тактовых импульсов, выход третьего дешифратора каждого вычислительного блока, кроме последнего, соединен с вторым входом второго элемента И последующего вычислительного блока, второй вход второго элемента И первого вычислительного блока подключен к выходу реверсивного счетчика, третий вход второго элемента И каждого вычислительного блока соединен с выходом генератора тактовых импульсов, выход второго элемента И т-го вычислительного блока соединен с вторыми входами ΐ-х элементов И первой группы h вычислительных блоков, выход первого элемента И Н-го вычислительного блока соединен с вторыми входами- А-х элементов И второй группы η вычислительных блоков (где <= 1, ..., h ), установочные входы регистров сдвига, счетчиков, первого и второго реверсивных счетчиков всех вычислительных блоков объединены и соединены с входом блока задержки, выход которого соединено входами ми блока кюлчей вычислительных блоков.DEVICE FOR RESEARCH OF GRAPH PARAMETERS, containing a clock pulse generator, the output of which is connected to the first input of the first AND element, the second input of which is connected to the output of the element NOT, the input of which is connected to the overflow output of the reversible counter, the subtracting input of which is connected to the output of the first AND element, due to the fact that, in order to expand the functionality of the device at the expense of providing the ability to calculate the ranks of the graph vertices, the second element And, the delay element and η computing units, each of which consists of a shift register, a block of keys, the first and second groups of AND elements, the first and second elements OR, the first, second and third decoders, the first, second reversible counters, the counter, the first and second elements NOT, the first and second elements of And, the information block, and in each computing unit, the outputs of the key block are connected to the setting inputs of the bits of the shift register, the outputs of the bits of the shift register are connected! to the first inputs of the elements of the first and second groups, the outputs of the elements of the first group! connected! with the input of the first OR element, the output of which is connected to the summing input of the first reversible counter, the output of which through the first decoder is connected to the input of the first element NOT, the output of which is connected to the first input of the first element AND of the computing unit, the output of which is connected to the subtracting input of the first reversible counter and with the second input of the corresponding AND element of the second group, the outputs of the AND elements of the second group are connected to the inputs of the second OR element, the output of which is connected to the information input of the counter, you the course of which through the second decoder is connected to the input of the display unit, the output of the last bit of the shift register is connected to the installation input of its first discharge and connected to the summing input of the second reversible counter, the subtractive input of which is connected to the output of the second element AND of the computing unit, the first input of which is connected to the output of the second element is NOT, the input of which is connected to the output of the third decoder, the input of which is connected to the output of the second reverse counter, calculate the shift input of the shift registers of all ln blocks are connected to the output of the first element And, the output of the third decoder of each computing element of the block is connected to the corresponding input of the second element And, the output of which is connected to the second input of the first element 1120341 of the first computing block, the output of the first decoder of each computing block, except the last, is connected to the second input of the first element And the subsequent computing unit, the third input of the first element And of each computing unit is connected to the output of the clock generator, you the course of the third decoder of each computing unit, except the last, is connected to the second input of the second element And the subsequent computing unit, the second input of the second element And the first computing unit is connected to the output of the counter, the third input of the second element And of each computing unit is connected to the output of the clock the output of the second element AND of the t-th computing unit is connected to the second inputs of the элементов -th elements And the first group h of computing units, the output of the first element And the H-th computing of the unit is connected to the second inputs of the A-x elements And the second group of η computing blocks (where <= 1, ..., h), the installation inputs of the shift registers, counters, the first and second reversible counters of all computing blocks are combined and connected to the input a delay unit, the output of which is connected by the inputs of the block of kulches of computing blocks.
SU833569191A 1983-03-29 1983-03-29 Device for studying parameters of graph SU1120341A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833569191A SU1120341A1 (en) 1983-03-29 1983-03-29 Device for studying parameters of graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833569191A SU1120341A1 (en) 1983-03-29 1983-03-29 Device for studying parameters of graph

Publications (1)

Publication Number Publication Date
SU1120341A1 true SU1120341A1 (en) 1984-10-23

Family

ID=21055453

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833569191A SU1120341A1 (en) 1983-03-29 1983-03-29 Device for studying parameters of graph

Country Status (1)

Country Link
SU (1) SU1120341A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР № 896630, кл. G 06 F 15/20, 1980. 2. Авторское свидетельство СССР № 943738, кл. G 06 F 15/20, 1980 (прототип). *

Similar Documents

Publication Publication Date Title
SU1120341A1 (en) Device for studying parameters of graph
US3052872A (en) Information storage device
SU1374237A1 (en) Device for determining graph parameters
SU943731A1 (en) Device for code sequence analysis
SU1383326A1 (en) Device for programmed delay of information
SU1133596A1 (en) Device for determining connectivity characteristics of oriented graph
SU1363237A1 (en) Device for investigating graphs
SU1287254A1 (en) Programmable pulse generator
SU1241239A1 (en) Stochastic transformer
SU1571608A1 (en) Device for determining priority of objects with variable structure
SU1242982A1 (en) Device for determining minimum paths in graphs
SU1252791A1 (en) Device for analyzing graphs
SU1275523A1 (en) Indication device
SU742930A1 (en) Computing device
SU739516A1 (en) Interface
SU1198538A2 (en) Device for generating histogram of random numbers
SU932487A1 (en) Number ordering device
SU1432558A1 (en) Device for separating correlograms
SU1026118A1 (en) Digital electronic timepiece
SU746488A1 (en) Interface
SU1399774A1 (en) Data inspection device
SU877618A1 (en) Shift register
SU1124331A2 (en) System for automatic inspecting of large-scale-integrated circuits
SU1264239A1 (en) Buffer storage
SU1372316A1 (en) Memory for graphic display