원시데이터 수집 시스템
선정목록으로

Maximum eccentric connectivity index for graphs with given diameter

관련 모빌리티 소재 · (2) 샤무드(인공피혁)

기본 정보

저자
  1. Pierre Hauweele — Computer Science Department - Algorithms Lab, University of Mons, Mons, Belgium
  2. Alain Hertz — Department of Mathematics and Industrial Engineering, École Polytechnique - Gerad, Montréal, Canada
  3. Hadrien Mélot — Computer Science Department - Algorithms Lab, University of Mons, Mons, Belgium
  4. Bernard Ries — Department of Informatics, University of Fribourg, Fribourg, Switzerland
  5. Gauvain Devillez — Computer Science Department - Algorithms Lab, University of Mons, Mons, Belgium
DOI
10.1016/j.dam.2019.04.031
저널
Discrete Applied Mathematics
발행년도
2019
발행기관
Elsevier BV
피인용수
8
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.dam.2019.04.031
토픽
Graphene research and applications
OpenAlex ID
W2957473079

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (2) 샤무드(인공피혁)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 샤무드(인공피혁)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 56,557자

본문 펼치기
## Maximum Eccentric Connectivity Index for Graphs with Given Diameter Pierre Hauweele <sup>1</sup>, Alain Hertz <sup>2∗</sup>, Hadrien Mélot <sup>1</sup>, Bernard Ries <sup>3</sup>, Gauvain Devillez <sup>1</sup> 1 Computer Science Department - Algorithms Lab University of Mons, Mons, Belgium 2 Department of Mathematics and Industrial Engineering École Polytechnique - Gerad, Montréal, Canada 3 Department of Informatics University of Fribourg, Fribourg, Switzerland September 3, 2018 Abstract The eccentricity of a vertex _v_ in a graph _G_ is the maximum distance between _v_ and any other vertex of _G_ . The diameter of a graph _G_ is the maximum eccentricity of a vertex in _G_ . The eccentric connectivity index of a connected graph is the sum over all vertices of the product between eccentricity and degree. Given two integers _n_ and _D_ with _D_ ≤ _n_ - 1, we characterize those graphs which have the largest eccentric connectivity index among all connected graphs of order _n_ and diameter _D_ . As a corollary, we also characterize those graphs which have the largest eccentric connectivity index among all connected graphs of a given order _n_ . ### 1 Introduction Let _G_ = ( _V, E_ ) be a simple connected undirected graph. The _distance_ _d_ ( _u, v_ ) between two vertices _u_ and _v_ in _G_ is the number of edges of a shortest path in _G_ connecting _u_ and _v_ . The _eccentricity_ _ǫ_ ( _v_ ) of a vertex _v_ is the maximum distance between _v_ and any other vertex, that is max{ _d_ ( _v, w_ ) | _w_ ∈ _V_ }. The _diameter_ of _G_ is the maximum eccentricity among all vertices of _G_ . The _eccentric_ _connectivity_ _index_ _ξ_ <sup>_c_</sup> ( _G_ ) of _G_ is defined by _ξ_ <sup>_c_</sup> ( _G_ ) = _v_ ∈ _V_ _deg_ ( _v_ ) _ǫ_ ( _v_ ) _._ _v_ ∈ _V_ This index was introduced by Sharma _et_ _al._ in [3]. Alternatively, _ξ_ <sup>_c_</sup> can be computed by summing the eccentricities of the extremities of each edge: _ξ_ <sup>_c_</sup> ( _G_ ) = _vw_ ∈ _E_ _ǫ_ ( _v_ ) + _ǫ_ ( _w_ ) _._ ∗Corresponding author : email alain.hertz@gerad.ca; tel. +1-514 340 6053. 1 _v_ ∈ _V_ <sup>_W_</sup> <sup>(</sup> <sup>_v_</sup> <sup>).</sup> Morgan _et_ _al._ [2] give the following asymptotic upper bound on _ξ_ <sup>_c_</sup> ( _G_ ) for a graph _G_ of order We define the weight of a vertex by _W_ ( _v_ ) = _deg_ ( _v_ ) _ǫ_ ( _v_ ), and we thus have _ξ_ <sup>_c_</sup> ( _G_ ) = <sup>�</sup> _n_ and with a given diameter _D_ . Theorem 1 (Morgan, Mukwembi and Swart, 2011 [2]) . _Let_ _G_ _be_ _a_ _connected_ _graph_ _of_ _order_ _n_ _and_ _diameter_ _D._ _Then,_ _ξ_ <sup>_c_</sup> ( _G_ ) ≤ _D_ ( _n_ - _D_ ) <sup>2</sup> + O( _n_ <sup>2</sup> ) _._ In what follows, we write _G_ ≃ _H_ if _G_ and _H_ are two isomorphic graphs, and we let K _n_ and P _n_ be the _complete_ _graph_ and the _path_ of order _n_, respectively. We refer to Diestel [1] for basic notions of graph theory that are not defined here. A _lollipop_ _Ln,D_ is a graph obtained from a path P _D_ by joining an end vertex of this path to K _n_ - _D_ . Morgan _et_ _al._ [2] state that the above asymptotic bound is best possible by showing that _ξ_ <sup>_c_</sup> ( _Ln,D_ ) = _D_ ( _n_ - _D_ ) <sup>2</sup> + O( _n_ <sup>2</sup> ). The aim of this paper is to give a precise upper bound on _ξ_ <sup>_c_</sup> ( _G_ ) in terms of _n_ and _D_, and to completely characterize those graphs that attain the bound. As a result, we will observe that there are graphs _G_ of order _n_ and diameter _D_ such that _ξ_ <sup>_c_</sup> ( _G_ ) is strictly larger than _ξ_ <sup>_c_</sup> ( _Ln,D_ ). Morgan _et_ _al._ [2] also give an asymptotic upper bound on _ξ_ <sup>_c_</sup> ( _G_ ) for graphs _G_ of order _n_ (but without a fixed diameter), and show that this bound is sharp by observing that it is attained by _Ln,_ <sup>_n_</sup> 3 <sup>.</sup> Theorem 2 (Morgan, Mukwembi and Swart, 2011 [2]) . _Let_ _G_ _be_ _a_ _connected_ _graph_ _of_ _order_ _n._ _Then,_ _ξ_ <sup>_c_</sup> ( _G_ ) ≤ 27 <sup>4</sup> 27 <sup>4</sup> <sup>_n_</sup> <sup>3 + O(</sup> <sup>_n_</sup> <sup>2)</sup> <sup>_._</sup> We give a precise upper bound on _ξ_ <sup>_c_</sup> ( _G_ ) for graphs _G_ of order _n_, and characterize those graphs that reach the bound. As a corollary, we show that for every lollipop, there is another graph _G_ of same order, but with a strictly larger eccentric connectivity index. ### 2 Results for a fixed order and a fixed diameter The only graph with diameter 1 is the clique, and clearly, _ξ_ <sup>_c_</sup> (K _n_ ) = _n_ ( _n_ −1). Also, the only connected graph with 3 vertices and diameter 2 is P3, and _ξ_ <sup>_c_</sup> (P3) = _ξ_ <sup>_c_</sup> (K3) = 6. The next theorem characterizes the graphs with maximum eccentric connectivity index among those with _n_ ≥ 4 vertices and diameter 2. Let M _n_ be the graph obtained from K _n_ by removing a maximum matching ( _i.e.,_ ⌊ <sup>_n_</sup> 2 <sup>⌋</sup> <sup>disjoint</sup> <sup>edges)</sup> <sup>and,</sup> <sup>if</sup> <sup>_n_</sup> <sup>is</sup> <sup>odd,</sup> <sup>an</sup> <sup>additional</sup> <sup>edge</sup> <sup>adjacent</sup> <sup>to</sup> the unique vertex that still has degree _n_ - 1. In other words, all vertices in M _n_ have degree _n_ - 2, except possibly one that has degree _n_ - 3. For illustration, M6 and M7 are drawn in Figure 1. Theorem 3. _Let_ _G_ _be_ _a_ _connected_ _graph_ _of_ _order_ _n_ ≥ 4 _and_ _diameter_ 2 _._ _Then,_ _ξ_ <sup>_c_</sup> ( _G_ ) ≤ 2 _n_ <sup>2</sup> - 4 _n_ - 2( _n_ mod 2) _with_ _equality_ _if_ _and_ _only_ _if_ _G_ ≃ M _n_ _or_ _n_ = 5 _and_ _G_ ≃ _H_ 1 _(see_ _Figure_ _1)._ _Proof._ Let _G_ be a graph of order _n_ and diameter 2, and let _x_ be the number of vertices of degree _n_ −1 in _G_ . Clearly, _W_ ( _v_ ) = _n_ −1 for all vertices _v_ of degree _n_ −1, while _W_ ( _v_ ) ≤ 2( _n_ −2) 2 _H_ 1 _H_ 2 _H_ 3 M6 M7 _u_ 0 _u_ 1 _u_ 2 _u_ 3 _u_ 4 E8 _,_ 4 _,k_ Figure 1: Graphs _H_ 1 _, H_ 2 _, H_ 3, M6, M7 and E8 _,_ 4 _,k_, (dashed edges depend on _k_ ) for all other vertices _v_ . Note that if _n_ - _x_ is odd, then at least one vertex in _G_ has degree at most _n_ - 3. Hence, _ξ_ <sup>_c_</sup> ( _G_ ) ≤ _x_ ( _n_ - 1) + 2( _n_ - _x_ )( _n_ - 2) − 2(( _n_ - _x_ ) mod 2) = 2 _n_ <sup>2</sup> - 4 _n_ + _x_ (3 − _n_ ) − 2(( _n_ - _x_ ) mod 2) _._ For _n_ = 4 or _n_ ≥ 6, this value is maximized with _x_ = 0. For _n_ = 5, both _x_ = 1 ( _i.e.,_ _G_ ≃ _H_ 1) and _x_ = 0 ( _i.e.,_ _G_ ≃ M5) give the maximum value 28 = 2 _n_ <sup>2</sup> −4 _n_ +(3− _n_ )−2(( _n_ −1) mod 2) = 2 _n_ <sup>2</sup> - 4 _n_ - 2( _n_ mod 2). Before giving a similar result for graphs with diameter _D_ ≥ 3, we prove the following useful property. Lemma 4. _Let_ _G_ _be_ _a_ _connected_ _graph_ _of_ _order_ _n_ ≥ 4 _and_ _diameter_ _D_ ≥ 3 _._ _Let_ _P_ _be_ _a_ _shortest_ _path_ _in_ _G_ _between_ _two_ _vertices_ _at_ _distance_ _D,_ _and_ _assume_ _there_ _is_ _a_ _vertex_ _u_ _on_ _P_ _such_ _that_ _ǫ_ ( _u_ ) _is_ _strictly_ _larger_ _than_ _the_ _longest_ _distance_ _L_ _from_ _u_ _to_ _an_ _extremity_ _of_ _P_ _._ _Finally,_ _let_ _v_ _be_ _a_ _vertex_ _in_ _G_ _such_ _that_ _d_ ( _v, u_ ) = _ǫ_ ( _u_ ) _and_ _let_ _v_ = _w_ 1 − _w_ 2 − _. . ._ - _wǫ_ ( _u_ )+1 = _u_ _be_ _a_ _path_ _of_ _length_ _ǫ_ ( _u_ ) _linking_ _v_ _to_ _u_ _in_ _G._ _Then_ - _vertices_ _w_ 1 _, . . ., wǫ_ ( _u_ )− _L_ _do_ _not_ _belong_ _to_ _P_ _;_ - _vertex_ _wǫ_ ( _u_ )− _L_ _has_ _either_ _no_ _neighbor_ _on_ _P_ _,_ _or_ _its_ _unique_ _neighbor_ _on_ _P_ _is_ _an_ _extremity_ _at_ _distance_ _L_ _from_ _u;_ - _if_ _ǫ_ ( _u_ ) − _L >_ 1 _then_ _vertices_ _w_ 1 _, . . ., wǫ_ ( _u_ )− _L_ −1 _have_ _no_ _neighbor_ _on_ _P_ _._ _Proof._ No vertex _wi_ with 1 ≤ _i_ ≤ _ǫ_ ( _u_ ) − _L_ is on _P_, since this would imply _d_ ( _u, wi_ ) ≤ _L_, and hence _d_ ( _u, v_ ) = _d_ ( _u, w_ 1) ≤ _L_ + _i_ −1 ≤ _ǫ_ ( _u_ )−1. Similarly, no vertex _wi_ with 1 ≤ _i_ ≤ _ǫ_ ( _u_ )− _L_ −1 has a neighbor on _P_, since this would imply _d_ ( _u, wi_ ) ≤ _L_ + 1, and hence _d_ ( _u, v_ ) = _d_ ( _u, w_ 1) ≤ _L_ + 1 + _i_ - 1 ≤ _ǫ_ ( _u_ ) − 1. If vertex _wǫ_ ( _u_ )− _L_ has at least one neighbor on _P_, then this neighbor is necessarily an extremity of _P_ at distance _L_ from _u_, else we would have _d_ ( _u, wǫ_ ( _u_ )− _L_ ) ≤ _L_, which would imply _d_ ( _u, v_ ) = _d_ ( _u, w_ 1) ≤ _L_ + ( _ǫ_ ( _u_ ) − _L_ - 1) = _ǫ_ ( _u_ ) − 1. We conclude the proof by observing that if both extremities of _P_ are at distance _L_ from _u_, then _wǫ_ ( _u_ )− _L_ is adjacent to at most one of them since _D_ ≥ 3. 3 Let _n, D_ and _k_ be integers such that _n_ ≥ 4, 3 ≤ _D_ ≤ _n_ - 1 and 0 ≤ _k_ ≤ _n_ - _D_ - 1, and let E _n,D,k_ be the graph (of order _n_ and diameter _D_ ) constructed from a path _u_ 0 − _u_ 1 − _. . ._ - _uD_ by joining each vertex of a clique K _n_ - _D_ −1 to _u_ 0 and _u_ 1, and _k_ vertices of the clique to _u_ 2 (see Figure 1). Observe that E _n,D,_ 0 is the lollipop _Ln,D_ and that E _n,D,n_ - _D_ −1 can be viewed as a lollipop with a missing edge between _u_ 0 and _u_ 2. Also, if _D_ = _n_ - 1, then _k_ = 0 and E _n,n_ −1 _,_ 0 ≃ P _n_ . Lemma 5. _Let_ _n, D_ _and_ _k_ _be_ _integers_ _such_ _that_ _n_ ≥ 4 _,_ 3 ≤ _D_ ≤ _n_ - 1 _and_ 0 ≤ _k_ ≤ _n_ - _D_ - 1 _,_ _then_ _D_ −1 _i_ =0 _ξ_ <sup>_c_</sup> (E _n,D,k_ ) = 2 max{ _i, D_ - _i_ } + - _n_ - _D_ - 1 ��2 _D_ - 1 + _D_ ( _n_ - _D_ )� _i_ =0 + _k_ 2 _D_ - _n_ - 1 + max{2 _, D_ - 2} _._ - _Proof._ The sum of the weights of the vertices outside _P_ is _v_ ∈ _V_ \ _V_ ( _P_ ) \ _V_ _W_ ( _v_ ) = _k_ ( _n_ - _D_ + 1) ( _D_ - 1) + ( _n_ - _D_ - 1 − _k_ ) ( _n_ - _D_ ) _D,_ = _k_ (2 _D_ - _n_ - 1) + ( _n_ - _D_ - 1)( _n_ - _D_ ) _D._ We now consider the weights of the vertices in _P_ . The weight of _u_ 0 is _D_ ( _n_ - _D_ ), the weight of _u_ 1 is ( _D_ - 1)( _n_ - _D_ + 1), and the weight of _u_ 2 is ( _k_ + 2) max{2 _, D_ - 2}. The weight of _ui_ for _i_ = 3 _, . . ., D_ - 1 is 2 max{ _i, D_ - _i_ }, and the weight of _uD_ is _D_ . Hence, the total weight of the vertices on _P_ is ( _n_ - _D_ ) _D_ + ( _n_ - _D_ + 1)( _D_ - 1) + ( _k_ + 2) max{2 _, D_ - 2} + 2 _D_ −1 _i_ =3 max{ _i, D_ - _i_ } + _D_ �( _n_ - _D_ - 1)( _D_ - 1) + 2( _D_ −1 _D_ - 1) = �( _n_ - _D_ - 1) _D_ + _D_ - + _D_ −1 _i_ =3 + - _k_ max{2 _, D_ - 2} + 2 max{2 _, D_ - 2} max{ _i, D_ - _i_ } + _D_ _i_ =3 - + 2 = 2 _D_ −1 _i_ =0 max{ _i, D_ - _i_ } + ( _n_ - _D_ - 1)(2 _D_ - 1) + _k_ max{2 _, D_ - 2} _i_ =0 By summing up all weight in _G_, we obtain the desired result. In what follows, we denote _f_ ( _n, D_ ) = that _n_ max− _D_ −1 _ξ_ <sup>_c_</sup> (E _n,D,k_ ). It follows from the above lemma _k_ =0 _i_ =0 14 + - _n_ - 4��3 _n_ - 4 + max{0 _,_ 2 _D_ - _n_ + 1}� if _D_ = 3; _f_ ( _n, D_ ) =   _D_ −1 _i_ =0 max{ _i, D_ - _i_ }  2 if _D_ ≥ 4 _._ ��2 _D_ - 1 + _D_ ( _n_ - _D_ ) + max{0 _,_ 3 _D_ - _n_ - 3}� + - _n_ - _D_ - 1 Lemma 5 allows to know for which values of _k_ we have _ξ_ <sup>_c_</sup> (E _n,D,k_ ) = _f_ ( _n, D_ ). 4 Corollary 6. _Let_ _n_ _and_ _k_ _be_ _integers_ _such_ _that_ _n_ ≥ 4 _,_ _and_ 0 ≤ _k_ ≤ _n_ - 4 _._ - _If_ _n <_ 7 _,_ _then_ _ξ_ <sup>_c_</sup> (E _n,_ 3 _,k_ ) ≤ _f_ ( _n,_ 3) = 2 _n_ <sup>2</sup> −5 _n_ + 2 _,_ _with_ _equality_ _if_ _and_ _only_ _if_ _k_ = _n_ - 4 _._ - _If_ _n >_ 7 _,_ _then_ _ξ_ <sup>_c_</sup> (E _n,_ 3 _,k_ ) ≤ _f_ ( _n,_ 3) = 3 _n_ <sup>2</sup> - 16 _n_ + 30 _with_ _equality_ _if_ _and_ _only_ _if_ _k_ = 0 _._ - _If_ _n_ = 7 _,_ _then_ _all_ _ξ_ <sup>_c_</sup> (E _n,_ 3 _,k_ ) _are_ _equal_ _to_ 65 _for_ _k_ = 0 _, . . ., n_ - 4 _._ Corollary 7. _Let n, D_ _and k_ _be integers such that n_ ≥ 5 _,_ 4 ≤ _D_ ≤ _n_ −1 _and_ 0 ≤ _k_ ≤ _n_ - _D_ −1 _._ - _If_ _n <_ 3( _D_ - 1) _,_ _then_ _ξ_ <sup>_c_</sup> (E _n,D,k_ ) = _f_ ( _n, D_ ) _if_ _and_ _only_ _if_ _k_ = _n_ - _D_ - 1 _._ - _If_ _n >_ 3( _D_ - 1) _,_ _then_ _ξ_ <sup>_c_</sup> (E _n,D,k_ ) = _f_ ( _n, D_ ) _if_ _and_ _only_ _if_ _k_ = 0 _._ - _If_ _n_ = 3( _D_ - 1) _,_ _then_ _ξ_ <sup>_c_</sup> (E _n,D,k_ ) = _f_ ( _n, D_ ) _if_ _and_ _only_ _if_ _k_ ∈{0 _, . . ., n_ - _D_ - 1} _._ The graph _H_ 2 of Figure 1 has 6 vertices, diameter 3, and is not isomorphic to E6 _,_ 3 _,k_, while _ξ_ <sup>_c_</sup> ( _H_ 2) = _f_ (6 _,_ 3) = 44. Similarly, the graph _H_ 3 of Figure 1 has 7 vertices, diameter 3, and is not isomorphic to E7 _,_ 3 _,k_, while _ξ_ <sup>_c_</sup> ( _H_ 3) = _f_ (7 _,_ 3) = 65. In what follows, we prove that all graphs _G_ of order _n_ and diameter _D_ ≥ 3 have _ξ_ <sup>_c_</sup> ( _G_ ) ≤ _f_ ( _n, D_ ). Moreover, we show that if _G_ is not isomorphic to a E _n,D,k_, then equality can only occur if _G_ ≃ _H_ 2 or _G_ ≃ _H_ 3. So, for every _n_ ≥ 4 and 3 ≤ _D_ ≤ _n_ - 1, let us consider the following graph class C _n_ <sup>_D_</sup> <sup>:</sup> {E _n,_ 3 _,n_ −4} if _n_ = 4 _,_ 5 and _D_ = 3; C _n_ <sup>_D_</sup> <sup>=</sup>   {E _n,_ 3 _,_ 2 _, H_ 2} if _n_ = 6 and _D_ = 3; {E _n,_ 3 _,_ 0 _, . . .,_ E _n,_ 3 _,_ 3 _, H_ 3} if _n_ = 7 and _D_ = 3; {E _n,_ 3 _,_ 0} if _n >_ 7 and _D_ = 3;  {E _n,D,n_ - _D_ −1} if _n <_ 3( _D_ - 1) and _D_ ≥ 4; {E _n,D,_ 0 _, . . .,_ E _n,D,n_ - _D_ −1} if _n_ = 3( _D_ - 1) and _D_ ≥ 4; {E _n,D,_ 0} if _n >_ 3( _D_ - 1) and _D_ ≥ 4 _._ Note that while Morgan _et_ _al._ [2] state that the lollipops reach the asymptotic upper bound of the eccentric connectivity index, we will prove that they reach the more precise upper bound only if _D_ = _n_ - 1, _D_ = 3 and _n_ ≥ 7, or _D_ ≥ 4 and _n_ ≥ 3( _D_ - 1). Theorem 8. _Let_ _G_ _be_ _a_ _connected_ _graph_ _of_ _order_ _n_ ≥ 4 _and_ _diameter_ 3 ≤ _D_ ≤ _n_ - 1 _._ _Then_ _ξ_ <sup>_c_</sup> ( _G_ ) ≤ _f_ ( _n, D_ ) _,_ _with_ _equality_ _if_ _and_ _only_ _if_ _G_ _belongs_ _to_ C _n_ <sup>_D._</sup> _Proof._ We have already observed that all graphs _G_ in C _n_ <sup>_D_</sup> _Proof._ We have already observed that all graphs _G_ in C _n_ <sup>_D_</sup> <sup>have</sup> <sup>_ξc_</sup> <sup>(</sup> <sup>_G_</sup> <sup>)</sup> <sup>=</sup> <sup>_f_</sup> <sup>(</sup> <sup>_n, D_</sup> <sup>).</sup> <sup>So</sup> <sup>let</sup> <sup>_G_</sup> be a graph of order _n_, diameter _D_ such that _ξ_ <sup>_c_</sup> ( _G_ ) ≥ _f_ ( _n, D_ ). It remains to prove that _G_ belongs to C _n_ <sup>_D_</sup> <sup>.</sup> belongs to C _n_ <sup>_D_</sup> <sup>.</sup> Let _P_ = _u_ 0 - _u_ 1 −· · · − _uD_ be a shortest path in _G_ that connects two vertices _u_ 0 and _uD_ at distance _D_ from each other. In what follows, we use the following notations for all _i_ = 0 _, . . ., D_ : - _oi_ is the number of vertices outside _P_ and adjacent to _ui_ ; - _δi_ = max{ _i, D_ - _i_ }; - _ri_ = _ǫ_ ( _ui_ ) − _δi_ . Also, let _r_ <sup>∗</sup> = max <sup>_D_</sup> _i_ =1 <sup>−1</sup> <sup>_ri_</sup> <sup>.</sup> <sup>Note</sup> <sup>that</sup> <sup>_δi_</sup> <sup>≥</sup> <sup>2</sup> <sup>and</sup> <sup>_ri_</sup> <sup>≤⌊</sup> <sup>_D_</sup> 2 <sup>⌋</sup> <sup>for</sup> <sup>_D_</sup> _i_ =1 <sup>−1</sup> <sup>_ri_</sup> <sup>.</sup> <sup>Note</sup> <sup>that</sup> <sup>_δi_</sup> <sup>≥</sup> <sup>2</sup> <sup>and</sup> <sup>_ri_</sup> <sup>≤⌊</sup> <sup>_D_</sup> 2 Also, let _r_ <sup>∗</sup> = max <sup>_D_</sup> _i_ =1 <sup>−1</sup> <sup>_ri_</sup> <sup>.</sup> <sup>Note</sup> <sup>that</sup> <sup>_δi_</sup> <sup>≥</sup> <sup>2</sup> <sup>and</sup> <sup>_ri_</sup> <sup>≤⌊</sup> <sup>_D_</sup> 2 <sup>⌋</sup> <sup>for</sup> <sup>all</sup> <sup>_i_</sup> <sup>,</sup> <sup>and</sup> <sup>_r_</sup> <sup>0</sup> <sup>=</sup> <sup>_rD_</sup> <sup>=</sup> <sup>0</sup> <sup>since</sup> _ǫ_ ( _u_ 0) = _ǫ_ ( _uD_ ) = _δ_ 0 = _δD_ = _D_ . Since _P_ is a shortest path linking _u_ 0 to _uD_, no vertex outside _P_ can have more than three neighbors in _P_ . We consider the following partition of the vertices outside _P_ in 4 disjoint sets _V_ 0 _, V_ 1 _,_ 2 _, V_ 3 <sup>_D_</sup> <sup>−1</sup> _, V_ 3 <sup>_D_</sup> <sup>,</sup> <sup>and</sup> <sup>denote</sup> <sup>by</sup> <sup>_n_</sup> <sup>0</sup> <sup>_, n_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, nD_</sup> 3 <sup>−1</sup> _, n_ <sup>_D_</sup> 3 3 <sup>_D_</sup> <sup>,</sup> <sup>and</sup> <sup>denote</sup> <sup>by</sup> <sup>_n_</sup> <sup>0</sup> <sup>_, n_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, nD_</sup> 3 <sup>−1</sup> _, n_ <sup>_D_</sup> 3 3 <sup>_D_</sup> <sup>−1</sup> _, V_ 3 <sup>_D_</sup> 3 3 <sup>,</sup> <sup>and</sup> <sup>denote</sup> <sup>by</sup> <sup>_n_</sup> <sup>0</sup> <sup>_, n_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_, nD_</sup> 3 <sup>−1</sup> 3 their respective size: 5 - _V_ 0 is the set of vertices outside _P_ with no neighbor on _P_ ; - _V_ 1 _,_ 2 is the set of vertices outside _P_ with one or two neighbors in _P_ ; - _V_ 3 <sup>_D_</sup> <sup>−1</sup> is the set of vertices _v_ outside _P_ with three neighbors in _P_ and _ǫ_ ( _v_ ) ≤ _D_ - 1; - _V_ 3 <sup>_D_</sup> is the set of vertices _v_ outside _P_ with three neighbors in _P_ and _ǫ_ ( _v_ ) = _D_ . Clearly, all vertices _v_ outside _P_ can have _ǫ_ ( _v_ ) = _D_ except those in _V_ 3 <sup>_D_</sup> <sup>−1</sup> Clearly, all vertices _v_ outside _P_ can have _ǫ_ ( _v_ ) = _D_ except those in _V_ 3 <sup>_D_</sup> <sup>−1</sup> . The maximum degree of a vertex in _V_ 0 is _n_ - _D_ - 2, while it is _n_ - _D_ for those in _V_ 1 _,_ 2 and _n_ - _D_ + 1 for those in _V_ 3 <sup>_D_</sup> <sup>−1</sup> ∪ _V_ 3 <sup>_D_</sup> <sup>.</sup> <sup>For</sup> <sup>a</sup> <sup>vertex</sup> <sup>_v_</sup> <sup>∈</sup> <sup>_V_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2 ∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> ∪ _V_ 3 <sup>_D_</sup> <sup>,</sup> <sup>let</sup> 3 <sup>_D_</sup> <sup>.</sup> <sup>For</sup> <sup>a</sup> <sup>vertex</sup> <sup>_v_</sup> <sup>∈</sup> <sup>_V_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2 ∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> ∪ _V_ 3 <sup>_D_</sup> 3 <sup>_D_</sup> <sup>−1</sup> ∪ _V_ 3 <sup>_D_</sup> 3 <sup>_D_</sup> <sup>,</sup> <sup>let</sup> _ρ_ ( _v_ ) = max{ _ri_ | _ui_ is adjacent to _v_ } _ρ_ <sup>∗</sup> = max _v_ ∈ _V_ 1 _,_ 2∪ _V_ 3 <sup>_D_</sup> <sup>−1</sup> _ρ_ ( _v_ ) 3 <sup>_D_</sup> 3 <sup>_D_</sup> <sup>−1</sup> ∪ _V_ 3 <sup>_D_</sup> Hence, _r_ <sup>∗</sup> ≥ _ρ_ <sup>∗</sup> . We first show that the total weight of the vertices in _V_ 0 ∪ _V_ 1 _,_ 2 is at most _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>) −</sup> <sup>2</sup> <sup>_Dr_</sup> <sup>∗</sup> <sup>+</sup> <sup>_D_</sup> <sup>min{1</sup> <sup>_, ρ_</sup> <sup>∗}</sup> <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 - If _r_ <sup>∗</sup> = 0, then the largest possible weight of the vertices in _V_ 0 ∪ _V_ 1 _,_ 2 occurs when all of them have two neighbors in _P_ (i.e., _n_ 0 = 0 and no vertex in _V_ 1 _,_ 2 has one neighbor on _P_ ). In such a case, _n_ 0 + _n_ 1 _,_ 2 = _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>,</sup> <sup>and</sup> <sup>all</sup> <sup>these</sup> <sup>vertices</sup> <sup>have</sup> on _P_ ). In such a case, _n_ 0 + _n_ 1 _,_ 2 = _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>,</sup> <sup>and</sup> <sup>all</sup> <sup>these</sup> <sup>vertices</sup> <sup>have</sup> degree _n_ - _D_ . Hence, their total weight is at most _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>).</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>,</sup> <sup>_D_</sup> 3 <sup>).</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 - If _r_ <sup>∗</sup> _>_ 0 and _ρ_ <sup>∗</sup> _>_ 0, then let _i_ be such that _ri_ = _r_ <sup>∗</sup> . It follows from Lemma 4 that there is a path _w_ 1 − _. . ._ - _wǫ_ ( _ui_ )+1 such that _w_ 1 _, . . ., wr_ <sup>∗</sup> −1 have no neighbor on _P_ and _wr_ <sup>∗</sup> has at most one neighbor on _P_ . Hence, the largest possible weight of the vertices in _V_ 0 ∪ _V_ 1 _,_ 2 occurs when _r_ <sup>∗</sup> - 1 vertices have 0 neighbor on _P_, one vertex has one neighbor on _P_, and _n_ - _D_ - 1 - _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>−</sup> <sup>_r_</sup> <sup>∗</sup> <sup>vertices</sup> <sup>have 2 neighbors in</sup> <sup>_P_</sup> <sup>.</sup> <sup>Hence,</sup> <sup>the largest</sup> on _P_, and _n_ - _D_ - 1 - _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>−</sup> <sup>_r_</sup> <sup>∗</sup> <sup>vertices</sup> <sup>have 2 neighbors in</sup> <sup>_P_</sup> <sup>.</sup> <sup>Hence,</sup> <sup>the largest</sup> possible weight for the vertices in _V_ 0 ∪ _V_ 1 _,_ 2 is <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 _D_ ( _n_ - _D_ - 2)( _r_ <sup>∗</sup> - 1) + _D_ ( _n_ - _D_ - 1) + _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>−</sup> <sup>_r_</sup> <sup>∗)</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 = _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>) −</sup> <sup>2</sup> <sup>_Dr_</sup> <sup>∗</sup> <sup>+</sup> <sup>_D._</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 - If _r_ <sup>∗</sup> _>_ 0 and _ρ_ <sup>∗</sup> = 0, then consider the same path _w_ 1 − _. . ._ - _wǫ_ ( _ui_ )+1 as in the above case. If _wr_ <sup>∗</sup> has no neighbor on _P_, then there are at least _r_ <sup>∗</sup> vertices with no neighbor on _P_ and the largest possible weight for the vertices in _V_ 0 ∪ _V_ 1 _,_ 2 is _D_ ( _n_ - _D_ - 2)( _r_ <sup>∗</sup> ) + _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> _D_ ( _n_ - _D_ - 2)( _r_ <sup>∗</sup> ) + _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>−</sup> <sup>_r_</sup> <sup>∗)</sup> = _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>) −</sup> <sup>2</sup> <sup>_Dr_</sup> <sup>∗</sup> <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>_D_</sup> 3 <sup>) −</sup> <sup>2</sup> <sup>_Dr_</sup> <sup>∗</sup> <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 Also, if there are at least two vertices in _V_ 1 _,_ 2 with only one neighbor on _P_, then the largest possible weight for the vertices in _V_ 0 ∪ _V_ 1 _,_ 2 is _D_ ( _n_ - _D_ - 2)( _r_ <sup>∗</sup> - 1) + 2 _D_ ( _n_ - _D_ - 1) + _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> _D_ ( _n_ - _D_ - 2)( _r_ <sup>∗</sup> - 1) + 2 _D_ ( _n_ - _D_ - 1) + _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>−</sup> <sup>_r_</sup> <sup>∗</sup> <sup>−</sup> <sup>1)</sup> = _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>) −</sup> <sup>2</sup> <sup>_Dr_</sup> <sup>∗</sup> <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>_D_</sup> 3 <sup>) −</sup> <sup>2</sup> <sup>_Dr_</sup> <sup>∗</sup> <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 So assume _wr_ <sup>∗</sup> is the only vertex in _V_ 1 _,_ 2 with only one neighbor on _P_ . We thus have _d_ ( _ui, wr_ <sup>∗</sup> ) = _δi_ + 1. We now show that this case is impossible. We know from Lemma 4 that _wr_ <sup>∗</sup> is adjacent to _u_ 0 or (exclusive) to _uD_ . Since _ρ_ ( _v_ ) = 0 for all vertices _v_ outside _P_, we know that _ui_ has no neighbor outside _P_ . Hence, _wǫ_ ( _ui_ ) is _ui_ −1 or _ui_ +1, 6 say _ui_ +1 (the other case is similar). Then _wr_ <sup>∗</sup> is not adjacent to _u_ 0 else there is _j_ with _r_ <sup>∗</sup> + 1 ≤ _j_ ≤ _ǫ_ ( _ui_ ) − 1 such that _wj_ is outside _P_ and has _wj_ +1 as neighbor on _P_, and since _wj_ must have a second neighbor _uℓ_ on _P_ with _ℓ_ ≥ _i_ + 2, we would have _i_ + 2 ≤ _ℓ_ = _d_ ( _u_ 0 _, uℓ_ ) ≤ _d_ ( _wr_ <sup>∗</sup> _, wj_ ) + 2 ≤ ( _d_ ( _wr_ <sup>∗</sup> _, ui_ ) − 2) + 2 = _i_ + 1 _._ Hence, _wr_ <sup>∗</sup> is adjacent to _uD_ . Then there is also a path linking _ui_ to _w_ 1 going through _ui_ −1 else _d_ ( _u_ 0 _, w_ 1) = _d_ ( _u_ 0 _, ui_ ) + _d_ ( _ui, w_ 1) _>_ _i_ + _δi_ ≥ _D_ . Let _Q_ be such a path of minimum length. Clearly, _Q_ has length at least equal to _ǫ_ ( _ui_ ). So let _w_ 1 <sup>′</sup> <sup>−</sup> <sup>_. . ._</sup> <sup>−</sup> <sup>_w_</sup> _ǫ_ <sup>′</sup> ( _ui_ )+1 minimum length. Clearly, _Q_ has length at least equal to _ǫ_ ( _ui_ ). So let _w_ 1 <sup>′</sup> <sup>−</sup> <sup>_. . ._</sup> <sup>−</sup> <sup>_w_</sup> _ǫ_ <sup>′</sup> ( _ui_ )+1 be the subpath of _Q_ of length _ǫ_ ( _ui_ ) and having _ui_ as extremity (i.e., _wǫ_ <sup>′</sup> ( _ui_ ) <sup>=</sup> <sup>_ui_</sup> <sup>−1</sup> <sup>and</sup> be the subpath of _Q_ of length _ǫ_ ( _ui_ ) and having _ui_ as extremity (i.e., _wǫ_ <sup>′</sup> ( _ui_ ) <sup>=</sup> <sup>_ui_</sup> <sup>−1</sup> <sup>and</sup> _wǫ_ <sup>′</sup> ( _ui_ )+1 <sup>=</sup> <sup>_ui_</sup> <sup>).</sup> <sup>Applying</sup> <sup>the</sup> <sup>same</sup> <sup>argument</sup> <sup>to</sup> <sup>_w_</sup> _r_ <sup>′</sup> <sup>∗</sup> <sup>as</sup> <sup>was</sup> <sup>done</sup> <sup>for</sup> <sup>_wr_</sup> <sup>∗,</sup> <sup>we</sup> <sup>conclude</sup> _ǫ_ <sup>′</sup> ( _ui_ )+1 <sup>=</sup> <sup>_ui_</sup> <sup>).</sup> <sup>Applying</sup> <sup>the</sup> <sup>same</sup> <sup>argument</sup> <sup>to</sup> <sup>_w_</sup> _r_ <sup>′</sup> _wǫ_ <sup>′</sup> ( _ui_ )+1 <sup>=</sup> <sup>_ui_</sup> <sup>).</sup> <sup>Applying</sup> <sup>the</sup> <sup>same</sup> <sup>argument</sup> <sup>to</sup> <sup>_w_</sup> _r_ <sup>′</sup> <sup>∗</sup> <sup>as</sup> <sup>was</sup> <sup>done</sup> <sup>for</sup> <sup>_wr_</sup> <sup>∗,</sup> <sup>we</sup> <sup>conclude</sup> that _wr_ <sup>′</sup> <sup>∗</sup> <sup>has</sup> <sup>_u_</sup> <sup>0</sup> <sup>as</sup> <sup>unique</sup> <sup>neighbor</sup> <sup>on</sup> <sup>_P_</sup> <sup>.</sup> <sup>We</sup> <sup>thus</sup> <sup>have</sup> <sup>two</sup> <sup>vertices</sup> <sup>in</sup> <sup>_V_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>with</sup> <sup>a</sup> that _wr_ <sup>′</sup> <sup>∗</sup> <sup>has</sup> <sup>_u_</sup> <sup>0</sup> <sup>as</sup> <sup>unique</sup> <sup>neighbor</sup> <sup>on</sup> <sup>_P_</sup> <sup>.</sup> <sup>We</sup> <sup>thus</sup> <sup>have</sup> <sup>two</sup> <sup>vertices</sup> <sup>in</sup> <sup>_V_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>with</sup> <sup>a</sup> unique neighbor on _P_, a contradiction. The total weight of the vertices in _V_ 3 <sup>_D_</sup> <sup>−1</sup> ∪ _V_ 3 <sup>_D_</sup> is at most ( _n_ - _D_ +1) ( _D_ - 1) _n_ <sup>_D_</sup> 3 <sup>−1</sup> + _Dn_ <sup>_D_</sup> 3, which gives the following upper bound _B_ on the total weight of the vertices� outside _P_ : The total weight of the vertices in _V_ 3 <sup>_D_</sup> <sup>−1</sup> 3 <sup>_D_</sup> is at most ( _n_ - _D_ +1) <sup>_D_</sup> 3 <sup>−1</sup> + _Dn_ <sup>_D_</sup> 3 3 <sup>_D_</sup> <sup>−1</sup> ∪ _V_ 3 <sup>_D_</sup> ( _D_ - 1) _n_ <sup>_D_</sup> 3 <sup>−1</sup> vertices� outside <sup>_D_</sup> 3 _B_ = _D_ ( _n_ - _D_ )( _n_ - _D_ - 1 − _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>) + (</sup> <sup>_n_</sup> <sup>−</sup> <sup>_D_</sup> <sup>+ 1)</sup> �( _D_ - 1) _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>_D_</sup> 3 <sup>−1</sup> + _Dn_ <sup>_D_</sup> 3 - 2 _Dr_ <sup>∗</sup> + _D_ min{1 _, ρ_ <sup>∗</sup> } = ( _n_ - _D_ - 1) _D_ ( _n_ - _D_ ) + _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>−</sup> <sup>2</sup> <sup>_Dr_</sup> <sup>∗</sup> <sup>+</sup> <sup>_D_</sup> <sup>min{1</sup> <sup>_, ρ_</sup> <sup>∗}</sup> <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> (2 _D_ - _n_ - 1) + _Dn_ <sup>_D_</sup> 3 This bound can only be reached if all vertices outside _P_ are pairwise adjacent. But Lemma 4 shows that this cannot happen if _ρ_ <sup>∗</sup> _>_ 0. Indeed, consider a vertex _v_ in _V_ 1 _,_ 2 ∪ _V_ 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> shows that this cannot happen if _ρ_ <sup>∗</sup> _>_ 0. Indeed, consider a vertex _v_ in _V_ 1 _,_ 2 ∪ _V_ 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> with _ρ_ ( _v_ ) _>_ 0. There is a vertex _ui_ in _P_ adjacent to _v_ such that _ρ_ ( _v_ ) = _ri_ = _ǫ_ ( _ui_ ) − _δi_ _>_ 0. We know from Lemma 4 that there is a shortest path _w_ 1 − _w_ 2 − _. . ._ - _wǫ_ ( _ui_ )+1 = _ui_ linking _ui_ to a vertex _w_ 1 with _d_ ( _ui, w_ 1) = _ǫ_ ( _ui_ ) and such that _w_ 1 _, . . ., wρ_ ( _v_ ) do not belong to _P_ . In what follows, we denote _Q_ <sup>_v_</sup> such a path. If _v_ is adjacent to a _wj_ with 1 ≤ _j_ ≤ _ρ_ ( _v_ ), then the path _ui_ - _v_ - _wj_ - _. . ._ - _w_ 1 links _ui_ to _w_ 1 and has length at most _ρ_ ( _v_ ) + 1 _< ri_ + _δi_ = _ǫ_ ( _ui_ ), a contradiction. Hence _v_ has at least _ρ_ ( _v_ ) non-neighbors outside _P_ . Also, as shown in Lemma 4, _w_ 1 _, . . ., wρ_ ( _v_ )−1 belong to _V_ 0, while _wρ_ ( _v_ ) belongs to _V_ 0 ∪ _V_ 1 _,_ 2. In the upper bound _B_, we have assumed that _ǫ_ ( _w_ 1) = _. . ._ = _ǫ_ ( _wρ_ ( _v_ )) = _D_ . Hence, if _v_ ∈ _V_ 1 _,_ 2 ∪ _V_ 3 <sup>_D_</sup> <sup>,</sup> <sup>we can</sup> <sup>gain</sup> <sup>2</sup> <sup>_D_</sup> <sup>units</sup> have assumed that _ǫ_ ( _w_ 1) = _. . ._ = _ǫ_ ( _wρ_ ( _v_ )) = _D_ . Hence, if _v_ ∈ _V_ 1 _,_ 2 ∪ _V_ 3 <sup>_D_</sup> <sup>,</sup> <sup>we can</sup> <sup>gain</sup> <sup>2</sup> <sup>_D_</sup> <sup>units</sup> on _B_ for every _wj_, _j_ = 1 _, . . ., ρ_ ( _v_ ) ( _D_ for _v_ and _D_ for _wj_ ), while the gain is 2 _D_ - 1 ( _D_ - 1 for _v_ and _D_ for _wj_ ) if _v_ ∈ _V_ 3 <sup>_D_</sup> <sup>−1</sup> . We can gain an additional 2 _D_ for every _v_ ∈ _V_ 3 <sup>_D_</sup> <sup>.</sup> <sup>Indeed,</sup> <sup>consider</sup> <sup>such</sup> <sup>a</sup> <sup>vertex</sup> <sup>_v_</sup> <sup>and</sup> <sup>let</sup> _w_ <sup>∗</sup> be a vertex at distance _D_ from _v_ . Note that _w_ <sup>∗</sup> is not on _P_ and has at most one neighbor on _P_ else _d_ ( _v, w_ <sup>∗</sup> ) ≤ _D_ - 1. Hence, if _ρ_ ( _v_ ) = 0, we can gain 2 _D_ (one _D_ for _v_ and one _D_ for _w_ ) in the above upper bound. So assume _ρ_ ( _v_ ) _>_ 0, and consider again the shortest path _Q_ <sup>_v_</sup> = _w_ 1 − _w_ 2 − _. . ._ - _wǫ_ ( _ui_ )+1 = _ui_, with _ρ_ ( _v_ ) = _ri_ . Also, let _W_ = { _w_ 1 _, . . ., wρ_ ( _v_ )}. To gain an additional 2 _D_, it is sufficient to determine a vertex in ( _V_ 0 ∪ _V_ 1 _,_ 2) \ _W_ which is not adjacent to _v_ . So assume no such vertex exists, and let us prove that such a situation cannot occur. Note that _w_ <sup>∗</sup> ∈ _/_ _V_ 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> (since it has at most one neighbor on _P_ ), which implies _w_ <sup>∗</sup> ∈ _W_ . and _D_ for _wj_ ) if _v_ ∈ _V_ 3 <sup>_D_</sup> <sup>−1</sup> . We can gain an additional 2 _D_ for every _v_ ∈ _V_ 3 <sup>_D_</sup> 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> (since it has at most one neighbor on _P_ ), which implies _w_ <sup>∗</sup> ∈ _W_ . - If a vertex _wj_ ∈ _W_ has a neighbor _x_ ∈ _V_ 0 ∪ _V_ 1 _,_ 2 outside _W_, then _v_ is adjacent to _x_, and the path _v_ - _x_ - _wj_ - _. . ._ - _w_ <sup>∗</sup> has length at most 1 + _ρ_ ( _v_ ) ≤ 1 + ⌊ <sup>_D_</sup> 2 <sup>⌋</sup> <sup>_<_</sup> <sup>_D_</sup> <sup>,</sup> <sup>a</sup> contradiction. 7 - If a vertex _wj_ ∈ _W_ has a neighbor _x_ ∈ _V_ 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup>, then _d_ ( _ui, w_ 1) ≤ _d_ ( _ui, x_ )+ _d_ ( _x, w_ 1) ≤ _δi_ - 1 + _ri_ _< ǫ_ ( _ui_ ), a contradiction. Since _G_ is connected and _w_ 1 _, . . ., wρ_ ( _v_ )−1 have no neighbors outside _Q_ <sup>_v_</sup>, we know that _wρ_ ( _v_ ) is adjacent to the extremity of _P_ at distance _δi_ from _ui_ (and to no other vertex on _P_ ). Hence, the vertices on _P_ and those in _W_ induce a path of length _D_ + _ρ_ ( _v_ ) _> D_ in _G_, a contradiction. In summary, the following value is a more precise upper bound on the total weight of the vertices outside _P_ : (2 _D_ - 1) _ρ_ ( _v_ ) − 2 _Dn_ <sup>_D_</sup> 3 _B_ 1 _,_ 2∪ _v_ ∈ _V_ 1 _,_ 2∪ _V_ 3 <sup>_D_</sup> 2 _Dρ_ ( _v_ ) − _v_ ∈� _V_ 3 <sup>_D_</sup> _v_ ∈ _V_ 3 <sup>_D_</sup> <sup>−1</sup> 3 3 ≤ ( _n_ - _D_ - 1) _D_ ( _n_ - _D_ ) + _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>−</sup> <sup>2</sup> <sup>_Dr_</sup> <sup>∗</sup> <sup>+</sup> <sup>_D_</sup> <sup>min{1</sup> <sup>_, ρ_</sup> <sup>∗}</sup> <sup>_D_</sup> 3 <sup>−1</sup> (2 _D_ - _n_ - 1) − _Dn_ <sup>_D_</sup> 3 ∪� _V_ 3 <sup>_D_</sup> (2 _D_ - 1) _ρ_ ( _v_ ) _._ 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> _v_ ∈ _V_ 1 _,_ 2∪ _V_ 3 <sup>_D_</sup> Let us now consider the vertices on _P_ . We have _W_ ( _u_ 0) = _D_ (1 + _o_ 0), _W_ ( _uD_ ) = _D_ (1 + _oD_ ), and _W_ ( _ui_ ) = _ǫ_ ( _ui_ )(2 + _oi_ ) for _i_ = 1 _, . . ., D_ - 1. Since _ǫ_ ( _ui_ ) = _δi_ + _ri_, the total weight of the vertices on _P_ is 2 _D_ + _D_ ( _o_ 0 + _oD_ ) + ( _δi_ + _ri_ )(2 + _oi_ ) _i_ =1 _D_ −1 _i_ =0 _D_ −1 _i_ =1 = 2 _δi_ + 2 _δioi._ _ri_ + _D_ −1 _i_ =1 _rioi_ + _D_ _i_ =0 _i_ =0 _D_ −1 _i_ =1 _i_ =1 _i_ =1 _i_ =0 Each edge that links a vertex _v_ outside _P_ to a vertex _ui_ in _P_ contributes for _ri_ ≤ _ρ_ ( _v_ ) in the _i_ =1 <sup>_rioi_</sup> <sup>.</sup> <sup>Hence,</sup> _D_ −1 sum <sup>�</sup> <sup>_D_</sup> <sup>−1</sup> _rioi_ ≤ 2 _ρ_ ( _v_ ) + 3 _ρ_ ( _v_ ) ≤ 3 _ρ_ ( _v_ ) _._ _i_ =1 <sup>_rioi_</sup> <sup>.</sup> <sup>Hence,</sup> _D_ −1 _i_ =1 _rioi_ ≤ ∈ _V_ 1 _,_ 3 _ρ_ ( _v_ ) _._ _i_ =1 _v_ ∈ _V_ 1 _,_ 2 2 _ρ_ ( _v_ ) + _v_ ∈ _V_ 3 <sup>_D_</sup> - <sup>∪</sup> <sup>_V_</sup> _v_ ∈ _V_ 3 <sup>_D_</sup> 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> 3 _ρ_ ( _v_ ) ≤ _v_ ∈ _V_ 1 _,_ 2�∪ _V_ 3 _v_ ∈ _V_ 1 _,_ 2∪ _V_ 3 <sup>_D_</sup> _V_ 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> _i_ =1 the vertices on Since 2 <sup>�</sup> <sup>_D_</sup> <sup>−1</sup> _D_ −1 _i_ =0 _i_ =1 <sup>_ri_</sup> <sup>≤</sup> <sup>2</sup> <sup>_r_</sup> <sup>∗(</sup> <sup>_D_</sup> <sup>−</sup> <sup>1),</sup> <sup>we</sup> <sup>get</sup> <sup>the</sup> <sup>following</sup> <sup>valid</sup> <sup>upper</sup> <sup>bound</sup> <sup>on</sup> <sup>the</sup> <sup>total</sup> <sup>weight</sup> <sup>of</sup> the vertices on _P_ : Since 2 <sup>�</sup> <sup>_D_</sup> <sup>−1</sup> _D_ _i_ =0 �∪ _V_ 3 2 _δi_ + _δioi_ + 2 _r_ <sup>∗</sup> ( _D_ - 1) + 3 _ρ_ ( _v_ ) _._ _v_ ∈ _V_ 1 _,_ 2∪ _V_ 3 <sup>_D_</sup> 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> Summing up the bounds for the vertices outside _P_ with those on _P_, we get the following upper bound for the total weight of the vertices in _G_ : ( _n_ - _D_ - 1) _D_ ( _n_ - _D_ ) + _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>+ 2</sup> _δioi_ <sup>_D_</sup> 3 <sup>−1</sup> (2 _D_ - _n_ - 1) − _Dn_ <sup>_D_</sup> 3 _D_ −1 _i_ =0 _δi_ + _D_ _i_ =0 _i_ =0 _i_ =0 (2 _D_ - 4) _ρ_ ( _v_ ) − 2 _r_ <sup>∗</sup> + _D_ min{1 _, ρ_ <sup>∗</sup> } _._ - _V_ 3 <sup>_D_</sup> 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> _v_ ∈ _V_ 1 _,_ 2∪ _V_ 3 <sup>_D_</sup> Let us decompose this bound into two parts _A_ 1 + _A_ 2 with _A_ 1 being equal to the sum of the first terms of the above upper bound, and _A_ 2 being equal to the sum of the last ones: _A_ 1 = ( _n_ - _D_ - 1) _D_ ( _n_ - _D_ ) + _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>+ 2</sup> <sup>_D_</sup> 3 <sup>−1</sup> (2 _D_ - _n_ - 1) − _Dn_ <sup>_D_</sup> 3 _D_ −1 _i_ =0 _δi_ + _D_ _i_ =0 _δioi_ (2 _D_ - 4) _ρ_ ( _v_ ) − 2 _r_ <sup>∗</sup> + _D_ min{1 _, ρ_ <sup>∗</sup> } _._ <sup>1</sup> 8 _A_ 2 = − - _V_ 3 <sup>_D_</sup> _V_ 3 <sup>_D_</sup> <sup>∪</sup> <sup>_V_</sup> 3 <sup>_D_</sup> <sup>−1</sup> _v_ ∈ _V_ 1 _,_ 2∪ _V_ 3 <sup>_D_</sup> - If _r_ <sup>∗</sup> = 0, then _A_ 2 = 0, which implies _A_ 1 + _A_ 2 = _A_ 1. - If _ρ_ <sup>∗</sup> _>_ 0, then _A_ 2 ≤ 4 − 2 _D_ - 2 _r_ <sup>∗</sup> + _D_ = 4 − _D_ - 2 _r_ <sup>∗</sup> _<_ 0, which implies _A_ 1 + _A_ 2 _< A_ 1. - If _r_ <sup>∗</sup> _>_ 0 and _ρ_ <sup>∗</sup> = 0, then _A_ 2 = −2 _r_ <sup>∗</sup> _<_ 0,, which implies _A_ 1 + _A_ 2 _< A_ 1. In summary, the best possible upper bound is _A_ 1 and is attained only if _r_ <sup>∗</sup> = 0, _n_ 0 = 0, _ǫ_ ( _v_ ) = _D_ for all vertices in _V_ 1 _,_ 2, and the vertices outside _P_ are pairwise adjacent. We now have to compare _A_ 1 with _f_ ( _n, D_ ). Let us start with _D_ = 3. In that case, we have _f_ ( _n,_ 3) = 14+( _n_ −4)(3 _n_ −4+max{0 _,_ 7− _n_ }), while _A_ 1 = ( _n_ - 4)3( _n_ - 3) + _n_ <sup>2</sup> 3 <sup>(5 −</sup> <sup>_n_</sup> <sup>) −</sup> <sup>3</sup> <sup>_n_</sup> <sup>3</sup> _i_ =0 <sup>_δioi_</sup> <sup>.</sup> <sup>Hence,</sup> <sup>the</sup> <sup>difference</sup> <sup>is</sup> <sup>:</sup> <sup>2</sup> 3 <sup>(5 −</sup> <sup>_n_</sup> <sup>) −</sup> <sup>3</sup> <sup>_n_</sup> <sup>3</sup> _i_ =0 <sup>_δioi_</sup> <sup>.</sup> <sup>Hence,</sup> <sup>the</sup> <sup>difference</sup> <sup>is</sup> <sup>:</sup> 3 3 <sup>+ 14 + �3</sup> _f_ ( _n,_ 3) − _A_ 1 = ( _n_ - 4)(5 + max{0 _,_ 7 − _n_ }) − _n_ <sup>2</sup> 3 <sup>2</sup> 3 <sup>(5 −</sup> <sup>_n_</sup> <sup>) + 3</sup> <sup>_n_</sup> <sup>3</sup> 3 <sup>−</sup> 3 _i_ =0 _δioi._ _i_ =0 We have 3 _i_ =0 _oi_ ≤ 3( _n_ <sup>2</sup> 3 <sup>+</sup> <sup>_n_</sup> 3 <sup>3) + 2(</sup> <sup>_n_</sup> <sup>−</sup> <sup>4 −</sup> <sup>_n_</sup> <sup>2</sup> 3 <sup>−</sup> <sup>_n_</sup> 3 <sup>3) = 2(</sup> <sup>_n_</sup> <sup>−</sup> <sup>4) +</sup> <sup>_n_</sup> <sup>2</sup> 3 <sup>+</sup> <sup>_n_</sup> 3 <sup>3</sup> <sup>_._</sup> _i_ =0 Since _o_ 0 + _o_ 3 ≤ _n_ - 4 to avoid a path of length 2 joining _u_ 0 to _u_ 3, we have 3 _i_ =0 _δioi_ ≤ 3( _n_ - 4) + 2( _n_ - 4 + _n_ <sup>2</sup> 3 <sup>+</sup> <sup>_n_</sup> 3 <sup>3)</sup> <sup>_._</sup> Hence, _f_ ( _n,_ 3) − _A_ 1 ≥ ( _n_ - 4) max{0 _,_ 7 − _n_ } − _n_ <sup>2</sup> 3 <sup>(7 −</sup> <sup>_n_</sup> <sup>) +</sup> <sup>_n_</sup> <sup>3</sup> 3 <sup>_._</sup> This difference is minimized if and only if _n_ <sup>3</sup> 3 <sup>=</sup> <sup>0,</sup> <sup>while</sup> <sup>_n_</sup> 3 <sup>2</sup> <sup>=</sup> <sup>0</sup> <sup>if</sup> <sup>_n_</sup> <sup>_>_</sup> <sup>7,</sup> <sup>_n_</sup> 3 <sup>2</sup> <sup>=</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>or</sup> <sup>3</sup> <sup>if</sup> _n_ = 7, and _n_ <sup>2</sup> 3 <sup>=</sup> <sup>_n_</sup> <sup>−</sup> <sup>4</sup> <sup>if</sup> <sup>_n <_</sup> <sup>7.</sup> <sup>In</sup> <sup>all</sup> <sup>such</sup> <sup>cases,</sup> <sup>we</sup> <sup>get</sup> <sup>_f_</sup> <sup>(</sup> <sup>_n,_</sup> <sup>3) −</sup> <sup>_A_</sup> <sup>1</sup> <sup>= 0.</sup> This difference is minimized if and only if _n_ <sup>3</sup> 3 <sup>2</sup> 3 <sup>=</sup> <sup>_n_</sup> <sup>−</sup> <sup>4</sup> <sup>if</sup> <sup>_n <_</sup> <sup>7.</sup> <sup>In</sup> <sup>all</sup> <sup>such</sup> <sup>cases,</sup> <sup>we</sup> <sup>get</sup> <sup>_f_</sup> <sup>(</sup> <sup>_n,_</sup> <sup>3) −</sup> <sup>_A_</sup> <sup>1</sup> <sup>= 0.</sup> - If _n_ = 4, there is no vertex outside _P_, and _G_ ≃ E4 _,_ 3 _,_ 0 which is the unique graph in C4 <sup>3.</sup> - If _n_ = 5, _n_ <sup>2</sup> 3 <sup>=</sup> <sup>1,</sup> <sup>which</sup> <sup>means</sup> <sup>that</sup> <sup>the</sup> <sup>unique</sup> <sup>vertex</sup> <sup>outside</sup> <sup>_P_</sup> <sup>is</sup> <sup>adjacent</sup> <sup>to</sup> <sup>3</sup> consecutive vertices on _P_ . Hence, _G_ ≃ E5 _,_ 3 _,_ 1 which is the unique graph in C5 <sup>3.</sup> - If _n_ = 6, _n_ <sup>2</sup> 3 <sup>= 2, which means that both vertices outside</sup> <sup>_P_</sup> <sup>are adjacent to 3 consecutive</sup> vertices on _P_ . If one of them is adjacent to _u_ 0 _, u_ 1 _, u_ 2, while the other is adjacent to _u_ 1 _, u_ 2 _, u_ 3, we have _G_ ≃ _H_ 2. Otherwise, we have _G_ ≃ E6 _,_ 3 _,_ 2. - If _n_ = 7, _n_ <sup>2</sup> 3 <sup>∈{0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_,_</sup> <sup>3}</sup> <sup>and</sup> <sup>_n_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>=</sup> <sup>3 −</sup> <sup>_n_</sup> 3 <sup>2.</sup> <sup>If</sup> <sup>_n_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>_>_</sup> <sup>0</sup> <sup>then</sup> <sup>the</sup> <sup>vertices</sup> <sup>in</sup> <sup>_V_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>are</sup> <sup>all</sup> adjacent to _u_ 0 and _u_ 1 or all to _u_ 2 and _u_ 3, since they are pairwise adjacent, and they all have eccentricity 3. So assume without loss of generality, they are all adjacent to _u_ 0 and _u_ 1. Then the vertices in _V_ 3 <sup>2</sup> <sup>are</sup> <sup>all</sup> <sup>adjacent</sup> <sup>to</sup> <sup>_u_</sup> <sup>0</sup> <sup>_, u_</sup> <sup>1</sup> <sup>_, u_</sup> <sup>2,</sup> <sup>else</sup> <sup>the</sup> <sup>vertices</sup> <sup>in</sup> <sup>_V_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> would have eccentricity 2. But _G_ is then equal to E7 _,_ 3 _,_ 0 _,_ E7 _,_ 3 _,_ 1 or E7 _,_ 3 _,_ 2. If _n_ 1 _,_ 2 = 0, then the three vertices outside _P_ are all adjacent to three consecutive vertices on _P_ . If they are all adjacent to _u_ 0 _, u_ 1 _, u_ 2, or all to _u_ 1 _, u_ 2 _, u_ 3, then _G_ ≃ E7 _,_ 3 _,_ 3, else _G_ ≃ _H_ 3. - If _n >_ 7, all vertices outside _P_ are adjacent to _u_ 0 _, u_ 1, or to _u_ 2 _, u_ 3 (so that they all have eccentricity 3). Hence, _G_ ≃ E _n,_ 3 _,_ 0. Assume now _D_ ≥ 4. We have _f_ ( _n, D_ ) = 2 _D_ −1 _i_ =0 _δi_ + - _n_ - _D_ - 1��2 _D_ - 1 + _D_ ( _n_ - _D_ ) + max{0 _,_ 3 _D_ - _n_ - 3}� 9 and <sup>_D_</sup> 3 <sup>+</sup> _A_ 1 = 2 _D_ −1 _i_ =0 _δi_ + ( _n_ - _D_ - 1) _D_ ( _n_ - _D_ ) + _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>−1</sup> (2 _D_ - _n_ - 1) − _Dn_ <sup>_D_</sup> 3 _D_ _i_ =0 _δioi._ _i_ =0 Hence, the difference is: _f_ ( _n, D_ ) - _A_ 1 = ( _n_ - _D_ - 1)(2 _D_ - 1+max{0 _,_ 3 _D_ - _n_ - 3}) - _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>−</sup> <sup>_D_</sup> 3 <sup>−1</sup> (2 _D_ - _n_ - 1)+ _Dn_ <sup>_D_</sup> 3 _D_ _i_ =0 _δioi._ We have _D_ _i_ =0 _oi_ ≤ 3( _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>) + 2(</sup> <sup>_n_</sup> <sup>−</sup> <sup>_D_</sup> <sup>−</sup> <sup>1 −</sup> <sup>_nD_</sup> 3 <sup>−1</sup> - _n_ <sup>_D_</sup> 3 <sup>_D_</sup> 3 <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> + _n_ <sup>_D_</sup> 3 <sup>_D_</sup> 3 <sup>) = 2(</sup> <sup>_n_</sup> <sup>−</sup> <sup>_D_</sup> <sup>−</sup> <sup>1) +</sup> <sup>_nD_</sup> 3 <sup>−1</sup> + _n_ <sup>_D_</sup> 3 _i_ =0 Let _p_ be the number of vertices linked to both _u_ 1 and _uD_ −1. - If _D_ ≥ 5, then _p_ = 0, else _d_ ( _u_ 0 _, uD_ ) ≤ 4 _< D_ . - If _D_ = 4, then no vertex outside _P_ linked to _u_ 1 and _uD_ −1 can also be linked to _u_ 0 or to _uD_ since _d_ ( _u_ 0 _, uD_ ) would be strictly smaller than 4. Since no vertex outside _P_ can be linked to both _u_ 0 and _uD_ (else _d_ ( _u_ 0 _, uD_ ) _<_ 3) we have _o_ 0 + _oD_ ≤ _n_ - _D_ - 1 − _p_ and _o_ 1 + _oD_ −1 ≤ _n_ - _D_ - 1 + _p_ . Hence, _o_ 2 ≤ _n_ <sup>_D_</sup> 3 <sup>−1</sup> + _n_ <sup>_D_</sup> 3 <sup>.</sup> <sup>So,</sup> <sup>_D_</sup> 3 <sup>.</sup> <sup>So,</sup> <sup>_D_</sup> 3 <sup>−1</sup> + _n_ <sup>_D_</sup> 3 _D_ _i_ =0 = ( _n_ - _D_ - 1)(2 _D_ - 1) + ( _D_ - 2)( _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>−1</sup> + _n_ <sup>_D_</sup> 3 _δioi_ ≤ _D_ ( _n_ - _D_ - 1 − _p_ ) + ( _D_ - 1)( _n_ - _D_ - 1 + _p_ ) + ( _D_ - 2)( _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>)</sup> <sup>_D_</sup> 3 <sup>−1</sup> + _n_ <sup>_D_</sup> 3 <sup>_D_</sup> 3 <sup>) −</sup> <sup>_p._</sup> This value is maximized for _p_ = 0. Hence, in all cases, we have _δioi_ ≤ ( _n_ - _D_ - 1)(2 _D_ - 1) + ( _D_ - 2)( _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>)</sup> <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> + _n_ <sup>_D_</sup> 3 Hence, _D_ _i_ =0 _f_ ( _n, D_ ) − _A_ 1 ≥ ( _n_ - _D_ - 1) max{0 _,_ 3 _D_ - _n_ - 3} − _n_ <sup>_D_</sup> 3 <sup>−1</sup> <sup>_D_</sup> 3 <sup>_._</sup> <sup>_D_</sup> 3 <sup>−1</sup> (3 _D_ - _n_ - 3) + 2 _n_ <sup>_D_</sup> 3 <sup>_D_</sup> 3 <sup>=</sup> <sup>0,</sup> <sup>while</sup> <sup>_nD_</sup> 3 <sup>−1</sup> = 0 if _n_ _>_ 3( _D_ - 1), _n_ <sup>_D_</sup> 3 <sup>−1</sup> This difference is minimized if and only if _n_ <sup>_D_</sup> 3 This difference is minimized if and only if _n_ <sup>_D_</sup> 3 <sup>=</sup> <sup>0,</sup> <sup>while</sup> <sup>_nD_</sup> 3 <sup>−1</sup> = 0 if _n_ _>_ 3( _D_ - 1), _n_ <sup>_D_</sup> 3 <sup>−1</sup> ∈ {0 _, . . ., n_ - _D_ - 1} if _n_ = 3( _D_ - 1), and _n_ <sup>_D_</sup> 3 <sup>−1</sup> = _n_ - _D_ - 1 if _n <_ 3( _D_ - 1). In all such cases, {0 _, . . ., n_ - _D_ - 1} if _n_ = 3( _D_ - 1), and _n_ <sup>_D_</sup> 3 <sup>−1</sup> = _n_ - _D_ - 1 if _n <_ 3( _D_ - 1). In all such cases, we get _f_ ( _n, D_ ) − _A_ 1 = 0. - If _n <_ 3( _D_ - 1), then all vertices outside _P_ are adjacent to 3 consecutive vertices on _P_ . They are all adjacent to _u_ 0 _, u_ 1 _, u_ 2, or all adjacent to _uD_ −2 _, uD_ −1 _, uD_, else _d_ ( _u_ 0 _, uD_ ) ≤ 3 _< D_ . Hence, we have _G_ ≃ E _n,D,n_ - _D_ −1. - If _n_ = 3( _D_ −1), _n_ <sup>_D_</sup> 3 <sup>−1</sup> ∈{0 _, . . ., n_ - _D_ −1} and _n_ 1 _,_ 2 = 2 _D_ −2− _n_ <sup>_D_</sup> 3 <sup>−1</sup> If _n_ = 3( _D_ −1), _n_ <sup>_D_</sup> 3 <sup>−1</sup> ∈{0 _, . . ., n_ - _D_ −1} and _n_ 1 _,_ 2 = 2 _D_ −2− _n_ <sup>_D_</sup> 3 <sup>−1</sup> . If _n_ 1 _,_ 2 _>_ 0 then the vertices in _V_ 1 _,_ 2 are all adjacent to _u_ 0 and _u_ 1 or all to _uD_ −1 and _uD_, since they are pairwise adjacent, and they all have eccentricity _D_ . So assume without loss of generality, they are all adjacent to _u_ 0 and _u_ 1. Then the vertices in _V_ 3 <sup>_D_</sup> <sup>−1</sup> are all adjacent to _u_ 0 _, u_ 1 _, u_ 2, are all adjacent to _u_ 0 and _u_ 1. Then the vertices in _V_ 3 <sup>_D_</sup> <sup>−1</sup> are all adjacent to _u_ 0 _, u_ 1 _, u_ 2, else _d_ ( _u_ 0 _, uD_ ) ≤ 3 _<_ _D_ . But _G_ is then equal to E _n,D,nD_ 3 <sup>.</sup> <sup>If</sup> <sup>_n_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>=</sup> <sup>0,</sup> <sup>then</sup> <sup>all</sup> <sup>vertices</sup> else _d_ ( _u_ 0 _, uD_ ) ≤ 3 _<_ _D_ . But _G_ is then equal to E _n,D,nD_ 3 <sup>.</sup> <sup>If</sup> <sup>_n_</sup> <sup>1</sup> <sup>_,_</sup> <sup>2</sup> <sup>=</sup> <sup>0,</sup> <sup>then</sup> <sup>all</sup> <sup>vertices</sup> outside _P_ are adjacent to _u_ 0 _, u_ 1 _, u_ 2, or all of them are adjacent to _uD_ −2 _, uD_ −1 _, uD_, else _d_ ( _u_ 0 _, uD_ ) ≤ 3 _< D_ . Hence, _G_ ≃ E _n,D,n_ - _D_ −1. 10 - If _n >_ 3( _D_ - 1), all vertices outside _P_ are adjacent to _u_ 0 _, u_ 1, or to _u_ 2 _, u_ 3 (so that they all have eccentricity D). Hence, _G_ ≃ E _n,D,_ 0. ### 3 Results for a fixed order and no fixed diameter We now determine the connected graphs that maximize the eccentric connectivity index when the order _n_ of the graph is given, while there is no fixed diameter. Clearly, K3 and P3 are the only connected graphs of order _n_ = 3 and _ξ_ <sup>_c_</sup> (K3) = _ξ_ <sup>_c_</sup> (P3) = 6. For _n_ _>_ 3, _ξ_ <sup>_c_</sup> (M _n_ ) = 2 _n_ <sup>2</sup> - 4 _n_ - 2( _n_ mod 2) _> n_ <sup>2</sup> - _n_ = _ξ_ <sup>_c_</sup> (K _n_ ), which means that the optimal diameter is not _D_ = 1. - If _n_ = 4, _f_ (4 _,_ 3) = 14 _<_ _ξ_ <sup>_c_</sup> (M4) = 16, which means that M4 has maximum eccentric connectivity among all connected graphs with 4 vertices. - If _n_ = 5, _f_ (5 _,_ 3) = 27, _f_ (5 _,_ 4) = 24 and _ξ_ <sup>_c_</sup> (M5) = 30, which means that M5 and _H_ 1 have maximum eccentric connectivity index among all connected graphs with 5 vertices. - If _n_ = 6, _f_ (6 _,_ 3) = 44, _f_ (6 _,_ 4) = 42, _f_ (6 _,_ 5) = 38 and _ξ_ <sup>_c_</sup> (M6) = 48, which means that M6 has maximum eccentric connectivity index among all connected graphs with 6 vertices. Assume now _n_ ≥ 7. We first show that lollipops are not optimal. Indeed, consider a lollipop E _n,D,_ 0 of order _n_ and diameter _D_ . - If _D_ = _n_ - 1, then _G_ ≃ P _n_ which implies _ξ_ <sup>_c_</sup> (E _n,n_ −1 _,_ 0) = _D_ −1 _i_ =1 2 max{ _i, D_ - _i_ } + 2 _D_ = <sup>3</sup> <sup>_D_</sup> <sup>2 +</sup> <sup>_D_</sup> <sup>mod 2</sup> 2 _i_ =1 ≤ <sup>3</sup> <sup>_D_</sup> <sup>2 + 1</sup> <sup>_n_</sup> <sup>2</sup> - 3 _n_ + 2 _<_ 2 _n_ <sup>2</sup> - 4 _n_ - 2 ≤ _ξ_ <sup>_c_</sup> (M _n_ ) _._ 2 <sup>2 + 1</sup> = <sup>3</sup> <sup>_n_</sup> <sup>2</sup> 2 2 - If _D_ _< n_ −1 then either _n <_ 3( _D_ −1), and we know from Corollary 7 that _ξ_ <sup>_c_</sup> (E _n,D,n_ - _D_ −1) _>_ _ξ_ <sup>_c_</sup> (E _n,D,_ 0), or _n_ ≥ 3( _D_ - 1), in which case we show that _ξ_ <sup>_c_</sup> (E _n,D_ +1 _,n_ - _D_ −2) _> ξ_ <sup>_c_</sup> (E _n,D,_ 0). , we know from Lemma 5 that _i_ =0 <sup>max{</sup> <sup>_i, D_</sup> <sup>−</sup> <sup>_i_</sup> <sup>} =</sup> <sup>3</sup> <sup>_D_</sup> <sup>2+</sup> <sup>_D_</sup> 2 <sup>mod 2</sup> _D_ Since 2 <sup>�</sup> <sup>_D_</sup> <sup>−1</sup> _i_ =0 <sup>max{</sup> <sup>_i, D_</sup> <sup>−</sup> <sup>_i_</sup> <sup>} =</sup> <sup>3</sup> <sup>_D_</sup> <sup>2+</sup> <sup>_D_</sup> 2 <sup>mod 2</sup> , we know from Lemma 5 that <sup>_D_</sup> 2 <sup>mod 2</sup> ��2( _D_ + 1) − 1 + ( _D_ + 1)( _n_ - _D_ - 1)� _ξ_ <sup>_c_</sup> (E _n,D_ +1 _,n_ - _D_ −2) = 2 _D_ _i_ =0 max{ _i, D_ + 1 − _i_ } _i_ =0 + + - _n_ - _D_ - 2 - _n_ - _D_ - 2 ��2( _D_ + 1) − _n_ - 1 + ( _D_ + 1) − 2� = <sup>3(</sup> <sup>_D_</sup> <sup>+ 1)2 + (</sup> <sup>_D_</sup> <sup>+ 1) mod 2</sup> <sup>_D_</sup> <sup>+ 1) mod 2</sup> + 2 - _n_ - _D_ - 2 ��3 _D_ + _D_ ( _n_ - _D_ )� and _ξ_ <sup>_c_</sup> (E _n,D,_ 0) = 2 _D_ −1 _i_ =0 max{ _i, D_ - _i_ } + - _n_ - _D_ - 1��2 _D_ - 1 + _D_ ( _n_ - _D_ )� _i_ =0 = <sup>3</sup> <sup>_D_</sup> <sup>2 +</sup> <sup>_D_</sup> <sup>mod 2</sup> <sup>mod 2</sup> + 2 _n_ - _D_ - 1 2 _D_ - 1 + _D_ ( _n_ - _D_ ) _._ - �� 11 Simple calculations lead to _ξ_ <sup>_c_</sup> (E _n,D_ +1 _,n_ - _D_ −2) − _ξ_ <sup>_c_</sup> (E _n,D,_ 0) = _n_ - 2 _D_ + ( _D_ - 1) mod 2 ≥ _n_ - 2 = <sup>_n_</sup> 3 <sup>+ 1</sup> 3 <sup>−</sup> <sup>2</sup> <sup>_>_</sup> <sup>0</sup> <sup>_._</sup> - _n_ Hence, the remaining candidates to maximize the eccentric connectivity index when _n_ ≥ 7 are M _n_ and E _n,D,n_ - _D_ −1. Let _g_ ( _n_ ) = _n_ max− _D_ −1 _ξ_ <sup>_c_</sup> (E _n,D,n_ - _D_ −1) _._ _D_ =⌈ <sup>_n_</sup> 3 <sup>+2⌉</sup> We can rewrite _ξ_ <sup>_c_</sup> (E _n,D,n_ - _D_ −1) as follows: _ξ_ <sup>_c_</sup> (E _n,D,n_ - _D_ −1) = _D_ <sup>3</sup> - _D_ <sup>2</sup> ( _n_ + <sup>5</sup> 2 <sup>) +</sup> <sup>_D_</sup> <sup>(</sup> <sup>_n_</sup> <sup>2 + 5</sup> <sup>_n_</sup> <sup>−</sup> <sup>1) −</sup> <sup>_n_</sup> <sup>2 −</sup> <sup>3</sup> <sup>_n_</sup> <sup>+ 4 +</sup> <sup>_D_</sup> <sup>mod 2</sup> <sup>_._</sup> It is then not difficult to show that _g_ ( _n_ ) = _ξ_ <sup>_c_</sup> (E _n,D_ <sup>∗</sup> _,n_ - _D_ <sup>∗</sup> −1) with _D_ <sup>∗</sup> = ⌈ <sup>_n_</sup> <sup>+1</sup> 3 <sup>⌉</sup> <sup>+1,</sup> <sup>and</sup> <sup>simple</sup> calculations lead to _g_ ( _n_ ) = 54 <sup>1</sup> <sup>(8</sup> <sup>_n_</sup> <sup>3 + 21</sup> <sup>_n_</sup> <sup>2 −</sup> <sup>36</sup> <sup>_n_</sup> <sup>+</sup>    ) _._ 0 if _n_ mod 6 = 0 6 _n_ + 1 if _n_ mod 6 = 1 32 if _n_ mod 6 = 2 27 if _n_ mod 6 = 3 6 _n_ + 28 if _n_ mod 6 = 4 59 if _n_ mod 6 = 5 We then have _g_ (7) = 66 _<_ 68 = _ξ_ <sup>_c_</sup> (M7), which means that M7 has the largest eccentric connectivity among all graphs with 7 vertices. Also, _g_ (8) = 96 = _ξ_ <sup>_c_</sup> (M8), which means that both E8 _,_ 4 _,_ 3 and M8 have the largest eccentric connectivity index among all graphs with 8 vertices. For graphs of order _n_ ≥ 9, we have <sup>8</sup> <sup>_n_</sup> <sup>3+21</sup> <sup>_n_</sup> <sup>2−36</sup> <sup>_n_</sup> _>_ 2 _n_ <sup>2</sup> - 4 _n_, which means that 54 vertices. For graphs of order _n_ ≥ 9, we have <sup>8</sup> <sup>_n_</sup> <sup>3+21</sup> <sup>_n_</sup> <sup>2−36</sup> <sup>_n_</sup> _>_ 2 _n_ <sup>2</sup> - 4 _n_, which means that 54 E _n,D_ <sup>∗</sup> _,n_ - _D_ <sup>∗</sup> −1 is the unique graph with largest eccentric connectivity index among all graphs with _n_ vertices. These results are summarized in Table 1, where _ξn_ <sup>_c_</sup> ∗ stands for the largest with _n_ vertices. These results are summarized in Table 1, where _ξn_ <sup>_c_</sup> ∗ stands for the largest eccentric connectivity index among all graphs with _n_ vertices. _n_ Table 1: Largest eccentric connectivity index for a fixed order _n_ _n_ _ξn_ <sup>_c_</sup> ∗ optimal graphs 3 6 K3 and P3 4 16 M4 5 30 M5 and _H_ 1 6 48 M6 7 68 M7 8 96 M8 and E8 _,_ 4 _,_ 3 ≥ 9 _g_ ( _n_ ) E _n,_ ⌈ _n_ +13 <sup>⌉+1</sup> <sup>_,n_</sup> <sup>−⌈</sup> <sup>_n_</sup> <sup>+1</sup> 3 _n_ _ξn_ <sup>_c_</sup> _n_ +13 <sup>⌉+1</sup> <sup>_,n_</sup> <sup>−⌈</sup> <sup>_n_</sup> <sup>+1</sup> 3 <sup>⌉−2</sup> Note finally that Tavakoli _et_ _al._ [4] state that _g_ ( _n_ ) = _ξ_ <sup>_c_</sup> (E _n,D,n_ - _D_ −1) with _D_ = ⌈ <sup>_n_</sup> 3 <sup>⌉</sup> <sup>+ 1</sup> while we have shown that the best diameter for a given _n_ is _D_ = ⌈ <sup>_n_</sup> <sup>+1</sup> 3 <sup>⌉</sup> <sup>+ 1.</sup> <sup>Hence</sup> <sup>for</sup> <sup>all</sup> Note finally that Tavakoli _et_ _al._ [4] state that _g_ ( _n_ ) = _ξ_ <sup>_c_</sup> (E _n,D,n_ - _D_ −1) with _D_ = ⌈ <sup>_n_</sup> 3 while we have shown that the best diameter for a given _n_ is _D_ = ⌈ <sup>_n_</sup> <sup>+1</sup> 3 <sup>⌉</sup> <sup>+ 1.</sup> <sup>Hence</sup> <sup>for</sup> <sup>all</sup> _n_ ≥ 9 with _n_ mod 3 = 0, we get a better result. For example, for _n_ = 9, they consider E9 _,_ 4 _,_ 4 which has an eccentric connectivity index equal to 132 while _g_ (9)=134. 12 ### 4 Conclusion We have characterized the graphs with largest eccentric connectivity index among those of fixed order _n_ and fixed or non-fixed diameter _D_ . It would also be interesting to get such a characterization for graphs with a given order _n_ and a given size _m_ . We propose the following conjecture which is more precise than the one proposed in [5] Conjecture. Let _n_ and _m_ be two integers such that _n_ ≥ 4 and _m_ ≤ 2 - _n_ −1� _._ Also, let _D_ = 2 _n_ + 1 − 17 + 8( _m_ - _n_ ) - - 2 and _k_ = _m_ _n_ - _D_ + 1 - 2 2 - _D_ + 1 Then, the largest eccentric connectivity index among all graphs of order _n_ and size _m_ is attained with E _n,D,k_ . Moreover, - if _D_ _>_ 3 then _ξ_ <sup>_c_</sup> ( _G_ ) _< ξ_ <sup>_c_</sup> (E _n,D,k_ ) for all other graphs _G_ of order _n_ and size _m_ . - if _D_ = 3 and _k_ = _n_ - 4, then the only other graphs _G_ with _ξ_ <sup>_c_</sup> ( _G_ ) = _ξ_ <sup>_c_</sup> (E _n,D,k_ ) are those obtained by considering a path _u_ 0 − _u_ 1 − _u_ 2 − _u_ 3, and by joining 1 ≤ _i_ ≤ _n_ - 3 vertices of a clique K _n_ −4 to _u_ 0 _, u_ 1 _, u_ 2 and the _n_ - 4 − _i_ other vertices of K _n_ −4 to _u_ 1 _, u_ 2 _, u_ 3. ### References [1] Diestel, R. _Graph_ _Theory_, second edition ed. Springer-Verlag, 2000. [2] Morgan, M.J., Mukwembi, S., and Swart, H.C. On the eccentric connectivity index of a graph. _Discrete_ _Mathematics_ _311_ (2011), 1229 - 1234. [3] Sharma, V., Goswani, R., and Madan, A.K. Eccentric Connectivity Index: A Novel Highly Discriminating Topological Descriptor for Structure Property and Structure Activity Studies. _J._ _Chem._ _Inf._ _Comput._ _Sci._ _37_ (1997), 273 - 282. [4] Tavakoli, M., Rahbarnia, F., Mirzavaziri, M., and Ashrafi, R. Complete solution to a conjecture of Zhang-Liu-Zhou. _Transactions_ _on_ _Combinatorics_ _3_ (2014), 55 - 58. [5] Zhang, J., Liu, Z., and Zhou, B. On the maximal eccentric connectivity indices of graphs. _Appl._ _Math._ _J._ _Chinese_ _Univ._ _29_ (2014), 374 - 378. 13

섹션 본문 104문단 · 18,583자

(제목 없음)

1The eccentricity of a vertex v in a graph G is the maximum distance between v and any other vertex of G.The diameter of a graph G is the maximum eccentricity of a vertex in G.The eccentric connectivity index of a connected graph is the sum over all vertices of the product between eccentricity and degree.Given two integers n and D with D ≤ n − 1, we characterize those graphs which have the largest eccentric connectivity index among all connected graphs of order n and diameter D. As a corollary, we also characterize those graphs which have the largest eccentric connectivity index among all connected graphs of a given order n.

Introduction

2Let G = (V, E) be a simple connected undirected graph.The distance d (u, v) between two vertices u and v in G is the number of edges of a shortest path in G connecting u and v.The eccentricity ǫ(v) of a vertex v is the maximum distance between v and any other vertex, that is max{d(v, w) | w ∈ V }.The diameter of G is the maximum eccentricity among all vertices of G.The eccentric connectivity index ξ c (G) of G is defined by

3This index was introduced by Sharma et al. in [3].Alternatively, ξ c can be computed by summing the eccentricities of the extremities of each edge:

4We define the weight of a vertex by W (v) = deg(v)ǫ(v), and we thus have ξ c (G) = v∈V W (v). Morgan et al. [2] give the following asymptotic upper bound on ξ c (G) for a graph G of order n and with a given diameter D.

5Theorem 1 (Morgan, Mukwembi and Swart, 2011 [2]).Let G be a connected graph of order n and diameter D.Then,

6In what follows, we write G ≃ H if G and H are two isomorphic graphs, and we let K n and P n be the complete graph and the path of order n, respectively.We refer to Diestel [1] for basic notions of graph theory that are not defined here.A lollipop L n,D is a graph obtained from a path P D by joining an end vertex of this path to K n−D .Morgan et al. [2] state that the above asymptotic bound is best possible by showing that ξ c (L n,D ) = D(n − D) 2 + O(n 2 ).The aim of this paper is to give a precise upper bound on ξ c (G) in terms of n and D, and to completely characterize those graphs that attain the bound.As a result, we will observe that there are graphs G of order n and diameter D such that ξ c (G) is strictly larger than ξ c (L n,D ).

7Morgan et al. [2] also give an asymptotic upper bound on ξ c (G) for graphs G of order n (but without a fixed diameter), and show that this bound is sharp by observing that it is attained by L n, n 3 .Theorem 2 (Morgan, Mukwembi and Swart, 2011 [2]).Let G be a connected graph of order n.Then,

8We give a precise upper bound on ξ c (G) for graphs G of order n, and characterize those graphs that reach the bound.As a corollary, we show that for every lollipop, there is another graph G of same order, but with a strictly larger eccentric connectivity index.

Results for a fixed order and a fixed diameter

9The only graph with diameter 1 is the clique, and clearly, ξ c (K n ) = n(n−1).Also, the only connected graph with 3 vertices and diameter 2 is P 3 , and ξ c (P 3 ) = ξ c (K 3 ) = 6.The next theorem characterizes the graphs with maximum eccentric connectivity index among those with n ≥ 4 vertices and diameter 2. Let M n be the graph obtained from K n by removing a maximum matching (i.e., ⌊ n 2 ⌋ disjoint edges) and, if n is odd, an additional edge adjacent to the unique vertex that still has degree n − 1.In other words, all vertices in M n have degree n − 2, except possibly one that has degree n − 3.For illustration, M 6 and M 7 are drawn in Figure 1.

Theorem 3.

10Let G be a connected graph of order n ≥ 4 and diameter 2.Then,

11with equality if and only if G ≃ M n or n = 5 and G ≃ H 1 (see Figure 1).

12Proof.Let G be a graph of order n and diameter 2, and let x be the number of vertices of degree n−1 in G. Clearly,

13For n = 4 or n ≥ 6, this value is maximized with x = 0.For n = 5, both x = 1 (i.e., G ≃ H 1 ) and x = 0 (i.e., G ≃ M 5 ) give the maximum value 28 = 2n

14Before giving a similar result for graphs with diameter D ≥ 3, we prove the following useful property.

Lemma 4.

15Let G be a connected graph of order n ≥ 4 and diameter D ≥ 3. Let P be a shortest path in G between two vertices at distance D, and assume there is a vertex u on P such that ǫ(u) is strictly larger than the longest distance L from u to an extremity of P .Finally, let v be a vertex in

16• vertices w 1 , . . ., w ǫ(u)−L do not belong to P ;

17• vertex w ǫ(u)−L has either no neighbor on P , or its unique neighbor on P is an extremity at distance L from u;

18If vertex w ǫ(u)−L has at least one neighbor on P , then this neighbor is necessarily an extremity of P at distance L from u, else we would have d(u, w ǫ(u)−L ) ≤ L, which would imply d(u, v) = d(u, w 1 ) ≤ L + (ǫ(u) − L − 1) = ǫ(u) − 1.We conclude the proof by observing that if both extremities of P are at distance L from u, then w ǫ(u)−L is adjacent to at most one of them since D ≥ 3.

19Let n, D and k be integers such that n ≥ 4, 3 ≤ D ≤ n − 1 and 0 ≤ k ≤ n − D − 1, and let E n,D,k be the graph (of order n and diameter D) constructed from a path u 0 − u 1 − . . .− u D by joining each vertex of a clique K n−D−1 to u 0 and u 1 , and k vertices of the clique to u 2 (see Figure 1).Observe that E n,D,0 is the lollipop L n,D and that E n,D,n−D−1 can be viewed as a lollipop with a missing edge between u 0 and u 2 .Also, if D = n − 1, then k = 0 and

20Proof.The sum of the weights of the vertices outside P is v∈V \V (P )

21We now consider the weights of the vertices in P .The weight of u 0 is D(n − D), the weight of u 1 is (D − 1)(n − D + 1), and the weight of u 2 is (k + 2) max{2, D − 2}.The weight of u i for i = 3, . . ., D − 1 is 2 max{i, D − i}, and the weight of u D is D. Hence, the total weight of the vertices on P is

22By summing up all weight in G, we obtain the desired result.

23In what follows, we denote f (n, D)

24Lemma 5 allows to know for which values of k we have

25Corollary 6.Let n and k be integers such that n ≥ 4, and 0

26Corollary 7. Let n, D and k be integers such that n ≥ 5, 4

27The graph H 2 of Figure 1 has 6 vertices, diameter 3, and is not isomorphic to E 6,3,k , while

28Similarly, the graph H 3 of Figure 1 has 7 vertices, diameter 3, and is not isomorphic to

29In what follows, we prove that all graphs G of order n and diameter

30Note that while Morgan et al. [2] state that the lollipops reach the asymptotic upper bound of the eccentric connectivity index, we will prove that they reach the more precise upper bound only if D = n − 1, D = 3 and n ≥ 7, or D ≥ 4 and n ≥ 3(D − 1).

31Theorem 8. Let G be a connected graph of order n ≥ 4 and diameter 3

32Proof.We have already observed that all graphs

33In what follows, we use the following notations for all i = 0, . . ., D:

34• o i is the number of vertices outside P and adjacent to u i ;

35Since P is a shortest path linking u 0 to u D , no vertex outside P can have more than three neighbors in P .We consider the following partition of the vertices outside • V 0 is the set of vertices outside P with no neighbor on P ;

36is the set of vertices outside P with one or two neighbors in P ;

37is the set of vertices v outside P with three neighbors in P and ǫ(v) ≤ D − 1;

38• V D 3 is the set of vertices v outside P with three neighbors in P and ǫ(v) = D. Clearly, all vertices v outside P can have

39Hence, r * ≥ ρ * .We first show that the total weight of the vertices in

40• If r * = 0, then the largest possible weight of the vertices in V 0 ∪ V 1,2 occurs when all of them have two neighbors in P (i.e., n 0 = 0 and no vertex in V 1,2 has one neighbor on P ).In such a case,

41, and all these vertices have degree n − D. Hence, their total weight is at most

42• If r * > 0 and ρ * > 0, then let i be such that r i = r * .It follows from Lemma 4 that there is a path w 1 − . . .− w ǫ(u i )+1 such that w 1 , . . ., w r * −1 have no neighbor on P and w r * has at most one neighbor on P .Hence, the largest possible weight of the vertices in

43• If r * > 0 and ρ * = 0, then consider the same path w 1 − . . .− w ǫ(u i )+1 as in the above case.If w r * has no neighbor on P , then there are at least r * vertices with no neighbor on P and the largest possible weight for the vertices in

44Also, if there are at least two vertices in V 1,2 with only one neighbor on P , then the largest possible weight for the vertices in

45So assume w r * is the only vertex in V 1,2 with only one neighbor on P .We thus have d(u i , w r * ) = δ i + 1.We now show that this case is impossible.We know from Lemma 4 that w r * is adjacent to u 0 or (exclusive) to u D .Since ρ(v) = 0 for all vertices v outside P , we know that u i has no neighbor outside P .Hence, w ǫ(u i ) is u i−1 or u i+1 , say u i+1 (the other case is similar).Then w r * is not adjacent to u 0 else there is j with r * + 1 ≤ j ≤ ǫ(u i ) − 1 such that w j is outside P and has w j+1 as neighbor on P , and since w j must have a second neighbor u ℓ on P with ℓ ≥ i + 2, we would have

46Hence, w r * is adjacent to u D .Then there is also a path linking u i to w 1 going through

47be the subpath of Q of length ǫ(u i ) and having u i as extremity (i.e., w ′ ǫ(u i ) = u i−1 and w ′ ǫ(u i )+1 = u i ).Applying the same argument to w ′ r * as was done for w r * , we conclude that w ′ r * has u 0 as unique neighbor on P .We thus have two vertices in V 1,2 with a unique neighbor on P , a contradiction.

48The total weight of the vertices in

49, which gives the following upper bound B on the total weight of the vertices outside P :

50This bound can only be reached if all vertices outside P are pairwise adjacent.But Lemma 4 shows that this cannot happen if

51We know from Lemma 4 that there is a shortest path w 1 − w 2 − . . .− w ǫ(u i )+1 = u i linking u i to a vertex w 1 with d(u i , w 1 ) = ǫ(u i ) and such that w 1 , . . ., w ρ(v) do not belong to P .In what follows, we denote Q v such a path.If v is adjacent to a w j with 1 ≤ j ≤ ρ(v), then the path u i − v − w j − . . .− w 1 links u i to w 1 and has length at most ρ(v) + 1 < r i + δ i = ǫ(u i ), a contradiction.Hence v has at least ρ(v) non-neighbors outside P .Also, as shown in Lemma 4, w 1 , . . ., w ρ(v)−1 belong to V 0 , while w ρ(v) belongs to V 0 ∪ V 1,2 .In the upper bound B, we have assumed that ǫ(w 1 ) = . . .

52we can gain 2D units on B for every w j , j = 1, . . ., ρ(v) (D for v and D for w j ), while the gain is 2D − 1 (D − 1 for

53We can gain an additional 2D for every v ∈ V D 3 .Indeed, consider such a vertex v and let w * be a vertex at distance D from v. Note that w * is not on P and has at most one neighbor on P else d(v, w * ) ≤ D − 1.Hence, if ρ(v) = 0, we can gain 2D (one D for v and one D for w) in the above upper bound.So assume ρ(v) > 0, and consider again the shortest path

54To gain an additional 2D, it is sufficient to determine a vertex in (V 0 ∪ V 1,2 ) \ W which is not adjacent to v.So assume no such vertex exists, and let us prove that such a situation cannot occur.

Note that w

55(since it has at most one neighbor on P ), which implies w * ∈ W .

56Since G is connected and w 1 , . . ., w ρ(v)−1 have no neighbors outside Q v , we know that w ρ(v) is adjacent to the extremity of P at distance δ i from u i (and to no other vertex on P ).Hence, the vertices on P and those in W induce a path of length D + ρ(v) > D in G, a contradiction.In summary, the following value is a more precise upper bound on the total weight of the vertices outside P :

57Let us now consider the vertices on P .We have

58Each edge that links a vertex v outside P to a vertex u i in P contributes for

59Since 2 D−1 i=1 r i ≤ 2r * (D − 1), we get the following valid upper bound on the total weight of the vertices on P :

60Summing up the bounds for the vertices outside P with those on P , we get the following upper bound for the total weight of the vertices in G:

61Let us decompose this bound into two parts A 1 + A 2 with A 1 being equal to the sum of the first terms of the above upper bound, and A 2 being equal to the sum of the last ones:

62In summary, the best possible upper bound is A 1 and is attained only if r * = 0, n 0 = 0,

63, and the vertices outside P are pairwise adjacent.We now have to compare A 1 with f (n, D).

64Let us start with D = 3.In that case, we have f (n, 3) = 14+(n−4)(3n−4+max{0, 7−n}), while

65Hence, the difference is :

66We have

67Since o 0 + o 3 ≤ n − 4 to avoid a path of length 2 joining u 0 to u 3 , we have

68Hence,

69In all such cases, we get f (n, 3) − A 1 = 0.

70• If n = 4, there is no vertex outside P , and G ≃ E 4,3,0 which is the unique graph in C 3 4 .

71• If n = 5, n 2 3 = 1, which means that the unique vertex outside P is adjacent to 3 consecutive vertices on P .Hence, G ≃ E 5,3,1 which is the unique graph in C 3 5 .

72• If n = 6, n 2 3 = 2, which means that both vertices outside P are adjacent to 3 consecutive vertices on P .If one of them is adjacent to u 0 , u 1 , u 2 , while the other is adjacent to

73are all adjacent to u 0 and u 1 or all to u 2 and u 3 , since they are pairwise adjacent, and they all have eccentricity 3.So assume without loss of generality, they are all adjacent to u 0 and u 1 .Then the vertices in V 2 3 are all adjacent to u 0 , u 1 , u 2 , else the vertices in V 1,2 would have eccentricity 2. But G is then equal to E 7,3,0 , E 7,3,1 or E 7,3,2 .If n 1,2 = 0, then the three vertices outside P are all adjacent to three consecutive vertices on P .If they are all adjacent to u 0 , u 1 , u 2 , or all to u 1 , u 2 , u 3 , then G ≃ E 7,3,3 , else G ≃ H 3 .

74• If n > 7, all vertices outside P are adjacent to u 0 , u 1 , or to u 2 , u 3 (so that they all have eccentricity 3).Hence, G ≃ E n,3,0 .

75Assume now D ≥ 4. We have

76Hence, the difference is:

77We have

78Let p be the number of vertices linked to both u 1 and u D−1 .

79• If D ≥ 5, then p = 0, else d(u 0 , u D ) ≤ 4 < D.

80• If D = 4, then no vertex outside P linked to u 1 and u D−1 can also be linked to u 0 or to u D since d(u 0 , u D ) would be strictly smaller than 4. Since no vertex outside P can be linked to both u 0 and u D (else

81This value is maximized for p = 0.

82Hence, in all cases, we have

83Hence,

84This difference is minimized if and only if n D 3 = 0, while n D−1 • If n > 3(D − 1), all vertices outside P are adjacent to u 0 , u 1 , or to u 2 , u 3 (so that they all have eccentricity D).Hence, G ≃ E n,D,0 .

853 Results for a fixed order and no fixed diameter

86We now determine the connected graphs that maximize the eccentric connectivity index when the order n of the graph is given, while there is no fixed diameter.Clearly, K 3 and P 3 are the only connected graphs of order n = 3 and ξ

87which means that the optimal diameter is not D = 1.

88• If n = 4, f (4, 3) = 14 < ξ c (M 4 ) = 16, which means that M 4 has maximum eccentric connectivity among all connected graphs with 4 vertices.

89• If n = 5, f (5, 3) = 27, f (5, 4) = 24 and ξ c (M 5 ) = 30, which means that M 5 and H 1 have maximum eccentric connectivity index among all connected graphs with 5 vertices.

90• If n = 6, f (6, 3) = 44, f (6, 4) = 42, f (6, 5) = 38 and ξ c (M 6 ) = 48, which means that M 6 has maximum eccentric connectivity index among all connected graphs with 6 vertices.

91Assume now n ≥ 7. We first show that lollipops are not optimal.Indeed, consider a lollipop E n,D,0 of order n and diameter D.

92• If D < n−1 then either n < 3(D−1), and we know from Corollary 7 that ξ

93, we know from Lemma 5 that

94Simple calculations lead to

95Hence, the remaining candidates to maximize the eccentric connectivity index when n ≥ 7 are M n and E n,D,n−D−1 .Let

96We can rewrite ξ c (E n,D,n−D−1 ) as follows: ).

97We then have g(7) = 66 < 68 = ξ c (M 7 ), which means that M 7 has the largest eccentric connectivity among all graphs with 7 vertices.Also, g(8) = 96 = ξ c (M 8 ), which means that both E 8,4,3 and M 8 have the largest eccentric connectivity index among all graphs with 8 vertices.For graphs of order n ≥ 9, we have 8n 3 +21n 2 −36n 54 > 2n 2 − 4n, which means that E n,D * ,n−D * −1 is the unique graph with largest eccentric connectivity index among all graphs with n vertices.These results are summarized in Table 1, where ξ c n * stands for the largest eccentric connectivity index among all graphs with n vertices.Note finally that Tavakoli et al. [4] state that g(n) = ξ c (E n,D,n−D−1 ) with D = ⌈ n 3 ⌉ + 1 while we have shown that the best diameter for a given n is D = ⌈ n+1 3 ⌉ + 1. Hence for all n ≥ 9 with n mod 3 = 0, we get a better result.For example, for n = 9, they consider E 9,4,4 which has an eccentric connectivity index equal to 132 while g(9)=134.

Conclusion

98We have characterized the graphs with largest eccentric connectivity index among those of fixed order n and fixed or non-fixed diameter D. It would also be interesting to get such a characterization for graphs with a given order n and a given size m.We propose the following conjecture which is more precise than the one proposed in [5] Conjecture.Let n and m be two integers such that n ≥ 4 and m ≤ n−1 2 .Also, let

99for every n ≥ 4 and 3 ≤ D ≤ n − 1, let us consider the following graph class C D n :

1003 , and denote by n 0 , n 1,2 , n D−1 3 , n D 3 their respective size:

1012 occurs when r * − 1 vertices have 0 neighbor on P , one vertex has one neighbor on P , and n − D − 1 − n D−1 3 − n D 3 − r * vertices have 2 neighbors in P .Hence, the largest possible weight for the vertices in

3 =• 3 ∈ 3 . 3 .

1021), and n D−1 n − D − 1 if n < 3(D − 1).In all such cases, we get f (n, D) − A 1 = 0. • If n < 3(D − 1), then all vertices outside P are adjacent to 3 consecutive vertices on P .They are all adjacent to u 0 , u 1 , u 2 , or all adjacent tou D−2 , u D−1 , u D , else d(u 0 , u D ) ≤ 3 < D. Hence, we have G ≃ E n,D,n−D−1 .If n = 3(D−1), n D−1 {0, . . ., n−D−1} and n 1,2 = 2D−2−n D−1 If n 1,2 > 0 then the vertices in V 1,2 are all adjacent to u 0 and u 1 or all to u D−1 and u D , since they are pairwise adjacent, and they all have eccentricity D. So assume without loss of generality, they are all adjacent to u 0 and u 1 .Then the vertices in V D−1 3 are all adjacent to u 0 , u 1 , u 2 , else d(u 0 , u D ) ≤ 3 < D. But G is then equal to E n,D,n D If n 1,2 = 0, then all vertices outside P are adjacent to u 0 , u 1 , u 2 , or all of them are adjacent to u D−2 , u D−1 , u D , else d(u 0 , u D ) ≤ 3 < D. Hence, G ≃ E n,D,n−D−1 .

D = 2n + 1 − 2 − D + 1 Then

10317 + 8(m − n) 2 and k = m − n − D + 1 , the largest eccentric connectivity index among all graphs of order n and size m is attained with E n,D,k .Moreover, • if D > 3 then ξ c (G) < ξ c (E n,D,k ) for all other graphs G of order n and size m.• if D = 3 and k = n − 4, then the only other graphs G with ξ c (G) = ξ c (E n,D,k ) are those obtained by considering a path u 0 − u 1 − u 2 − u 3 , and by joining 1 ≤ i ≤ n − 3 vertices of a clique K n−4 to u 0 , u 1 , u 2 and the n − 4 − i other vertices of K n−4 to u 1 , u 2 , u 3 .

Table 1 :

104Largest eccentric connectivity index for a fixed order n

참고문헌 5건

  1. Complete solution to a conjecture of Zhang-Liu-Zhou Transactions on combinatorics · University of Isfahan · 2014 10.22108/toc.2014.5986
  2. On the eccentric connectivity index of a graph Discrete Mathematics · Elsevier BV · 2010 10.1016/j.disc.2009.12.013
  3. Eccentric Connectivity Index: A Novel Highly Discriminating Topological Descriptor for Structure−Property and Structure−Activity Studies Journal of Chemical Information and Computer Sciences · American Chemical Society · 1997 10.1021/ci960049h
  4. On the maximal eccentric connectivity indices of graphs Applied mathematics/Applied Mathematics. A Journal of Chinese Universities/Gao-xiao yingyong shuxue xuebao · Springer Nature · 2014 10.1007/s11766-014-3023-7
  5. Graph Theory 1997