{"title":"Research on a Graph Reachability Algorithm Based on Block Optimization","authors":"Jiasi Hu, Bei Gong, Yuchu He","doi":"10.1109/ASSP54407.2021.00009","DOIUrl":null,"url":null,"abstract":"The traditional Floyd Warshall algorithm can be used to compute the transitive closure of a graph with $O \\boldsymbol{(\\mathrm{n}^{\\wedge}3)}$ time complexity. In this paper, a new directed graph reachability calculation algorithm based on topological sorting and block optimization is proposed. The performance of the new algorithm is verified by simulation experiments under different conditions. The experimental results show that the new algorithm is more effective than the traditional algorithm when calculating the reachability of directed graphs with different sparsity.","PeriodicalId":153782,"journal":{"name":"2021 2nd Asia Symposium on Signal Processing (ASSP)","volume":"133 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 2nd Asia Symposium on Signal Processing (ASSP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ASSP54407.2021.00009","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The traditional Floyd Warshall algorithm can be used to compute the transitive closure of a graph with $O \boldsymbol{(\mathrm{n}^{\wedge}3)}$ time complexity. In this paper, a new directed graph reachability calculation algorithm based on topological sorting and block optimization is proposed. The performance of the new algorithm is verified by simulation experiments under different conditions. The experimental results show that the new algorithm is more effective than the traditional algorithm when calculating the reachability of directed graphs with different sparsity.