| Operations on sparse relations |
| Full text |
Pdf
(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
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 2, Downloads (12 Months): 20, Citation Count: 6
|
|
|
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
|
|
CITED BY 6
|
|
G. Grahne , S. Sippu , E. Soisalon-Soininen, Efficient evaluation for a subset of recursive queries, Proceedings of the sixth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.284-293, March 23-25, 1987, San Diego, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|