{"title":"有向无环图的一种高效并行有序深度优先搜索策略","authors":"Chuqi Yan, Jianqiang Huang","doi":"10.1002/cpe.70013","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>With the advent of the big data era, accelerating the parallelization of Depth-First Search (DFS) has become pivotal for addressing the challenges posed by large-scale datasets and complex problems in contemporary applications. To improve the parallel processing performance of DFS on Directed Acyclic Graphs (DAGs) while maintaining the orderliness of traversal outcomes, this paper introduces an efficient Parallel Ordered Depth-First Search (PODFS). By leveraging the novel concepts of Clue Path, ParallelList, and the node attributes Level and Dis, PODFS achieves precise subgraph partitioning while preserving the ordered nature of parallel search results. After performing a one-time preprocessing on a specific graph, the proposed algorithm enables more efficient global traversals, achieving a speedup ranging from 6× to 12× on various real-world graph datasets while maintaining the orderedness of traversal results. These performance improvements are crucial for applications that require frequent, in-depth graph searches with a strict need to preserve traversal order.</p>\n </div>","PeriodicalId":55214,"journal":{"name":"Concurrency and Computation-Practice & Experience","volume":"37 4-5","pages":""},"PeriodicalIF":1.5000,"publicationDate":"2025-02-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An Efficient Parallel Ordered Depth-First Search Strategy for Directed Acyclic Graphs\",\"authors\":\"Chuqi Yan, Jianqiang Huang\",\"doi\":\"10.1002/cpe.70013\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n <p>With the advent of the big data era, accelerating the parallelization of Depth-First Search (DFS) has become pivotal for addressing the challenges posed by large-scale datasets and complex problems in contemporary applications. To improve the parallel processing performance of DFS on Directed Acyclic Graphs (DAGs) while maintaining the orderliness of traversal outcomes, this paper introduces an efficient Parallel Ordered Depth-First Search (PODFS). By leveraging the novel concepts of Clue Path, ParallelList, and the node attributes Level and Dis, PODFS achieves precise subgraph partitioning while preserving the ordered nature of parallel search results. After performing a one-time preprocessing on a specific graph, the proposed algorithm enables more efficient global traversals, achieving a speedup ranging from 6× to 12× on various real-world graph datasets while maintaining the orderedness of traversal results. These performance improvements are crucial for applications that require frequent, in-depth graph searches with a strict need to preserve traversal order.</p>\\n </div>\",\"PeriodicalId\":55214,\"journal\":{\"name\":\"Concurrency and Computation-Practice & Experience\",\"volume\":\"37 4-5\",\"pages\":\"\"},\"PeriodicalIF\":1.5000,\"publicationDate\":\"2025-02-13\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Concurrency and Computation-Practice & Experience\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70013\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurrency and Computation-Practice & Experience","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70013","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
摘要
随着大数据时代的到来,加速深度优先搜索(deep - first Search, DFS)的并行化已经成为解决当代应用中大规模数据集和复杂问题带来的挑战的关键。为了提高DFS在有向无环图(dag)上的并行处理性能,同时保持遍历结果的有序性,本文引入了一种高效的并行有序深度优先搜索(PODFS)。通过利用Clue Path、ParallelList以及节点属性Level和Dis的新概念,PODFS实现了精确的子图划分,同时保持了并行搜索结果的有序性质。在对特定的图执行一次预处理后,所提出的算法可以实现更有效的全局遍历,在保持遍历结果的有序性的同时,在各种真实世界的图数据集上实现从6倍到12倍的加速。这些性能改进对于需要频繁、深入的图搜索并严格要求保持遍历顺序的应用程序至关重要。
An Efficient Parallel Ordered Depth-First Search Strategy for Directed Acyclic Graphs
With the advent of the big data era, accelerating the parallelization of Depth-First Search (DFS) has become pivotal for addressing the challenges posed by large-scale datasets and complex problems in contemporary applications. To improve the parallel processing performance of DFS on Directed Acyclic Graphs (DAGs) while maintaining the orderliness of traversal outcomes, this paper introduces an efficient Parallel Ordered Depth-First Search (PODFS). By leveraging the novel concepts of Clue Path, ParallelList, and the node attributes Level and Dis, PODFS achieves precise subgraph partitioning while preserving the ordered nature of parallel search results. After performing a one-time preprocessing on a specific graph, the proposed algorithm enables more efficient global traversals, achieving a speedup ranging from 6× to 12× on various real-world graph datasets while maintaining the orderedness of traversal results. These performance improvements are crucial for applications that require frequent, in-depth graph searches with a strict need to preserve traversal order.
期刊介绍:
Concurrency and Computation: Practice and Experience (CCPE) publishes high-quality, original research papers, and authoritative research review papers, in the overlapping fields of:
Parallel and distributed computing;
High-performance computing;
Computational and data science;
Artificial intelligence and machine learning;
Big data applications, algorithms, and systems;
Network science;
Ontologies and semantics;
Security and privacy;
Cloud/edge/fog computing;
Green computing; and
Quantum computing.