2015 | OriginalPaper | Buchkapitel
Tipp
Weitere Kapitel dieses Buchs durch Wischen aufrufen
Erschienen 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.
Bitte loggen Sie sich ein, um Zugang zu diesem Inhalt zu erhalten
Sie möchten Zugang zu diesem Inhalt erhalten? Dann informieren Sie sich jetzt über unsere Produkte:
Anzeige
1.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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.
Zurück zum Zitat 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)
- Titel
- Simple Parallel Algorithms for Dynamic Range Products
- DOI
- https://doi.org/10.1007/978-3-319-24024-4_23
- Autor:
-
Christos Zaroliagis
- Sequenznummer
- 23