{"title":"A new algorithm for transitive closures and computation of recursion in relational databases","authors":"Yangjun Chen","doi":"10.1109/IV.2003.1217981","DOIUrl":null,"url":null,"abstract":"We propose a new algorithm for computing recursive closures. The main idea behind this algorithm is tree labeling and graph decomposition, based on which the transitive closure of a directed graph can be computed in O(e/spl middot/d/sub max//spl middot/d/sub out/) time and in O(n/spl middot/d/sub max//spl middot/d/sub out/) space, where n is the number of the nodes of the graph, e is the numbers of the edges, d/sub max/ is the maximal indegree of the nodes, and d/sub out/ is the average outdegree of the nodes. Especially, this method can be used to efficiently compute recursive relationships of a directed graph in a relational environment.","PeriodicalId":259374,"journal":{"name":"Proceedings on Seventh International Conference on Information Visualization, 2003. IV 2003.","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2003-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings on Seventh International Conference on Information Visualization, 2003. IV 2003.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IV.2003.1217981","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
We propose a new algorithm for computing recursive closures. The main idea behind this algorithm is tree labeling and graph decomposition, based on which the transitive closure of a directed graph can be computed in O(e/spl middot/d/sub max//spl middot/d/sub out/) time and in O(n/spl middot/d/sub max//spl middot/d/sub out/) space, where n is the number of the nodes of the graph, e is the numbers of the edges, d/sub max/ is the maximal indegree of the nodes, and d/sub out/ is the average outdegree of the nodes. Especially, this method can be used to efficiently compute recursive relationships of a directed graph in a relational environment.