ACM Home Page
Please provide us with feedback. Feedback
Operations on sparse relations
Full text PdfPdf (541 KB)
Source
Communications of the ACM archive
Volume 20 ,  Issue 3  (March 1977) table of contents
Pages: 171 - 176  
Year of Publication: 1977
ISSN:0001-0782
Authors
H. B. Hunt, III  Harvard Univ., Cambridge, MA
J. D. Ullman  Princeton Univ., Princeton, NJ
T. G. Szymanski
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 20,   Citation Count: 6
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/359436.359446
What is a DOI?

ABSTRACT

Various computations on relations, Boolean matrices, or directed graphs, such as the computation of precedence relations for a context-free grammar, can be done by a practical algorithm that is asymptotically faster than those in common use. For example, how to compute operator precedence or Wirth-Weber precedence relations in O(n2) steps is shown, as well as how to compute linear precedence functions in O(n) steps, where n is the size of a grammar. The heart of the algorithms is a general theorem giving sufficient conditions under which an expression whose operands are sparse relations and whose operators are composition, transitive closure, union, and inverse, can be computed efficiently.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
3
4
5
 
6
Gray, J.N., and Harrison, M.A. Single pass precedence analysis. IEEE Conf. Rec. 10th Ann. Symp. Switching and Automata Theory, 1969, pp. 106-117.
 
7
 
8
Hunt III, H.B,, Szymanski, T.G., and Ullman, J.D. Operations on sparse relations and efficient algcrithms for grammar problems. Proc. 15th Ann. Symp. Switching and Automata Theory, 1974, pp. 127-132.
9
10
 
11
Szymanski, T.G., and Ullman, J.D. Evaluating relational expressions with dense and sparse arguments. Proc. 16th Ann. IEEE Symp. Foundations of Comptr. Sci., 1975, pp. 90-97. To appear in Siam. J. Comput.
 
12
Tarjan, R.E. Depth first search and linear graph algorithms. SIAMJ. Comptng. 1, 2 (1972), 146-160.
13


Collaborative Colleagues:
H. B. Hunt, III: colleagues
J. D. Ullman: colleagues
T. G. Szymanski: colleagues