2015 | OriginalPaper | Chapter
Hint
Swipe to navigate through the chapters of this book
Published in:
Algorithms, Probability, Networks, and Games
We consider here the problem of answering range product queries on an n-node unrooted tree labelled with elements of a semigroup provided with an associative operator only. We present simple parallel dynamic algorithms for one of the weakest models of parallel computation (EREW PRAM). Our main result is an algorithm which answers a query in \(O(\alpha (n))\) time using a single processor after \(O(\log n)\)-time and O(n)-work preprocessing, where \(\alpha (n)\) is the inverse of Ackermann’s function. The data structures set up during preprocessing are updated in \(O(\log n)\) time and \(O(n^\beta )\) work, for any (arbitrarily small) constant \(0<\beta <1\), after a dynamic change in the label of a tree node.
Please log in to get access to this content
To get access to this content you need the following product:
Advertisement
1.
go back to reference Alon, N., Schieber, B.: Optimal preprocessing for answering on-line product queries, Technical Report No. 71/87, Tel-Aviv University (1987) Alon, N., Schieber, B.: Optimal preprocessing for answering on-line product queries, Technical Report No. 71/87, Tel-Aviv University (1987)
2.
go back to reference Chaudhuri, S., Hagerup, T.: Prefix graphs and their applications. In: Mayr, Ernst W., Schmidt, G., Tinhofer, G. (eds.) WG 1994. LNCS, vol. 903, pp. 206–218. Springer, Heidelberg (1995) CrossRef Chaudhuri, S., Hagerup, T.: Prefix graphs and their applications. In: Mayr, Ernst W., Schmidt, G., Tinhofer, G. (eds.) WG 1994. LNCS, vol. 903, pp. 206–218. Springer, Heidelberg (1995)
CrossRef
3.
go back to reference Chaudhuri, S., Zaroliagis, C.: Shortest paths in digraphs of small treewidth. Part I: sequential algorithms. Algorithmica 27(3), 212–226 (2000) MathSciNetCrossRefMATH Chaudhuri, S., Zaroliagis, C.: Shortest paths in digraphs of small treewidth. Part I: sequential algorithms. Algorithmica
27(3), 212–226 (2000)
MathSciNetCrossRefMATH
4.
go back to reference Chaudhuri, S., Zaroliagis, C.: Shortest paths in digraphs of small treewidth. Part II: optimal parallel algorithms. Theor. Comput. Sci. 203(2), 205–223 (1998) CrossRefMATH Chaudhuri, S., Zaroliagis, C.: Shortest paths in digraphs of small treewidth. Part II: optimal parallel algorithms. Theor. Comput. Sci.
203(2), 205–223 (1998)
CrossRefMATH
5.
go back to reference Chazelle, B.: Computing on a free tree via complexity-preserving mappings. Algorithmica 2, 337–361 (1987) MathSciNetCrossRefMATH Chazelle, B.: Computing on a free tree via complexity-preserving mappings. Algorithmica
2, 337–361 (1987)
MathSciNetCrossRefMATH
6.
go back to reference Cormen, T., Leiserson, C., Rivest, R., Stein, C.: Introduction to Algorithms, 3rd edn. The MIT Press, Cambridge (2009) MATH Cormen, T., Leiserson, C., Rivest, R., Stein, C.: Introduction to Algorithms, 3rd edn. The MIT Press, Cambridge (2009)
MATH
7.
go back to reference Date, C.J.: An Introduction to Database Systems, Vol. I, 5th edn. Addison-Wesley, Reading (1991) Date, C.J.: An Introduction to Database Systems, Vol. I, 5th edn. Addison-Wesley, Reading (1991)
8.
go back to reference Hagerup, T.: Parallel preprocessing for path queries without concurrent reading. Inf. Comput. 158, 18–28 (2000) MathSciNetCrossRefMATH Hagerup, T.: Parallel preprocessing for path queries without concurrent reading. Inf. Comput.
158, 18–28 (2000)
MathSciNetCrossRefMATH
9.
go back to reference JáJá, J.: An Introduction to Parallel Algorithms. Addison-Wesley, Reading (1992) MATH JáJá, J.: An Introduction to Parallel Algorithms. Addison-Wesley, Reading (1992)
MATH
10.
go back to reference Schieber, B., Vishkin, U.: On finding lowest common ancestors: simplification and parallelization. SIAM J. Comput. 17(6), 1253–1262 (1988) MathSciNetCrossRefMATH Schieber, B., Vishkin, U.: On finding lowest common ancestors: simplification and parallelization. SIAM J. Comput.
17(6), 1253–1262 (1988)
MathSciNetCrossRefMATH
11.
go back to reference Ullman, J.D.: Principles of Database and Knowledge-base Systems, Vol. II. Computer Science Press, Rockville (1989) Ullman, J.D.: Principles of Database and Knowledge-base Systems, Vol. II. Computer Science Press, Rockville (1989)
- Title
- Simple Parallel Algorithms for Dynamic Range Products
- DOI
- https://doi.org/10.1007/978-3-319-24024-4_23
- Author:
-
Christos Zaroliagis
- Publisher
- Springer International Publishing
- Sequence number
- 23