Seminario Interdipartimentale di Algoritmica
 
 
 

Lunedì 17 Settembre 2001  ore 14:30
Finding nearest common ancestors in a distributed enviroment
Stephen Alstrup
IT University of Copenhagen

Dipartimento di Informatica e Sistemistica, DIS
via Salaria 113, II piano
Aula C2

Abstract:
The nearest common ancestor (NCA) of two nodes in a rooted tree, is the common ancestor of the two nodes, with largest depth. In the talk we survey previous results for NCA, and give a new simple optimal algorithm. Our algorithm, opposite to previous, label the nodes of the tree, such that given the label of two nodes, one can compute alone from these labels, the label of nearest common ancestor of the two nodes. The algorithm runs in linear time and the length of the labels assigned to the nodes is O(log n),


Joint work with Haim Kaplan, Cyril Gaviolle, and Theis Rauhe.