首页> 外文会议>Fun with algorithms >Finding Centers and Medians of a Tree by Distance Queries
【24h】

Finding Centers and Medians of a Tree by Distance Queries

机译:通过距离查询查找树的中心和中位数

获取原文
获取原文并翻译 | 示例

摘要

We investigate the problem of finding centers and medians of a tree on the distance oracle model. In this model, the tree is not given as the input and the cost is counted by the number of performed queries for distances between leaves. We show that 2n - 3 queries are necessary and sufficient for finding the diameter, the radius, and the centers, where n is the number of leaves. For the median problem, we propose an n lg n-queries deterministic algorithm and a randomized algorithm with less than 6n expected queries.
机译:我们调查在距离预言模型上寻找树的中心和中位数的问题。在此模型中,不提供树作为输入,并且通过对叶子之间的距离执行查询的次数来计算成本。我们显示2n-3个查询对于找到直径,半径和中心是必要且足够的,其中n是叶子数。对于中位数问题,我们提出了n lg个n个查询的确定性算法和一个少于6n个预期查询的随机算法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号