ScienceDirect® Home Skip Main Navigation Links
You have guest access to ScienceDirect. Find out more.
 
Home
Browse
My Settings
Alerts
Help
 Quick Search
 Search tips (Opens new window)
    Clear all fields    
advertisementadvertisement
Journal of Computer and System Sciences
Volume 65, Issue 1, August 2002, Pages 150-167
 
Font Size: Decrease Font Size  Increase Font Size
 Abstract - selected
Purchase PDF (169 K)

 
 
 
Related Articles in ScienceDirect
View More Related Articles
 
View Record in Scopus
 
doi:10.1006/jcss.2002.1883    How to Cite or Link Using DOI (Opens New Window)
Copyright © 2002 Elsevier Science (USA). All rights reserved.

Regular Article

A Fully Dynamic Algorithm for Maintaining the Transitive Closure

Valerie Kinga, 1 and Garry Sagertb, 2

a Department of Computer Science, University of Victoria, Victoria, British Columbia, Canadaf1 b Department of Computer Science, University of Victoria, Victoria, British Columbia, Canadaf2

Received 10 December 1999; 
revised 26 July 2002. 
Available online 7 November 2002.

Purchase the full-text article



References and further reading may be available for this article. To view references and further reading you must purchase this article.

Abstract

This paper presents an efficient fully dynamic graph algorithm for maintaining the transitive closure of a directed graph. The algorithm updates the adjacency matrix of the transitive closure with each update to the graph; hence, each reachability query of the form “Is there a directed path from i to j?” can be answered in O(1) time. The algorithm is randomized and has a one-sided error; it is correct when answering yes, but has O(1/nc) probability of error when answering no, for any constant c. In acyclic graphs, worst case update time is O(n2). In general graphs, the update time is O(n2.26). The space complexity of the algorithm is O(n2).


 
Home
Browse
My Settings
Alerts
Help
Elsevier.com (Opens new window)
About ScienceDirect  |  Contact Us  |  Information for Advertisers  |  Terms & Conditions  |  Privacy Policy
Copyright © 2008 Elsevier B.V. All rights reserved. ScienceDirect® is a registered trademark of Elsevier B.V.