Computing distance moments on graphs with transitive Djoković-Winkler s relation

Similar documents
Improved bounds on the difference between the Szeged index and the Wiener index of graphs

On the difference between the revised Szeged index and the Wiener index

Applications of Isometric Embeddings to Chemical Graphs

M-Polynomial and Degree-Based Topological Indices

arxiv: v1 [math.co] 15 Sep 2016

On a Class of Distance Based Molecular Structure Descriptors

CALCULATING THE DEGREE DISTANCE OF PARTIAL HAMMING GRAPHS

HOSOYA POLYNOMIAL OF THORN TREES, RODS, RINGS, AND STARS

Interpolation method and topological indices: 2-parametric families of graphs

THE WIENER INDEX AND HOSOYA POLYNOMIAL OF A CLASS OF JAHANGIR GRAPHS

Extremal Graphs with Respect to the Zagreb Coindices

Calculating the hyper Wiener index of benzenoid hydrocarbons

Edge-counting vectors, Fibonacci cubes, and Fibonacci triangle

Hexagonal Chains with Segments of Equal Lengths Having Distinct Sizes and the Same Wiener Index

A new version of Zagreb indices. Modjtaba Ghorbani, Mohammad A. Hosseinzadeh. Abstract

Discrete Applied Mathematics archive Volume 156, Issue 10 (May 2008) table of contents Pages Year of Publication: 2008 ISSN: X

Wiener index of generalized 4-stars and of their quadratic line graphs

The Graovac-Pisanski index of a connected bipartite graph is an integer number

Complexity of the Szeged Index, Edge Orbits, and Some Nanotubical Fullerenes

On the difference between the (revised) Szeged index and the Wiener index of cacti

M-Polynomial and Degree-Based Topological Indices

On Trees Having the Same Wiener Index as Their Quadratic Line Graph

Wiener Index of Graphs and Their Line Graphs

(Received: 19 October 2018; Received in revised form: 28 November 2018; Accepted: 29 November 2018; Available Online: 3 January 2019)

Partial cubes: structures, characterizations, and constructions

Vertex-Weighted Wiener Polynomials for Composite Graphs

Discrete Applied Mathematics

THE EDGE VERSIONS OF THE WIENER INDEX

Two-ended regular median graphs

Research Article. Generalized Zagreb index of V-phenylenic nanotubes and nanotori

VERTEX-WEIGHTED WIENER POLYNOMIALS OF SUBDIVISION-RELATED GRAPHS. Mahdieh Azari, Ali Iranmanesh, and Tomislav Došlić

Iranian Journal of Mathematical Chemistry, Vol. 4, No.1, March 2013, pp On terminal Wiener indices of kenograms and plerograms

Topological indices: the modified Schultz index

Extremal Topological Indices for Graphs of Given Connectivity

CCO Commun. Comb. Optim.

arxiv: v1 [math.co] 14 May 2018

BoundsonVertexZagrebIndicesofGraphs

Extremal Values of Vertex Degree Topological Indices Over Hexagonal Systems

TWO TYPES OF CONNECTIVITY INDICES OF THE LINEAR PARALLELOGRAM BENZENOID

More on Zagreb Coindices of Composite Graphs

A Method of Calculating the Edge Szeged Index of Hexagonal Chain

LAPLACIAN ESTRADA INDEX OF TREES

Upper Bounds for the Modified Second Multiplicative Zagreb Index of Graph Operations Bommanahal Basavanagoud 1, a *, Shreekant Patil 2, b

Recent Developments on the Structure of Cartesian Products of Graphs

Clar number of catacondensed benzenoid hydrocarbons

Generalized Fibonacci cubes

SOME VERTEX-DEGREE-BASED TOPOLOGICAL INDICES UNDER EDGE CORONA PRODUCT

Resonance graphs of kinky benzenoid systems are daisy cubes

THE REVISED EDGE SZEGED INDEX OF BRIDGE GRAPHS

EXACT FORMULAE OF GENERAL SUM-CONNECTIVITY INDEX FOR SOME GRAPH OPERATIONS. Shehnaz Akhter, Rashid Farooq and Shariefuddin Pirzada

arxiv: v1 [cs.dm] 31 Mar 2013

Distribution of Global Defensive k-alliances over some Graph Products

Graphs with maximum Wiener complexity

Extremal trees with fixed degree sequence for atom-bond connectivity index

Paths and walks in acyclic structures: plerographs versus kenographs

Distinguishing Cartesian powers of graphs

RELATION BETWEEN WIENER INDEX AND SPECTRAL RADIUS

THE HOSOYA INDEX AND THE MERRIFIELD-SIMMONS INDEX OF SOME GRAPHS. Communicated by Alireza Ashrafi. 1. Introduction

A Note on Revised Szeged Index of Graph Operations

It can be easily shown that the above definition is equivalent to

Estrada Index of Graphs

Canadian Journal of Chemistry. On Topological Properties of Dominating David Derived Networks

Some Computational Aspects for the Line Graph of Banana Tree Graph

PAijpam.eu M-POLYNOMIALS AND TOPOLOGICAL INDICES OF SILICATE AND OXIDE NETWORKS Muhammad Javaid 1, Chahn Yong Jung 2

Partial Hamming graphs and expansion procedures

THE GENERALIZED ZAGREB INDEX OF CAPRA-DESIGNED PLANAR BENZENOID SERIES Ca k (C 6 )

Some results on the reciprocal sum-degree distance of graphs

Zagreb indices of block-edge transformation graphs and their complements

All Good (Bad) Words Consisting of 5 Blocks

Harary Index and Hamiltonian Property of Graphs

Enumeration of subtrees of trees

Packing chromatic vertex-critical graphs

Canadian Journal of Chemistry. On Molecular Topological Properties of Dendrimers

arxiv: v1 [math.co] 3 Jul 2017

The sharp bounds on general sum-connectivity index of four operations on graphs

Estimating Some General Molecular Descriptors of Saturated Hydrocarbons

The graph theory general position problem on some interconnection networks

On the connectivity of the direct product of graphs

The Linear Chain as an Extremal Value of VDB Topological Indices of Polyomino Chains

Redefined Zagreb, Randic, Harmonic and GA Indices of Graphene

Extremal Zagreb Indices of Graphs with a Given Number of Cut Edges

COUNTING RELATIONS FOR GENERAL ZAGREB INDICES

HYPER ZAGREB INDEX OF BRIDGE AND CHAIN GRAPHS

DISC6024 MODC+ ARTICLE IN PRESS. Discrete Mathematics ( ) Note UNCORRECTED PROOF

Extremal Kirchhoff index of a class of unicyclic graph

Counting the average size of Markov graphs

COMPUTING SANSKRUTI INDEX OF DENDRIMER NANOSTARS. Chengdu University Chengdu, , P.R. CHINA 2 Department of Mathematics

M-polynomials and Degree based Topological Indices for the Line Graph of Firecracker Graph

A note on the Laplacian Estrada index of trees 1

About Atom Bond Connectivity and Geometric-Arithmetic Indices of Special Chemical Molecular and Nanotubes

Acta Chim. Slov. 2003, 50,

A NOVEL/OLD MODIFICATION OF THE FIRST ZAGREB INDEX

The PI Index of the Deficient Sunflowers Attached with Lollipops

On the Randić index. Huiqing Liu. School of Mathematics and Computer Science, Hubei University, Wuhan , China

The maximum forcing number of a polyomino

K-DOMINATION ON HEXAGONAL CACTUS CHAINS

On the Leap Zagreb Indices of Generalized xyz-point-line Transformation Graphs T xyz (G) when z = 1

On the higher randić indices of nanotubes

MULTIPLICATIVE ZAGREB ECCENTRICITY INDICES OF SOME COMPOSITE GRAPHS. Communicated by Ali Reza Ashrafi. 1. Introduction

Energy and Laplacian Energy of Graphs. ALI REZA ASHRAFI Department of Mathematics, University of Kashan, Kashan , I. R.

Transcription:

omputing distance moments on graphs with transitive Djoković-Winkler s relation Sandi Klavžar Faculty of Mathematics and Physics University of Ljubljana, SI-000 Ljubljana, Slovenia and Faculty of Natural Sciences and Mathematics University of Maribor, SI-000 Maribor, Slovenia M. J. Nadjafi-Arani Department of Mathematics, Faculty of Sciences Golpayegan University of Technology, Golpayegan, I. R. Iran Abstract The cut method proved to be utmost useful to obtain fast algorithms and closed formulas for classical distance based invariants of graphs isometrically embeddable into hypercubes. These graphs are known as partial cubes and in particular contain numerous chemically important graphs such as trees, benzenoid graphs, and phenylenes. It is proved that the cut method can be used to compute an arbitrary distance moment of all the graphs that are isometrically embeddable into artesian products of triangles, a class much larger than partial cubes. The method in particular covers the Wiener index, the hyper-wiener index, and the Tratch-Stankevich-Zefirov index. Key words: Isometric embedding; distance moment; Wiener index; partial cube; artesian product of graphs AMS Subject lassification 000): 05, 9E0 Introduction Several central graph invariants in mathematical chemistry and elsewhere) are defined using the distance function of a graph. The most famous is certainly the Wiener index W G) of a graph G defined as W G) = {u,v} V G) du, v). It was introduced for the case of trees) back in 947 by Wiener in [9], hence the name of this graph invariant. It is, however, still extensively investigated, cf. [5,, ]. The Wiener index can be naturally and widely generalized by setting W λ G) = du, v) λ, {u,v} V G)

where λ is some real number [8, 4]. When λ is a positive integer, W λ G) is called the k-th distance moment of G [9]. The distance moment is clearly a fundamental metric graph concept and was in particular very recently) applied in an appealing way in [7]. More precisely, closed formulas using distance moments were obtained for the n-th order Wiener index [7] and for a recently related invariant from []. Of course, W G) = W G), other special cases from the literature include W, W, W + W, and 6 W + W + W, invariants known as the Harary index [4], the reciprocal Wiener index [], the hyper-wiener index [0,, 6], and the Tratch-Stankevich-Zefirov index [9, 8], respectively. Therefore, a good method for computing the distance moments graph yields a good method for computing all these classical indices and more. A partial cube is a graph isometrically embeddable into a hypercube [4, 6,, 5]. This class of graphs includes trees, median graphs, as well as several chemically important families of graphs such as hexagonal benzenoid) systems. Numerous distance-based invariants can be computed on partial cubes with the so-called cut method initiated in [6], see the survey []. The paper [6] developed the cut method for the Wiener index, later the method was designed in particular for the hyper-wiener index [] see also [8]). Recently the cut method was used in [] for the edge-wiener index and the edge-szeged index in [7] it has been shown that the graphs studied in [] are precisely partial cubes), and very recently the method was proved to be applicable also for the generalized terminal Wiener index []. The latter index is a generalization of the terminal Wiener index introduced in [9], see also []. A recursive approach for computing W λ G) for a partial cube G and any λ was developed in [5]. Partial cubes can be characterized as the bipartite graphs in which the so-called Djoković-Winkler s relation is transitive. A more general class of graphs is obtained by omitting the requirement for a graph to be bipartite. As proved by Winkler [0], these graphs are precisely the graphs that admit isometric embeddings into the artesian product of triangles. In this note we prove that the cut method can be extended to obtain an arbitrary distance moment of these graphs. Roughly speaking, the method reduces to the computation of intersections of parts generated by the Djoković-Winkler s relation. The method is formulated and proved in the next section, while in the rest of this section the concepts needed are formally introduced. The distance d G u, v) between the vertices u and v of a graph G is the usual shortest path distance. The notation will be simplified to du, v) when the graph will be clear from the context. A subgraph of a graph is called isometric if the distance between any two vertices of the subgraph is independent of whether it is computed in the subgraph or in the entire graph. For a graph G, the Djoković- Winkler s relation Θ [4, 0] is defined on EG) as follows. If e = xy EG) and f = uv EG), then eθf if dx, u) + dy, v) dx, v) + dy, u). Relation Θ is reflexive and symmetric, its transitive closure Θ is hence an equivalence relation, its parts are called Θ -classes or also Θ-classes when Θ = Θ. The artesian product G H of graphs G and H is the graph with vertex set

V G) V H) where the vertex g, h) is adjacent to the vertex g, h ) whenever gg EG) and h = h, or g = g and hh EH). For more information on this fundamental graph operation see [0]. Winkler [0] proved that if G is a connected graph G, then Θ = Θ if and only if G admits an isometric embedding into the artesian product whose factors are K. Finally, [k] denotes the set {,,..., k}. The main result In order to state the main result of this paper some technical preparation is needed. Let G be a graph with transitive Θ and let L,..., L k be the Θ-classes of G. Then for any i k, the graph G L i consists of two or three connected components denoted i), i) and i). If there are only two such components we assume that i) is the empty graph. For any p, for any pairwise different i, i,..., i p [k] and for any j, j,..., j p [] let n i,i,...,i p j,j,...,j p = V i ) j ) V i ) ) V ip) j p ). This notation is illustrated in Fig.. The graph in question has 5 Θ-classes and the components of the corresponding graphs G L i are indicated. The order of the intersection of the gray parts is then n,,,5,,,. j ) ) ) ) ) ) ) ) ) 4) 4) 4) 5) 5) 5) G - L G - L G - L G - L G - L 4 5 We now set Figure : Intersection of parts from G L i N i,i,...,i p = r:j r j r n i,i,...,i p j,j,...,j p n i,i,...,i p, j,j,...,j p where the summation is made over all admissible indices j, j,..., j p and j, j,..., j p, and where, as indicated, j r j r for r =,,..., k. With this preparation in hand we can formulate the main result of this paper as follows.

Theorem. Let G be a graph with transitive Θ and let s be a positive integer. Then with the above notation, ) s W s G) = N i,i t i, t i,..., t,...,i p. ip t i,t i,...,t i p >0 t i +t i + +t ip =s Proof. Let V G) = n and let Y = {P,..., P n } be a set of shortest paths of G ) such that each pair of vertices of G is connected with exactly one path from Y. Let A = [A ij ] be the n ) k matrix with entries Aij = if P i L j and A ij = 0 otherwise. Since Θ is transitive, and no two edges on a shortest path are in relation Θ, we infer that k j= A ij is the length of the path P i. Using the multinomial theorem we get: W s G) = = n ) n ) EP i ) s = A i + A i + + A ik ) s i= n ) i= = r k tr =s + + i= t,t,...,t k 0 t +t + +t k =s ) n ) s A ir + t r i= t,t,...,t k >0 t +t + +t k =s ) s A t t, t,..., t i A t i A t k ik k r r k tr,tr >0 tr +tr =s ) s n ) A ir A ir t r, t r i= ) s n ) A i A i A ik. t, t,..., t k The term A ir A ir A irt is nonzero if and only if A irj =, for j t. In other words, A ir A ir A irt is nonzero if and only if P i contains edges from each of the Θ-classes L r,..., L rt. It follows that n ) i= A ir A ir A irt is equal to the number of shortest paths from Y that contain edges from each of the classes L r,..., L rt. On the other hand, if P is one of the shortest path between vertices a and b which contains an edge from L r, then a r) j and b r) j for some j j. We conclude that the number of shortest paths of Y that contain the edges of L r,..., L rt is N r,...,r t. Hence we can continue the above computation as follows: i= 4

W s G) = = r k tr =s + + ) s t r t i,t i,...,t ip >0 t i +t i + +t i p =s and the proof is complete. j j t,t,...,t k >0 t +t + +t k =s n r j n r + ) s j t r r k r, t r j j tr,tr >0 j tr +tr =s j ) s t, t,..., t k s t i, t i,..., t ip i k j i j i ) N i,i,,i p, n r,r j,j n r,r j,j n i,i,...,i k j,j,...,j k n i,i,...,i k j,j,...,j k We conclude the note with an example illustrating Theorem.. Let G be the graph from Fig.. Then it is straightforward to verify that Θ = Θ partitions EG) into classes L, L, L, L 4, where the edges of the triangle lie in L 4, while the remaining three classes contain four edges each. Fig. shows G L and G L 4, the graphs G L and G L are not presented as they are symmetric to G L. G G - L G - L 4 Figure : Graphs G, G L and G L 4 Then W G) = W G) = 4 8) + 4 4 + 4 4 + 4 4) = 44. Moreover, W G) = W G) + [ 5 + ) + + 4 + + 4 + 0 + 0 )] = 44 + 8 = 7. The factor comes from the multinomial coefficient, the first factor is due to symmetry between L, L, L, the second factor comes when intersections with one part in L i, i i, the other part in L 4 are considered. Then the hyper-wiener index of G is equal to W G)/+W G)/ = 58. Similarly, W = W + ), + ) ), [ 4+ 4]+,,) [ 0+ + + 0+ 0+ + 0+ 0 +0 0+0 + + )+ + +0 + )] = 44+6 4+6 4 = 080. Hence the Tratch-Stankevich-Zefirov index of G is equal to 6 W + W + W = 44. 5

Acknowledgments This work has been financed by ARRS Slovenia under the grant P-097 and within the EUROORES Programme EUROGIGA/GReGAS of the European Science Foundation. The first author is also with the Institute of Mathematics, Physics and Mechanics, Ljubljana. References [] F. M. Brückler, T. Došlić, A. Graovac, I. Gutman, On a class of distance-based molecular structure descriptors, hem. Phys. Lett. 50 0) 6 8. [] X. Deng, J. Zhang, Equiseparability on terminal Wiener index, Appl. Math. Lett. 5 0) 580 585. [] M. V. Diudea, O. Ivanciuc, S. Nikolić, N. Trinajstić, Matrices of reciprocal distance, polynomials and derived numbers, MATH ommun. Math. omput. hem. 5 997) 4 64. [4] D. Djoković, Distance preserving subgraphs of hypercubes, J. ombin. Theory Ser. B 4 97) 6 67. [5] M. Eliasi, G. Raeisi, B. Taeri, Wiener index of some graph operations, Discrete Appl. Math. 60 0) 44. [6] D. Eppstein, Recognizing partial cubes in quadratic time, J. Graph Algorithms Appl. 5 0) 69 9. [7] E. Estrada, O. Ivanciuc, I. Gutman, A. Gutierrez, L. Rodriguez, Extended Wiener indices. A set of descriptors for quantitative structure-property studies, New J. hem. 998) 89 8. [8] I. Gutman, A property of the Wiener number and its modifications, Indian J. hem. 6A 997) 8. [9] I. Gutman, B. Furtula, M. Petrović, Terminal Wiener index, J. Math. hem. 46 009) 5 5. [0] R. Hammack, W. Imrich, S. Klavžar, Handbook of Product Graphs, Second Edition, R Press, Boca Raton, FL, 0. [] A. Ilić, M. Ilić, Generalizations of Wiener polarity index and terminal Wiener index, to appear in Graphs omb., DOI: 0.007/s007-0-5-6. [] S. Klavžar, Applications of isometric embeddings to chemical graphs, DIMAS Ser. Discrete Math. Theo. omput. Sci. 5 000) 49 59. 6

[] S. Klavžar, A bird s eye view of the cut method and a survey of its applications in chemical graph theory, MATH ommun. Math. omput. hem. 60 008) 55 74. [4] S. Klavžar, I. Gutman, Relation between Wiener-type topological indices of benzenoid molecules, hem. Phys. Lett. 7 00) 8. [5] S. Klavžar, I. Gutman, A theorem on Wiener-type invariants for isometric subgraphs of hypercubes, Appl. Math. Lett. 9 006) 9. [6] S. Klavžar, I. Gutman, B. Mohar, Labeling of benzenoid systems which reflects the vertex-distance relations, J. hem. Inf. omput. Sci. 5 995) 590 59. [7] S. Klavžar, M. J. Nadjafi-Arani, Wiener index in weighted graphs via unification of Θ -classes, submitted, 0. [8] S. Klavžar, P. Žigert, I. Gutman, An algorithm for the calculation of the hyper- Wiener index of benzenoid hydrocarbons, omput. hem. 4 000) 9. [9] D. J. Klein, I. Gutman, Wiener-number-related sequences, J. hem. Inf. omput. Sci. 9 999) 54 56. [0] D. J. Klein, I. Lukovits, I. Gutman, On the definition of the hyper-wiener index for cycle-containing structures, J. hem. Inf. omput. Sci. 5 995) 50 5. [] M. Knor, P. Potočnik, R. Škrekovski, The Wiener index in iterated line graphs, Discrete Appl. Math. 60 0) 4 45. [] S. Ovchinnikov, Partial cubes: structures, characterizations, and constructions, Discrete Math. 008) 5597 56. [] K. Pattabiraman, P. Paulraja, On some topological indices of the tensor products of graphs, Discrete Appl. Math. 60 0) 67 79. [4] D. Plavšić, S. Nikolić, N. Trinajstić, Z. Mihalić, On the Harary index for the characterization of chemical graphs, J. Math. hem. 99) 5 50. [5] N. Polat, Netlike partial cubes. V. ompletion and netlike classes, Discrete Math. 09 009) 46 476. [6] M. Randić, Novel molecular descriptor for structure property studies, hem. Phys. Lett. 99) 478 48. [7] H. Shabani, A. R. Ashrafi, I. Gutman, B. Furtula, On extensions of Wiener index, to appear as: MATH ommun. Math. omput. hem. 69 0) 589 596. [8] S. S. Tratch, M. I. Stankevich, N. S. Zefirov, ombinatorial models and algorithms in chemistry. The expanded Wiener number A novel topological index, J. omput. hem. 990) 899 908. 7

[9] H. Wiener, Structural determination of paraffin boiling points, J. Amer. hem. Soc. 69 947) 7 0. [0] P. Winkler, Isometric embeddings in products of complete graphs, Discrete Appl. Math. 7 984) 5. [] H. Yousefi-Azari, M. H. Khalifeh, A. R. Ashrafi, alculating the edge Wiener and Szeged indices of graphs, J. omput. Appl. Math. 5 0) 4866 4870. 8