Optimal algorithms for finding nearest common ancestors in dynamic trees:

Abstract: "We consider the problem of finding the nearest common ancestor of two given nodes x and y (denoted by nca(x, y)) in a collection of dynamic rooted trees. Interspersed with the nca queries are on-line commands link(x, y) where x but not necessarily y is a tree root. The effect of a co...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Alstrup, Stephen (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Kobenhavn 1995
Schriftenreihe:Datalogisk Institut <København>: DIKU-Rapport 1995,30
Schlagworte:
Zusammenfassung:Abstract: "We consider the problem of finding the nearest common ancestor of two given nodes x and y (denoted by nca(x, y)) in a collection of dynamic rooted trees. Interspersed with the nca queries are on-line commands link(x, y) where x but not necessarily y is a tree root. The effect of a command link(x, y) is to combine the trees containing x and y by making y the parent of x. We present an optimal pointer machine algorithm which performs n link and m nca in time O(n + mloglogn)."
Beschreibung:13 S.

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand!