Back to Search Start Over

A simple detection and generation algorithm for simple circuits in directed graph based on depth-first traversal.

Authors :
Gongye, Xiaoyan
Wang, Yutian
Wen, Yulian
Nie, Peiyao
Lin, Peiguang
Source :
Evolutionary Intelligence; Dec2022, Vol. 15 Issue 4, p2411-2420, 10p
Publication Year :
2022

Abstract

This paper proposes a new algorithm for detecting and generating simple circuits within a directed graph. Before generating all simple circuits in a directed graph, the algorithm first detects whether there is a simple circuit in directed graph, and the detection can divide the directed graph into trivial graphs or strongly connected components. In the process of detecting the existence of simple circuit, the algorithm repeatedly reduces the number of vertices in vertex set along with edge pruning. Based on depth-first traversal, we can get all simple circuits of the directed graph. Especially, instead of proceeding depth-first traversals based on all vertices, the algorithm starts with a random vertex in a strongly connected component to reduce the number of depth-first traversals, and obtain all simple circuits of this strongly connected component. The difficulty of the algorithm is to detect and delete the repeated circuits in the process of generating all simple circuits, which can reduce both the storage space and time complexity. As a result, the output of the algorithm does not contain any repeated circuits. The algorithm simplifies the edge set of directed graphs and greatly reduces the number of depth-first traversals, thereby reducing the computational complexity and improving the computational efficiency. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
18645909
Volume :
15
Issue :
4
Database :
Complementary Index
Journal :
Evolutionary Intelligence
Publication Type :
Academic Journal
Accession number :
159896344
Full Text :
https://doi.org/10.1007/s12065-020-00416-6