SU1658172A1 - Graph problem solver - Google Patents
Graph problem solver Download PDFInfo
- Publication number
- SU1658172A1 SU1658172A1 SU894642209A SU4642209A SU1658172A1 SU 1658172 A1 SU1658172 A1 SU 1658172A1 SU 894642209 A SU894642209 A SU 894642209A SU 4642209 A SU4642209 A SU 4642209A SU 1658172 A1 SU1658172 A1 SU 1658172A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- block
- input
- graph
- output
- cycles
- Prior art date
Links
- 239000011159 matrix material Substances 0.000 claims abstract description 14
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано дл анализа св зности верхних графа. Целью изобретени вл етс расширение функциональных возможностей устройства за счет проверки наличи циклов в графе. Устройство содержит блок 1 задани матрицы смежности , блок 2 определени полустепеней захода, блок 3 сравнени , вход 4 опроса устройства и выход 5 признака отсутстви циклов устройства с соответствующими св з ми . 4 ил.The invention relates to computing and can be used to analyze the connectivity of an upper graph. The aim of the invention is to expand the functionality of the device by checking the presence of cycles in the graph. The device contains a block 1 for setting the adjacency matrix, a block 2 for determining semi-degrees of approach, a block 3 for comparison, an input 4 for polling the device and an output 5 for the absence of device cycles with the corresponding connections. 4 il.
Description
Изобретение относитс к вычислительной технике и может быть использовано дл анализа св зности верхних графа.The invention relates to computing and can be used to analyze the connectivity of an upper graph.
Целью изобретени вл етс расширение функциональных возможностей устройства за счет проверки наличи циклов в графе.The aim of the invention is to expand the functionality of the device by checking the presence of cycles in the graph.
На фиг. 1 представлена функциональна схема устройства; на фиг. 2 - функциональна схема варианта исполнени устройства; на фиг. 3 - функциональна схема блока определени полустепеней захода; на фиг. 4 - функциональна схема блока удалени исход щих дуг.FIG. 1 shows a functional diagram of the device; in fig. 2 is a functional diagram of an embodiment of the device; in fig. 3 is a functional block diagram of the approach degree determination; in fig. 4 is a functional block diagram of the removal of outgoing arcs.
Устройство содержит блок 1 задани матрицы смежности, блок 2 определени полустепеней захода, блок 3 сравнени , вход 4 опроса и выход 5 признака отсутстви циклов.The device contains a block 1 specifying the adjacency matrix, a block 2 determining half-degrees of approach, a block 3 of comparison, an input 4 of the interrogation and an output 5 of the sign of the absence of cycles.
Устройство работает следующим образом .The device works as follows.
Перед началом работы в блок 1 задани матрицы смежности занос т информацию о топологии графа.Before starting work, information on the topology of the graph is entered in block 1 of the assignment of the adjacency matrix.
На вход 4 опроса устройства подают потенциал уровн логической единицы. При этом блок 2 выдает потенциалы уровн логической единицы на те свои выходы, полустепени захода соответствующих вершин которых равны нулю (т. е. потенциалы уровн логической единицы по вл ютс на тех выходах блока 2, номера которых равны номерам вершин, в которые не заходит ни одна дуга). При этом блок 1 удал ет из матрицы смежности графа выбранные строки (тем самым из топоплогии графа удал ютс дуги, исход щей из всех вершин с нулевойAt the input 4 of the survey device serves the potential level of logical units. In this case, unit 2 outputs the potentials of a logic unit to those outputs, the half-degrees of entry of the corresponding vertices of which are zero (i.e., the potentials of the logic unit level appear on those outputs of block 2, whose numbers are equal to the numbers of the vertices one arc). In this case, block 1 removes selected rows from the graph adjacency matrix (thereby, arcs from all vertices with zero are removed from the topology of the graph).
полустепенью захода). При этом топологи графа измен етс , блок 2 выдел ет новые вершины с нулевой полустепенью захода и так далее, до полного удалени всех дуг. не вход щих в циклы графа. Через врем , достаточное дл окончани указанных процесЁdegree of entry). In this case, the topology of the graph is changed, block 2 selects new vertices with zero approach degree, and so on, until all arcs are completely removed. not included in the cycles of the graph. After a time sufficient to terminate the indicated processes.
ОABOUT
оabout
(X(X
V NV n
сов, при отсутствии циклов в графе на всех выходах блока 2 по в тс потенциалы уровн логической единицы, При этом блок 3 сравнени сформирует на своем выходе по- тонциал уровн логической единицы (признак отсутстви циклов). При наличии циклов в графе на одном или нескольких выходах блока 2 сохран тс потенциалы уровн логического нул и на выходе блока 3 сравнени (он может быть выполнен в виде элемента И) сохранитс потенциал логического нул (признак наличи циклов в графе),If there are no cycles in the graph at all outputs of block 2, the potential levels of the logical unit are in cc. At that, the comparison unit 3 will form at its output a potential level potential of the logical unit (a sign of the absence of cycles). If there are cycles in the graph at one or several outputs of block 2, the potentials of the logic zero level are saved, and at the output of the comparison block 3 (it can be made as an element I) the potential of logic zero remains (a sign of the presence of cycles in the graph)
На фиг. 2 показан вариант исполнени устройства, который отличаетс тем, что, с целью сохранени первоначальной топологии графа, в него введен блок б удалени исход щих дуг, причем выход значени (К, М)-го элемента блока 1 задани матрицы смежности подключен к входу признака наличи (К, М)-й дуги блока удалени исход щих дуг (К 1 В, М 1 В, где В количество вершин в графе), одноименный выход которого подключен к одноименному входу блока 2 определени полустепеней, захода, выход признака равенства нулю по- лустепени захода К-й вершины подключен к К- му информационному входу блока 3 сравнени и к входу удалени дуги, исход щих из К-й вершины блока 6.FIG. 2 shows an embodiment of the device, which is characterized in that, in order to preserve the original topology of the graph, a block for removing outgoing arcs is entered into it, with the output of the (K, M) th element of block 1 of the adjacency matrix setting 1 (K, M) -th arc of the outgoing arc removal unit (K 1 V, M 1 V, where B is the number of vertices in the graph), whose output of the same name is connected to the input of the same name of block 2 for determining half-degrees, approach, sign of equality of zero the extent of the approach of the K-th peak is connected to the K-info The memory input of block 3 is compared to the arc removal input emanating from the K-th vertex of block 6.
Блок 2 определени полустепеней захода содержит группу из В элементов ИЛИ- НЕ 7 и группу из В элементов И 8, причем вход 9 признака наличи (К.МЬй дуги подключен к М-му входу К-го элемента ИЛИ- НЕ 7, выход которого подключен к первому входу К-го элемента И 8, выход которого вл етс выходом 10 признака равенстваUnit 2 for determining the half-degrees of entry contains a group of B elements OR — NOT 7 and a group of B elements — AND 8, and input 9 is a sign of presence (K.My arc is connected to the M th input of the Kth element OR — NOT 7, the output of which is connected to the first input of the K-th element And 8, the output of which is the output 10 of the sign of equality
нулю степени К-й вершины блока 2, вход 11 опроса которого подключен к вторым входам всех элементов И группы,the zero degree of the K-th vertex of block 2, the input 11 of the poll of which is connected to the second inputs of all elements AND groups,
Блок 6 удалени исход щих дуг содержит матрицу из ВхВ ключей 12, причем вход 13 признака наличи (К,М)-1 дуги блока 6 подключен к информационному входу М-го ключа 12 К-й строки матрицы, информационный выход которого вл етс одноименным выходом 14 блока 6, вход 15 удалени дуг, исход щих из К-й вершины которого подключен к отключающим входам всех ключей 12 К-й строки матрицы.The outgoing arc removal unit 6 contains a matrix of IxB keys 12, and the input 13 of the presence sign (K, M) -1 of the arc of block 6 is connected to the information input of the Mth key 12 of the Kth row of the matrix, the information output of which is the same output 14 of block 6, the input 15 for removing arcs from the kth vertex of which is connected to the disconnecting inputs of all keys of the 12th row of the matrix.
Фсрмула изобретени Устройство дл решени задач на графах , содержащее блок задани матрицы смежности и блок определени полустепеней захода, причем выход значени (К.М)-го элемента блока задани матрицы смежности (К - 1В, М 1В, где В - количество вершин в графе) подключен к входу признака наличи (К,М)-й дуги блока определени полустепеней захода, отличающеес тем, что, с целью расширени функциональных возможностей устройства за счет проверки наличи циклов в графе, в него введен блок сравнени , причем вход опроса устройства подключен к входу опроса блока определени полустепеней захода, выход признака равенства нулю полустепени захода К-й вершины которого подключен к входу удалени К-й строки блока задани матрицы смежности и к К-му информационному входу блока сравнени , выход признака отсутстви нулевой информации которого вл етс выходом признака отсутстви циклов устройства.The invention is a device for solving problems on graphs containing a block for setting an adjacency matrix and a block for determining half-degrees of approach, and the output value (KM) of the element of the block for specifying an adjacency matrix (K is 1B, M is 1B, where B is the number of vertices in the graph ) connected to the input of the presence sign (K, M) of the arc of the step-step detection unit, characterized in that, in order to expand the functionality of the device by checking the presence of cycles in the graph, a comparison block was entered into it, and the device's polling input is connected to in do the polling of the stepback degree determination unit, the output of the sign of equality of the half degree of entry of the Kth peak of which is connected to the delete input of the Kth row of the block of the adjacency matrix and the Kth information input of the comparison block, the sign of the absence of zero information of which is the output of the sign no device cycles.
Фиг.11
1one
Фиг.22
ЯI
П 18 % 2ВП 18% 2В
Фиг.ЗFig.Z
аbut
. . Р0. . P0
% /% /
//г// g
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU894642209A SU1658172A1 (en) | 1989-01-24 | 1989-01-24 | Graph problem solver |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU894642209A SU1658172A1 (en) | 1989-01-24 | 1989-01-24 | Graph problem solver |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1658172A1 true SU1658172A1 (en) | 1991-06-23 |
Family
ID=21425002
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU894642209A SU1658172A1 (en) | 1989-01-24 | 1989-01-24 | Graph problem solver |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1658172A1 (en) |
-
1989
- 1989-01-24 SU SU894642209A patent/SU1658172A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Авторское свидетельство СССР № 468244,кл. G 06 F 15/20, 1972. Авторское свидетельство СССР № 1575199, кл. G 06 F 15/20, 1983. * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| GB1487266A (en) | Apparatus for monitoring changes of multiple inputs | |
| SU1658172A1 (en) | Graph problem solver | |
| US3993980A (en) | System for hard wiring information into integrated circuit elements | |
| SU1660015A1 (en) | Device for graph problem solving | |
| SU1681311A1 (en) | Graph-based problems solver | |
| SU1683034A1 (en) | Graph parameters analyzers | |
| SU1462349A1 (en) | Processor for performing operations with graphs | |
| SU1647562A1 (en) | Device for binary numbers sorting | |
| RU2178916C2 (en) | Character image recognition device | |
| RU2022353C1 (en) | Device for determining complement of a set | |
| SU1501084A1 (en) | Device for analyzing graph parameters | |
| SU1615756A1 (en) | Device for identifying images | |
| SU1711189A2 (en) | Graph painter | |
| SU450232A1 (en) | Associative storage device | |
| SU1711187A1 (en) | Graph-based problems solver | |
| SU1683035A1 (en) | Device for operations over graphs | |
| SU1493998A1 (en) | Device for data input | |
| SU1649575A1 (en) | Movable objects discriminator | |
| SU1550505A1 (en) | Information input device | |
| SU1615717A1 (en) | Device for servicing requests | |
| SU1275427A1 (en) | Device for calculating minimum cover | |
| SU1509890A1 (en) | Arrangement for forming structured files | |
| SU1587535A1 (en) | Device for operations on graphs | |
| SU1658167A1 (en) | Device for combinations searching | |
| SU1211802A1 (en) | Displaying device |