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

被引:0
|
作者
Xiaoyan Gongye
Yutian Wang
Yulian Wen
Peiyao Nie
Peiguang Lin
机构
[1] Qufu Normal University,School of Software Engineering
[2] Shandong University of Finance and Economics,School of Computer Science and Technology
[3] Sanya University,School of Information and Intelligence Engineering
来源
Evolutionary Intelligence | 2022年 / 15卷
关键词
Directed graph; Simple circuit; Trivial graph; Strongly connected component; Depth-first traversal;
D O I
暂无
中图分类号
学科分类号
摘要
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.
引用
收藏
页码:2411 / 2420
页数:9
相关论文
共 50 条
  • [1] A simple detection and generation algorithm for simple circuits in directed graph based on depth-first traversal
    Gongye, Xiaoyan
    Wang, Yutian
    Wen, Yulian
    Nie, Peiyao
    Lin, Peiguang
    EVOLUTIONARY INTELLIGENCE, 2022, 15 (04) : 2411 - 2420
  • [2] Accelerating Depth-First Traversal by Graph Ordering
    Lyu, Qiuyi
    Sha, Mo
    Gong, Bin
    Lyu, Kuangda
    33RD INTERNATIONAL CONFERENCE ON SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT (SSDBM 2021), 2020, : 13 - 24
  • [3] Depth-first method for attack graph generation
    Information Security Research Center, Harbin Engineering University, Harbin 150001, China
    不详
    Jilin Daxue Xuebao (Gongxueban), 2009, 2 (446-452):
  • [4] Humanoid robot runs maze mode using depth-first traversal algorithm
    Juang, Li-Hong
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 82 (08) : 11847 - 11871
  • [5] Humanoid robot runs maze mode using depth-first traversal algorithm
    Li-Hong Juang
    Multimedia Tools and Applications, 2023, 82 : 11847 - 11871
  • [6] On a simple depth-first search strategy for exploring unknown graphs
    Kwek, S
    ALGORITHMS AND DATA STRUCTURES, 1997, 1272 : 345 - 353
  • [7] An improved Graph-based Depth-First algorithm and Dijkstra algorithm program of police patrol
    Tie, Chunhua
    Shen, Yanchun
    MATERIALS SCIENCE AND INFORMATION TECHNOLOGY, PTS 1-8, 2012, 433-440 : 4135 - 4141
  • [8] Fast Single-phase Fault Location Method Based on Community Graph Depth-first Traversal for Distribution Network
    Dang, Jian
    Yan, Yunjiang
    Jia, Rong
    Wang, Xiaowei
    Wei, Hui
    CSEE JOURNAL OF POWER AND ENERGY SYSTEMS, 2023, 9 (02): : 612 - 622
  • [9] Depth-First Discovery Algorithm for incremental topological sorting of directed acyclic graphs
    Zhou, JJ
    Müller, M
    INFORMATION PROCESSING LETTERS, 2003, 88 (04) : 195 - 200
  • [10] An Improved Algorithm for Searching Maze Based on Depth-First Search
    Chen, Ying-Hsuan
    Wu, Chang-Ming
    2020 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN (ICCE-TAIWAN), 2020,