
doi: 10.1007/bf00271339
An algorithm is presented for computing the transitive closure of an arbitrary relation which is based upon Tarjan's algorithm [7] for finding the strongly connected components of a directed graph. A new formulation, justifying a somewhat simplified statement of the latter, characterises weaker restrictions on the form of the graph traversal than Tarjan's depth first conditions and reveals aspects of the behaviour of this algorithm which have been obscure hitherto. If V is the number of vertices in the directed graph representing the relation then the worst case behaviour, O(V 3) is inferior to existing algorithms [1, 2] which require O(V 3/log V) and $$O(V^{log_2 7} log V)$$ operations respectively. The best case performance, O(V 2) operations, is better. Viewed in this way, it is similar to other algorithms [5, 6, 8] but it combines the improved efficiency in the presence of strongly connected components which characterises the algorithms in [5, 6] with the advantages of Warshall's algorithm [8], namely, succinctness, a single traversal of the directed graph and ability to exploit the availability of Boolean vector operations.
Analysis of algorithms and problem complexity, Other classical set theory (including functions, relations, and set algebra), Directed graphs (digraphs), tournaments, Algorithms in computer science, Software, source code, etc. for problems pertaining to mathematical logic and foundations, Software, source code, etc. for problems pertaining to combinatorics
Analysis of algorithms and problem complexity, Other classical set theory (including functions, relations, and set algebra), Directed graphs (digraphs), tournaments, Algorithms in computer science, Software, source code, etc. for problems pertaining to mathematical logic and foundations, Software, source code, etc. for problems pertaining to combinatorics
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 38 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Top 10% | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Top 1% | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
