- 【Updated on May 12, 2025】 Integration of CiNii Dissertations and CiNii Books into CiNii Research
- Trial version of CiNii Research Automatic Translation feature is available on CiNii Labs
- Suspension and deletion of data provided by Nikkei BP
- Regarding the recording of “Research Data” and “Evidence Data”
Maintaining information in fully dynamic trees with top trees
-
- Stephen Alstrup
- IT University of Copenhagen, København S, Denmark
-
- Jacob Holm
- Improva ApS, København ø, Denmark
-
- Mikkel Thorup
- AT&T Labs---Research, Florham Park, NJ
Search this article
Description
<jats:p> We design top trees as a new simpler interface for data structures maintaining information in a fully dynamic forest. We demonstrate how easy and versatile they are to use on a host of different applications. For example, we show how to maintain the diameter, center, and median of each tree in the forest. The forest can be updated by insertion and deletion of edges and by changes to vertex and edge weights. Each update is supported in <jats:italic>O</jats:italic> (log <jats:italic>n</jats:italic> ) time, where <jats:italic>n</jats:italic> is the size of the tree(s) involved in the update. Also, we show how to support nearest common ancestor queries and level ancestor queries with respect to arbitrary roots in <jats:italic>O</jats:italic> (log <jats:italic>n</jats:italic> ) time. Finally, with marked and unmarked vertices, we show how to compute distances to a nearest marked vertex. The latter has applications to approximate nearest marked vertex in general graphs, and thereby to static optimization problems over shortest path metrics.Technically speaking, top trees are easily implemented either with Frederickson's [1997a] topology trees or with Sleator and Tarjan's [1983] dynamic trees. However, we claim that the interface is simpler for many applications, and indeed our new bounds are quadratic improvements over previous bounds where they exist. </jats:p>
Journal
-
- ACM Transactions on Algorithms
-
ACM Transactions on Algorithms 1 (2), 243-264, 2005-10
Association for Computing Machinery (ACM)
- Tweet
Details 詳細情報について
-
- CRID
- 1363107369498917760
-
- ISSN
- 15496333
- 15496325
-
- Data Source
-
- Crossref