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
Information Processing Letters
Volume 92, Issue 1, 16 October 2004, Pages 9-13
 
Font Size: Decrease Font Size  Increase Font Size
 Abstract - selected
Purchase PDF (98 K)

 
 
 
Related Articles in ScienceDirect
View More Related Articles
 
View Record in Scopus
 
doi:10.1016/j.ipl.2004.06.002    How to Cite or Link Using DOI (Opens New Window)
Copyright © 2004 Elsevier B.V. All rights reserved.

Trading uninitialized space for time

Gabriel ValienteE-mail The Corresponding Author, E-mail The Corresponding Author, 1

Department of Software, Technical University of Catalonia, E-08034, Barcelona, Spain

Received 2 December 2003; 
Revised 19 May 2004. 
Communicated by M. Yamashita 
Available online 2 July 2004.

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

The design of efficient graph algorithms usually precludes the test of edge existence, because an efficient support of that operation already requires time Ω(n2) for the initialization of an adjacency-matrix representation. We describe an alternative representation of static directed graphs taking Θ(n+m) initialization time and using Θ(n2) space, which supports the efficient implementation of all usual operations on static graphs. The sparse graph representation allows the design of efficient graph algorithms using both iteration over all vertices adjacent with a given vertex and edge-existence operations, although at the expense of additional (uninitialized) space which may, nevertheless, be used for other purposes. To the best of our knowledge, the representation leads to the first graph algorithms with the disconcerting property that the time complexity is better than the space complexity.

Author Keywords: Algorithms; Analysis of algorithms; Data structures; Design of algorithms; Graph algorithms

Article Outline

• References

 
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.