SU1251049A1 - Device for determining route - Google Patents
Device for determining route Download PDFInfo
- Publication number
- SU1251049A1 SU1251049A1 SU843857177A SU3857177A SU1251049A1 SU 1251049 A1 SU1251049 A1 SU 1251049A1 SU 843857177 A SU843857177 A SU 843857177A SU 3857177 A SU3857177 A SU 3857177A SU 1251049 A1 SU1251049 A1 SU 1251049A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- input
- output
- trigger
- matrix
- Prior art date
Links
Abstract
Изобретение относитс к области вычислительной техники и может быть использовано при решении задач определени на графах маршрутов между ддум заданными вершинами. Изобретение позвол ет идентифицировать вершины, вошедшие в данный маршрут. Устройство содержит группу ключей, группу триггеров матрк-. цу из NifN моделей ветвей дерева, причем кажда модель ветви дерева выполнена в виде триггера, группу . элементов ИЛИ, группу-счетчиков, группу элементов И, блок сравнени , регистр, триггер, распределитель импульсов, генератор импульсов, I ил. елThe invention relates to the field of computer technology and can be used in solving the problems of determining route graphs between thoughts of given vertices. The invention makes it possible to identify the vertices included in a given route. The device contains a group of keys, a group of triggers matrk-. Zu of NifN tree branch models, each tree branch model being designed as a trigger, group. elements OR, group of counters, group of elements AND, comparison unit, register, trigger, pulse distributor, pulse generator, I Il. ate
Description
Изобретение относитс к вычислительной технике и может быть использовано при решении задач определени на графах маршрутов между двум заданными вершинами дерева.The invention relates to computing and can be used in solving problems of determining on route graphs between two given vertices of a tree.
Цель изобретени - расширение функциональных возможностей за счет идентификации вершин, вошедших в заданньш маршрут.The purpose of the invention is to expand the functionality by identifying the vertices included in a given route.
На чертеже изображена функциональна схема устройства дл определени маршрута.The drawing shows a functional diagram of the device for determining the route.
Устройство содержит rjpynny ключей 1, группу триггеров 2, матрицуThe device contains rjpynny keys 1, a group of triggers 2, matrix
3из NisN моделей ветвей (дерева), причем кажда модель ветви выполнена в виде триггера 4, группу элементов ИЛИ 5, группу счетчиков 6, группу элементов И 7, блок 8 сравнени , регистр 9, триггер 10, распределитель 1 импульсов, генератор 12 импуль сов,3 from NisN branch models (tree), each branch model being designed as a trigger 4, a group of elements OR 5, a group of counters 6, a group of elements AND 7, a comparison block 8, a register 9, a trigger 10, a distributor 1 pulses, a generator 12 pulses ,
Устройство работает следующим образом.The device works as follows.
Дл приведени его в исходное состо ние включают два счетчика 6 с номерами, соответствуюш;ими двум вершинам, между которыми нужно найти маршрут.- Кроме того, обнул ют регистр 9, счетчики 6, триггеры 2 и 10 и распределитель И, в матрице 3 включают те триггеры 4, ria соответствующих которым позици х матрицы графа смежности сто т единицы (т.е. имеютс соответствзпющие ребра), за исключением триггеров главной диагонали, которые в работу не включаютс . Нулевыми потенциалами с выходов триггеров 2 открыты ключи 1.To bring it back to its original state, two counters 6 with numbers corresponding to them are included, with two vertices between which you need to find a route. In addition, register 9, counters 6, triggers 2 and 10, and distributor AND, in matrix 3 include those triggers 4, ria whose corresponding positions of the matrix of the adjacency graph are one hundred (i.e. there are matching edges), with the exception of the main diagonal triggers, which are not included in the work. Zero potentials from the outputs of the flip-flops 2 open keys 1.
С подачей сигнала на вход устройсва генератор 12 начинает вьщачу импульсов на вход распределител 11, которьй поочередно выдает импульсы на первый, второй и ТоД. выходы. Первый импульс распределител 11 пос TjTiaeT на единичные входы триггеровWith the signal applied to the input of the device, the generator 12 starts pulsing the input of the distributor 11, which in turn generates pulses to the first, second and Tod. exits. The first impulse of the distributor 11 pos TjTiaeT to the single inputs of the triggers
4первого столбца матрицы 3 единичные сигналы с выходов триггеров через элементы ИЛИ 5 поступают на счетные входы соответствующих счетчиков 6, которые увеличивают свои показани на .The first 4 columns of the matrix 3 single signals from the outputs of the triggers through the elements OR 5 arrive at the counting inputs of the corresponding counters 6, which increase their readings.
Аанлогичные процессы происход т при вьщаче распределителем 11 импульсов по второму, ..., N-y выходам. Каждый счетчик 6 имеет емкость 2 и при отсчете двух импульсов выдает единичный потенциал переполнени доSimilar processes occur when the distributor 11 pulses through the second, ..., N-y outputs. Each counter 6 has a capacity of 2 and, when two pulses are counted, gives a unit overflow potential to
поступлени сигнала на его установочный вход (независимо от числа поступивших на его счетный вход импульсов после поступлени первых двух импуль-сов ). После прохождени N импульсов на выходе первого разр да счетчиков в одноименных этим счетчикам строках матрицы 3 в работу включен всего один триггер 4, и присутствует единичньй потенциал, у остальных счетчиков на выходе первого разр да присутствует нулевой потенциал, а на выходе второго разр да - единичный потенциал (переполнение),the arrival of a signal at its installation input (regardless of the number of pulses arriving at its counting input after the arrival of the first two pulses). After the passage of N pulses at the output of the first discharge of counters in the rows of matrix 3 of the same name, only one trigger 4 is included in the work, and there is a single potential, the remaining counters have a zero potential at the output of the first discharge, and a single one at the output of the second discharge potential (overflow),
Пусть на выходе первого разр да i-ro счетчика 6 присутствует единичный потенциал, поступающий на второй вход элемента И 7, Тогда (N + 1)-й импульс распределител 11Let at the output of the first bit i-ro of the counter 6 there is a single potential arriving at the second input of the element And 7, Then the (N + 1) -th pulse of the distributor 11
проходит через элемент И 7; на единичный вход триггера 2 , который вьщачей единичного потенциала, закрывает ключ 1;, , (N + 2)-й импульс распределител не проходит через закрытые ключи 1 на нулевые входы триггеров 4 и установочные входы счетчиков 6, вследствие чего триггеры 4 соответствующих столбцов матрицы 3, соответствующие счетчики 6 и триггеры 2 остаютс до конца работы устройства в том состо нии, в которое они перешли после прохождени .первых N импульсов распределител 1 I .passes through the element And 7; on the single input of trigger 2, which is a unit potential, closes key 1 ;, the (N + 2) -th distributor pulse does not pass through the closed keys 1 to the zero inputs of the triggers 4 and the installation inputs of the counters 6, as a result of which the triggers 4 corresponding columns of the matrix 3, the corresponding counters 6 and the triggers 2 remain until the end of the operation of the device in the state in which they passed after the passage of the first N pulses of the distributor 1 I.
У тех счетчиков 6, которые переполнились после прохождени первых N импульсов распределител 11, единичный потенциал присутствует на выходе .второго разр да и подаетс на соответствующие входы регистра 9,For those counters 6 that have overflowed after the passage of the first N pulses of the distributor 11, a single potential is present at the output of the second bit and is fed to the corresponding inputs of register 9,
который записывает 1 в чейки пам ти после того, как (N + 1)-й импульс распределител 1I перебросит в единичное состо ние триггер 10, и он вьщает сигнал на вход записи регистра 9оПоскольку на выходе первого разр да этих счетчикозз имеетс нулевой потенциал, то соответствующие элементы И 7 закрыты дл про- холодени импульса с (N + 1)-го выхода распределител , поэтому соответствующие триггеры 2 остаютс в нулевом положении и не закрывают одноименные ключи 1.which writes 1 to the memory cells after the (N + 1) -th pulse of the distributor 1I flips trigger 1 to one state, and it outputs a signal to the register entry 9 Because there is zero potential at the first discharge output of these counters, the corresponding elements And 7 are closed to cool the pulse from the (N + 1) -th output of the distributor, therefore the corresponding triggers 2 remain in the zero position and do not close the keys of the same name 1.
Импульс с (N + 2)-го выхода распределител 11 проходит через те ключи I, которые остались открытыми , на нулевые входы триггеров 4 соответствующих столбцов матрицы 2 и перебрасывает их в исходное (The impulse from the (N + 2) -th output of the distributor 11 passes through the keys I, which remain open, to the zero inputs of the flip-flops 4 corresponding columns of the matrix 2 and transfers them to the initial (
левое) положение. Этот импульс проходит также на установочные входы соответствующих счетчиков 6, которые сбрасывают свои показани в О Этим заканчиваетс первый цикл ра- боты устройства.left) position. This pulse also passes to the installation inputs of the corresponding counters 6, which reset their readings to O. This completes the first cycle of operation of the device.
Во втором цикле работы устройства распределитель 11 также поочередно выдает импульсы на первый, второй и т.д. выходы. Эти импульсы перебрасывают те триггеры 4, которые были возвращены в нулевое положение (N + 2)-м импульсом распределител 11, в единичное состо ние. Счетчики 6, которые были установлен в нулевое состо ние импульсом с (N + 2)-го выхода распределител 1 1 в первом цикле, ведут счет поступающих на их входы импульсов. При этом на вход счетчика 6, в соответствующей которому j-й строк матрицы 3 после первого цикла не было возвращено в исходное состо ние г триггеров 4, поступит меньшее (на г) количество импульсов. Поэто- му в общем случае некоторые из счетчиков 6 после прохождени N импульсов распределител 11 во втором цикле уже не достигнут состо - |Ни переполнени и отсчитывают только один импульс. Тем самым триггеры 4 соответствующих столбцов матрицы i3 по окончании второго цикла не будут возвращены в исходное нулевое состо ние, а сами эти счетчики не будут установлены в О, Импульс с (N + 1)-го выхода распределител 11 перебрасывает в нулевое положение триггер 10, единичный сигнал с инверсного выхода которого поступает на управл ющий вход блока 8. Пос- ледний осуществл ет поразр дное сравнение сигналов, поступающих на его первую и вторую группы информационных входов, и выдает на выход сигнал лишь при условии, что на обе группы информационных входов поступают одинаковые сигналы.In the second cycle of operation of the device, the distributor 11 also alternately pulses to the first, second, etc. exits. These pulses transfer those triggers 4, which were returned to the zero position by the (N + 2) th pulse of the distributor 11, to a single state. Counters 6, which were set to the zero state by a pulse from the (N + 2) -th output of the distributor 1 1 in the first cycle, count the pulses arriving at their inputs. In this case, the input of counter 6, in which the j-th row of matrix 3 after the first cycle was not returned to the initial state g of triggers 4, will receive a smaller (per g) number of pulses. Therefore, in the general case, some of the counters 6 after the passage of N pulses of the distributor 11 in the second cycle have not reached the state - | No overflow and only one pulse is counted. Thus, the triggers of the 4 corresponding columns of the matrix i3 will not be returned to the initial zero state at the end of the second cycle, and these counters will not be set to O. The impulse 11 flips the trigger 10 from the (N + 1) -th output of the distributor 11, a single signal from the inverse output of which is fed to the control input of block 8. The last one makes a one-by-one comparison of the signals arriving at its first and second groups of information inputs, and outputs the signal only under the condition that both groups of information These inputs receive the same signals.
Работа устройство продолжаетс до того момента, пока по окончании какого-то цикла у блока 8 на обоих группах информационных входов не будут одинаковые сигналы. Тогда блок 8 вьщает на выход сигнал, поступающий на вход генератора I2 и прекращающий его работу. Номера вершин, через которые проход т маршрут между двум выбранными вершинами дерева , определ ют по номерам счетчиковThe operation of the device continues until such time as, at the end of a cycle, block 8 has the same signals on both groups of information inputs. Then block 8 outputs the output signal to the input of the generator I2 and stopping its operation. The numbers of the vertices through which the route passes between the two selected vertices of the tree are determined by the numbers of the counters
5 five
о j о 5 5 0 5 about j about 5 5 0 5
0 5 0 5
00
04940494
6, на выходах вторых разр дов которых присутствует потенциал переполнени .6, at the outputs of the second bits of which there is an overflow potential.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843857177A SU1251049A1 (en) | 1984-12-07 | 1984-12-07 | Device for determining route |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843857177A SU1251049A1 (en) | 1984-12-07 | 1984-12-07 | Device for determining route |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1251049A1 true SU1251049A1 (en) | 1986-08-15 |
Family
ID=21163390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843857177A SU1251049A1 (en) | 1984-12-07 | 1984-12-07 | Device for determining route |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1251049A1 (en) |
-
1984
- 1984-12-07 SU SU843857177A patent/SU1251049A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 329538, кл. G 06 G 7/48, 1970. Авторское свидетельство СССР № 679998, кл. G 06 G 7/48, 1977. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1251049A1 (en) | Device for determining route | |
US3034102A (en) | Data handling system | |
SU1341651A2 (en) | Histogram forming device | |
SU1238277A1 (en) | Device for selecting true code | |
SU1280639A1 (en) | Device for loading data | |
SU1300459A1 (en) | Device for sorting numbers | |
SU1363195A1 (en) | Random event simulating device | |
SU943731A1 (en) | Device for code sequence analysis | |
SU1341649A1 (en) | Device for determining number of subgraph nodes of graph | |
SU1241221A1 (en) | Information output device | |
SU1322312A1 (en) | Device for studying petri networks | |
SU1277088A1 (en) | Device for sorting data | |
SU1325503A1 (en) | Device for studying undecipherable graphs | |
SU437226A1 (en) | Pulse counter | |
SU1223222A1 (en) | Device for sorting numbers | |
SU1124331A2 (en) | System for automatic inspecting of large-scale-integrated circuits | |
SU1339579A1 (en) | Device for simulating graph end node | |
SU576609A1 (en) | Associative memory | |
SU1397933A1 (en) | Device for permutation searching | |
SU693372A1 (en) | Divider | |
SU978197A1 (en) | Associative on-line memory device | |
SU1305771A1 (en) | Buffer memory driver | |
SU883910A1 (en) | Parallel code parity checking device | |
SU1298768A1 (en) | Device for generating column chart | |
SU1606973A1 (en) | Device for sorting numbers |