Average case analysis for tree labelling schemes
详细信息    查看全文
文摘
We study how to label the vertices of a tree in such a way that we can decide the distance of two vertices in the tree given only their labels. Gavoille et al. proved that for any such distance labelling scheme, the maximum label length is at least bits, where NG3-1&_mathId=mml2&_user=10&_cdi=5674&_rdoc=6&_acct=C000050221&_version=1&_userid=10&md5=3a010f5fb14ab29d986d588a04236814"" title=""Click to view the MathML source"">n is the number of vertices in the input tree T. They also gave a separator-based labelling scheme that has the optimal label length Θ(lognlog(Hn(T))), where Hn(T) is the height of T. We present two distance labelling schemes, namely, the backbone-based scheme and rake-based scheme, which also achieve the optimal label length. The two schemes always perform at least as well as the separator scheme. Furthermore, the rake-based scheme has a much smaller expected label length under certain tree distributions. With these new schemes, we also can find the least common ancestor of any two vertices based on their labels only.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700