Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
An efficient representation for sparse sets
Briggs P., Torczon L. ACM Letters on Programming Languages and Systems2 (1-4):59-69,1993.Type:Article
Date Reviewed: Dec 1 1994

A time-efficient mechanism for representing sparse sets on a predetermined universe is presented. If the universe contains u elements, and the elements are represented by the integers from 0 to u - 1, the set is represented by two integer arrays and an integer. A dense array contains all the elements in the set in the first n positions. A sparse array contains, in position k if k is an element of the set, the position of k in the dense array. The integer is n, the number of elements in the set. Addition of a new element and deletion of an element are constant-time operations. Iteration over all elements of the set takes time proportional to the number of elements in the set, not to the size of the universe (as is true of bit-vector implementations).

The paper provides algorithms, efficiency analyses, and cost comparisons with bit vectors. It also lists a number of applications where the representation has been used  successfully. 

Reviewer:  A. M. Tenenbaum Review #: CR118399
Bookmark and Share
 
Data Storage Representations (E.2 )
 
 
Data Structures (E.1 )
 
Would you recommend this review?
yes
no
Other reviews under "Data Storage Representations": Date
 Adaptive data structures for IP lookups
Ioannidis I., Grama A., Atallah M. Journal of Experimental Algorithmics 10(es): 1.1-es, 2005. Type: Article
Jan 13 2006
Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions
Andoni A., Indyk P. Communications of the ACM 51(1): 117-122, 2008. Type: Article
Oct 15 2009
Database aesthetics: art in the age of information overflow
Vesna V. (ed), Univ Of Minnesota Press, Minneapolis, MN, 2007.  336, Type: Book (9780816641192)
Oct 26 2009
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy