arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.05674cs.DS
收藏

树木的嵌边效应与平均距离

Inset Edges Effect and Average Distance of Trees

M. H. Khalifeh, A. -H. Esfahanian

摘要:

图的一条附加边称为插入边。已知最小化图的平均距离的k条插入边的预测是NP-困难的。当k = 1时,问题的复杂性是多项式的。在本文中,我们进一步找到一个单一的插入边缘(S)的树的平均距离的变化最接近给定的输入。要做到这一点,我们可能需要每个插入边缘的效果为一组插入边缘。为此,我们提出了一个算法的时间复杂度之间的O(m)和O(m/m)和小于O(m.log(m))的平均值,其中m代表可能的插入边的数量。然后,它需要O(log(m))来找到目标插入边缘,以进行平均距离的自定义更改。使用理论工具,该算法严格避免了在向树添加新边之后重新计算距离而没有改变。然后使用[8]中首次引入的一些矩阵工具和一种额外的技术降低了计算剩余距离的时间复杂度。这给了我们一个动态的时间复杂度,并且绝对依赖于输入树,它与输入树的维纳指数成比例。

英文摘要:

An added edge to a graph is called an inset edge. Predicting k inset edges which minimize the average distance of a graph is known to be NP-Hard. When k = 1 the complexity of the problem is polynomial. In this paper, we further find the single inset edge(s) of a tree with the closest change on the average distance to a given input. To do that we may require the effect of each inset edge for the set of inset edges. For this, we propose an algorithm with the time complexity between O(m) and O(m/m) and an average of less than O( m.log(m)), where m stands for the number of possible inset edges. Then it takes up to O(log(m)) to find the target inset edges for a custom change on the average distance. Using theoretical tools, the algorithm strictly avoids recalculating the distances with no changes, after adding a new edge to a tree. Then reduces the time complexity of calculating remaining distances using some matrix tools which first introduced in [8] with one additional technique. This gives us a dynamic time complexity and absolutely depends on the input tree which is proportion to the Wiener index of the input tree.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑