Minimum path - all edges at least once

I have a graph with many cycles, possibly tightly coupled, and I need to get a minimal cycle from it. I mean, I need to get a loop, which is the shortest loop in the graph, and each edge is covered at least once.

I was looking for some kind of algorithm or some kind of theoretical background, but the only thing I found was the Chinese postman algorithm. But this solution is not for a directed graph.

Can someone help me? Thanks

Edit → All edges of this graph have the same value - for example, 1

+3
source share
4 answers

- . ( , ).

, , .

( ):

, G, . , G. G , . G , (i, j) - . , , , ingoing . , , .

+5

, , " ". , , , , google

+1

, , , , . , . , , , . node node, .

0

, , . , Matching, (1973) - . 115 (. 28 pdf):

, ...

G G. node n, r arborescence, , n, , . r , r.

This algorithm was used by van Aardenden-Ehrenfest and de Bruin to list all Euler tours in a specific oriented graph [1].

0
source

Source: https://habr.com/ru/post/1734950/


All Articles