Chain rotations: A new look at tree distance

Chain rotations: A new look at tree distance

0.00 Avg rating0 Votes
Article ID: iaor20131667
Volume: 113
Issue: 7
Start Page Number: 201
End Page Number: 204
Publication Date: Apr 2013
Journal: Information Processing Letters
Authors: ,
Keywords: trees, tree rotation
Abstract:

As well known the rotation distance D ( S , T ) equ1 between two binary trees S, T of n vertices is the minimum number of rotations of pairs of vertices to transform S into T. We introduce the new operation of chain rotation on a tree, involving two chains of vertices, that requires changing exactly three pointers in the data structure as for a standard rotation, and define the corresponding chain distance C ( S , T ) equ2. As for D ( S , T ) equ3, no polynomial time algorithm to compute C ( S , T ) equ4 is known. We prove a constructive upper bound and an analytical lower bound on C ( S , T ) equ5 based on the number of maximal chains in the two trees. More precisely we prove the general upper bound C ( S , T ) n 1 equ6 and we show that there are pairs of trees for which this bound is tight. No similar result is known for D ( S , T ) equ7 where the best upper and lower bounds are 2 n 6 equ8 and 5 3 n 4 equ9 respectively.

Reviews

Required fields are marked *. Your email address will not be published.