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...

Full description

Saved in:
Bibliographic Details
Main Author: Alstrup, Stephen (Author)
Format: Book
Language:English
Published: Kobenhavn 1995
Series:Datalogisk Institut <København>: DIKU-Rapport 1995,30
Subjects:
Summary: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)."
Physical Description:13 S.

There is no print copy available.

Interlibrary loan Place Request Caution: Not in THWS collection!