In this article we state a relation between the Kirehhoff and Wiener indices of a simple connected graph G and the Kirehhoff and Wiener indices of those subgraphs of G which are induced by its blocks. Then as an application, we define a composition of a rooted tree T and a graph G and calculate its Kirehhoff index in terms of parameters of T and G. Finally, we present an algorithm for computing the resistance distances and the Kirehhoff index and a similar one for computing the weighted distances and the Wiener index of a graph. These algorithms are asymptotically faster than the previously known algorithms, on graphs in which the order of the subgraphs induced by blocks is small with respect to the order of the graph.
CITATION STYLE
Nikseresht, A., & Sepasdar, Z. (2014). On the Kirchhoff and the Wiener indices of graphs and block decomposition. Electronic Journal of Combinatorics, 21(1). https://doi.org/10.37236/3508
Mendeley helps you to discover research relevant for your work.