【24h】

Computing Wiener Index of (Pn Box Pn)2

机译:(Pn框Pn)2的计算维纳指数

获取原文

摘要

Given a simple connected undirected graph $G$ = ($V$, $E$), the $Wiener$ $index$ $W$($G$) of $G$ is defined as half the sum of the distances of the form $d(u, v)$ between all pairs of vertices $u, v$ of $G$, where $d(u, v)$ denotes the distance of a shortest $u-v$ path in $G$. The $k$th power of a graph $G$, denoted by $G^k$, is a graph with the same vertex set as $G$ such that two vertices are adjacent in $G^k$ if and only if their distance is at most $k$ in $G$. We first outline an algorithm for computing $W(P^k_n Box P^k_n)$ in linear time. Then we obtain an expression for $W((P_n Box P_n)^2)$. This suggests an algorithm for computing $W((P_n Box P_n)^2)$ in linear time. This may be compared with the existing result: for a graph $G$ with $v$ vertices and $e$ edges, $W(G)$ can be computed by an algorithm in time $O(ve)$.
机译:给定一个简单的无向连通图$ G $ =($ V $,$ E $),将$ G $的$ Wiener $ $ index $ $ W $($ G $)定义为距离的总和的一半。在$ G $的所有顶点对$ u,v $之间形成$ d(u,v)$,其中$ d(u,v)$表示$ G $中最短的uv $路径的距离。由$ G ^ k $表示的图$ G $的$ k $次方是具有与$ G $相同的顶点集的图,使得当且仅当两个顶点在$ G ^ k $中相邻时,距离最多为$ G $美元。我们首先概述一种用于在线性时间中计算$ W(P ^ k_n Box P ^ k_n)$的算法。然后,我们获得$ W((P_n Box P_n)^ 2)$的表达式。这建议了一种用于在线性时间内计算$ W((P_n Box P_n)^ 2)$的算法。可以将其与现有结果进行比较:对于具有$ v $顶点和$ e $边的图$ G $,可以由算法在时间$ O(ve)$中计算$ W(G)$。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号