Next Article in Journal
Synthesis and Critical View on the Structure-Activity Relationships of N-(Substituted phenyl)-/N-Diphenylmethyl-piperazine-Based Conjugates as Antimycobacterial Agents
Previous Article in Journal
Mechanical Properties and Structural Optimization of Continuous Welded Rail on Super-Long-Span Suspension Bridges for High-Speed Railway
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Note on “Wiener Index of a Fuzzy Graph and Application to Illegal Immigration Networks”

1
Information and Communications Engineering, Changwon National University, Changwon 51140, Korea
2
Mathematics, North China Electric Power University, Beijing 102206, China
3
Mathematics, Changwon National University, Changwon 51140, Korea
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(1), 304; https://doi.org/10.3390/app12010304
Submission received: 19 November 2021 / Revised: 15 December 2021 / Accepted: 22 December 2021 / Published: 29 December 2021
(This article belongs to the Topic Soft Computing)

Abstract

:
Connectivity parameters have an important role in the study of communication networks. Wiener index is such a parameter with several applications in networking, facility location, cryptology, chemistry, and molecular biology, etc. In this paper, we show two notes related to the Wiener index of a fuzzy graph. First, we argue that Theorem 3.10 in the paper “Wiener index of a fuzzy graph and application to illegal immigration networks, Fuzzy Sets and Syst. 384 (2020) 132–147” is not correct. We give a correct statement of Theorem 3.10. Second, by using a new operator on matrix, we propose a simple and polynomial-time algorithm to compute the Wiener index of a fuzzy graph.

1. Introduction

In many real world problems we get only partial information about the problem, and the vagueness in the description and uncertainty has led to the growth of fuzzy graph theory. A mathematical framework to describe uncertainty in real life situation was first suggested by A.L. Zadeh [1]. Rosenfeld [2] introduced the notion of fuzzy graph and several fuzzy analogs of graph theoretic concepts such as paths, cycles and connectedness. Wiener index of graphs has been studied in the field of mathematics, chemistry, and molecular biology [3,4,5].
There are many situations which are modeled by a connected fuzzy graph. Wiener index is such an accepted index used in various fields like communication networks, facility location, crytopology, medicine, etcs. Let us start with a basic definition and concepts of fuzzy graphs; most of them can be found in [6].
Let S be a set. A fuzzy graph G = ( σ , μ ) is a pair of membership functions on fuzzy sets σ : S [ 0 , 1 ] and μ : S × S [ 0 , 1 ] such that μ ( u , v ) σ ( u ) σ ( v ) . Here ∧ represents the minimum. Throughout the paper, we assume that S is finite and nonempty, μ is reflexive and symmetric. We denote the underlying crisp graph by G * = ( σ * , μ * ) where σ * = { u V : σ ( u ) > 0 } and μ * = { ( u , v ) V × V : μ ( u , v ) > 0 } . We denote an element ( x , y ) of μ * by x y and call it an edge of G. Elements of σ * are called vertices of the fuzzy graph G. A fuzzy graph H = ( τ , ν ) is called a partial fuzzy subgraph of G = ( σ , μ ) if τ ( v ) = σ ( v ) for all v s . τ * and ν ( u v ) = μ ( u v ) for all u v ν * . Note that G u v denotes the fuzzy subgraph of G in which μ ( u v ) = 0 and G u is used for the fuzzy subgraph of G in which σ ( u ) = 0 .
In a fuzzy graph G = ( σ , μ ) , a path P of length n is a sequence of distinct vertices u 0 , u 1 , , u n such that μ ( u i 1 , u i ) > 0 , i = 1 , 2 , , n and the degree of membership of a weakest edge is defined to be the strength of the path P. A path P is called a cycle if u 0 = u n .
For any two vertices x and y, let d ( x , y ) denotes the length of the shortest path between x and y. The diameter of G, denoted by d i a m ( G ) , is the maximum distance d ( x , y ) for any two vertices x, y in G. The strength of connectedness between two vertices x and y is defined as the maximum of the strengths of all paths between x and y and is denoted by C o n n G ( x , y ) . If the strength of a path P is equal to C o n n G ( x , y ) , then a path P is called a strongest x y path. A fuzzy graph G = ( σ , μ ) is connected if for every u , v σ * , C o n n G ( u , v ) > 0 . An edge x y of a fuzzy graph G = ( σ , μ ) is called α -strong if μ ( x y ) > C o n n G x y ( x , y ) . An edge x y of a fuzzy graph G = ( σ , μ ) is called β -strong if μ ( x y ) = C o n n G x y ( x , y ) . An edge x y of a fuzzy graph G = ( σ , μ ) is called δ -strong if μ ( x y ) < C o n n G x y ( x , y ) . An edge is called strong if it is either α -strong or β -strong. A path P is called a strong path if all of its edges are strong. Let G = ( σ , μ ) be a fuzzy graph and x , y σ * . A strong path P from x to y is called geodesic if there is no shorter strong path from x to y. The weight of a geodesic is the sum of membership values of all edges in the geodesic. Let G = ( σ , μ ) be a fuzzy graph. The Wiener index (WI) of G is defined by W I ( G ) = u , v σ * σ ( u ) σ ( v ) d S ( u , v ) , where d S ( u , v ) is the minimum sum of weights of geodesic from u to v. In this paper, it is assumed that σ ( u ) = 1 for u σ * in all examples of fuzzy graphs G = ( σ , μ ) , for convenience. The outline of this paper is organized as follows. In Section 2, it is shown that Theorem 3.10 in the paper “Wiener index of a fuzzy graph and application to illegal immigration networks, Fuzzy Sets and Syst. 384 (2020) 132–147” is not correct. A corrected statement of Theorem 3.10 is given. In Section 3, we present a simple algorithm to compute the wiener index of a fuzzy graph by using a new operator on matrix.

2. Counterexamples and Revision

At first, we recall the Theorem 3.10 of [7] and give two counterexamples to it.
Theorem 1
(Theorem 3.10 of [7]). Let G = ( σ , μ ) be a fuzzy graph. For s , t σ * , let P s , t denote the path which has the minimum sum of membership values among all shortest strong paths between s and t. Let u v μ * . If u v is an α or β-strong edge and u v is not a part of any P s , t for s , t σ * with { s , t } { u , v } , then W I ( G u v ) W I ( G ) .
Theorem 3.10 of [7] is not correct as shown in the following two counterexamples. In the following two graphs, u v is an α -strong edge and β -strong edge, respectively.
Example 1.
Let G = ( σ , μ ) be the fuzzy graph shown in Figure 1 with vertex set { a , b , u , v } and σ ( x ) = 1 for any x σ * , μ ( u a ) = 0.1 , μ ( a b ) = 0.4 , μ ( b v ) = 0.1 , μ ( u v ) = 0.6 . Then each edge of the graph G is strong. So d S ( u , a ) = 0.1 , d S ( a , b ) = 0.4 , d S ( b , v ) = 0.1 , d S ( u , v ) = 0.6 , d S ( u , b ) = 0.5 and d S ( a , v ) = 0.5 . Therefore, W I ( G ) = x , y σ * σ ( x ) σ ( y ) d S ( x , y ) = 2.2 . It is obvious that u v is an α-strong edge and u v is not a part of any P s , t for s , t σ * with { s , t } { u , v } . For any two vertices x , y σ * , the number d S G u v ( x , y ) in G u v is equal to the number d S ( x , y ) in G. Then W I ( G u v ) = x , y σ * σ ( x ) σ ( y ) d S G u v ( x , y ) = 2.2 and W I ( G u v ) = W I ( G ) .
Example 2.
Let G = ( σ , μ ) be the fuzzy graph shown in Figure 2 with vertex set { a , b , c , u , v } and σ ( x ) = 1 for any x σ * , μ ( a u ) = μ ( a v ) = 0.2 , μ ( u v ) = μ ( u c ) = μ ( b v ) = μ ( b c ) = 0.4 , μ ( u b ) = 0.5 , μ ( c v ) = 0.6 . Then each edge of the graph G is strong. So d S ( a , u ) = d S ( a , v ) = 0.2 , d S ( u , v ) = d S ( u , c ) = d S ( b , v ) = d S ( b , c ) = 0.4 , d S ( u , b ) = 0.5 , d S ( c , v ) = 0.6 , d S ( a , b ) = 0.6 and d S ( a , c ) = 0.6 . Therefore, W I ( G ) = x , y σ * σ ( x ) σ ( y ) d S ( x , y ) = 4.3 . It is obvious that u v is an β-strong edge and u v is not a part of any P s , t for s , t σ * with { s , t } { u , v } . For any two vertices x , y σ * , the number d S G u v ( x , y ) in G u v is equal to the number d S ( x , y ) in G. So W I ( G u v ) = x , y σ * σ ( x ) σ ( y ) d S G u v ( x , y ) = 4.3 and W I ( G u v ) = W I ( G ) .
Therefore, Theorem 3. 10 of [7] can be changed as follows
Theorem 2.
Let G = ( σ , μ ) be a fuzzy graph with each edge being strong. For s , t σ * , let P s , t denote the path which has the minimum sum of membership values among all shortest strong paths between s and t. Suppose that u v is not a part of any P s , t for s , t σ * with { s , t } { u , v } . Then
(1) If d S G u v ( u , v ) > μ ( u v ) , then W I ( G u v ) > W I ( G ) .
(2) If d S G u v ( u , v ) = μ ( u v ) , then W I ( G u v ) = W I ( G ) .
(3) If d S G u v ( u , v ) < μ ( u v ) , then W I ( G u v ) < W I ( G ) .
Proof. 
Since each edge of G is strong, it follows that each edge in G u v is also strong edge. Owing to u v being a strong edge in G, d S G ( u , v ) = μ ( u v ) . Let { a , b } { u , v } . Since u v is not part of any P a , b , d S G u v ( a , b ) = d S G ( a , b ) . Thus, W I ( G u v ) = x , y σ * σ ( x ) σ ( y ) d S G u v ( x , y ) = x , y σ * σ ( x ) σ ( y ) d S G ( x , y ) + ( d S G u v ( u , v ) d S G ( u , v ) ) = W I ( G ) + ( d S G u v ( u , v ) μ ( u v ) ) . So, if d S G u v ( u , v ) > μ ( u v ) , then W I ( G u v ) > W I ( G ) . If d S G u v ( u , v ) = μ ( u v ) , then W I ( G u v ) = W I ( G ) . If d S G u v ( u , v ) < μ ( u v ) , then W I ( G u v ) < W I ( G ) .    □
Note: The condition “each edge is strong” is necessary in Theorem 2. For example, let G = ( σ , μ ) be the fuzzy graph shown in Figure 3 with vertex set { a , b , c , u , v } and σ ( x ) = 1 for any x σ * , μ ( u v ) = 0.95 , μ ( a u ) = μ ( a b ) = 0.3 , μ ( c u ) = μ ( c b ) = 0.1 , μ ( v b ) = 0.5 , μ ( u b ) = 0.4 . Then each edge of the graph G except edge u b is strong. Edge u b is a weak edge in G. So d S ( u , v ) = 0.95 , d S ( a , u ) = d S ( a , b ) = 0.3 , d S ( c , u ) = d S ( c , b ) = 0.1 , d S ( v , b ) = 0.5 , d S ( a , c ) = 0.4 , d S ( a , v ) = 0.8 , d S ( u , b ) = 0.2 and d S ( c , v ) = 0.6 . Therefore, W I ( G ) = x , y σ * σ ( x ) σ ( y ) d S ( x , y ) = 4.25 . It is obvious that u v is a strong edge and u v is not a part of any P s , t for s , t σ * with { s , t } { u , v } . It is obvious that u b is a strong edge in G u v . Hence, d S G u v ( u , v ) = 0.9 , d S G u v ( a , u ) = d S G u v ( a , b ) = 0.3 , d S G u v ( c , u ) = d S G u v ( c , b ) = 0.1 , d S G u v ( v , b ) = 0.5 , d S G u v ( u , b ) = 0.4 , d S G u v ( a , c ) = 0.4 , d S G u v ( a , v ) = 0.8 and d S G u v ( c , v ) = 0.6 . So W I ( G u v ) = x , y σ * σ ( x ) σ ( y ) d S G u v ( x , y ) = 4.4 . Though d S G u v ( u , v ) < μ ( u v ) , W I ( G u v ) > W I ( G ) .

3. A New Algorithm to Compute Wiener Index of a Fuzzy Graph

Let G = ( σ , μ ) be a fuzzy graph with | σ * | = n . The underlying graph of G = ( σ , μ ) is denoted by G * = ( σ * , μ * ) , where σ * = { v | σ ( v ) > 0 } and μ * = { u v | μ ( u v ) > 0 } . M. Binu et al. in [7] give an Algorithm 1 to compute Wiener index of a fuzzy graph as follows.
Algorithm 1: Computing Wiener index of a fuzzy graph [7].
  • Step 1. Identify strong edges of G using the algorithm in [8].
    Step 2. Let G = ( σ , μ ) be the fuzzy subgraph of G obtained by deleting the δ -edges of G.
    Step 3. Use Dijkstra’s algorithm to identify geodesics between u and v in G * , for each u , v σ * . Let P 1 , P 2 , , P k be the geodesics connecting u and v in G * .
    Step 4. Calculate S p i for i = 1 , 2 , , k , where S p i is the sum of membership values of edges of P i .
    Step 5. Let d S ( u , v ) = { S P i | i = 1 , 2 , , k } .
    Step 6. Construct an n × n matrix D corresponding to G = ( σ , μ ) with the following properties. Each row and column corresponds to vertices in σ * . If row i corresponds to vertex u and column j corresponds to vertex v, then d S ( u , v ) is the entry corresponds to row i and column j.
    Step 7. Calculate W I ( G ) = u , v σ * σ ( u ) σ ( v ) d S ( u , v ) .
    The main drawback of the Algorithm 1 in [7] is as follows.
Dijkstra’s algorithm is only used to identify the length of the shortest path between u and v in G * . However, it can not be used to identify the number k of the shortest path. For any big graph, the total number of the shortest path between u and v can be very high. In such case, it is difficult to perform Step 3 and Step 4.
In order to give a simple algorithm to compute Wiener index of a fuzzy graph G = ( σ , μ ) , we define an operator ⊛ on matrix as follows. Let G = ( σ , μ ) be the fuzzy subgraph of G obtained by deleting the δ -edges of G. Let A 1 = ( a i j 1 ) n × n be the adjacent matrix of the fuzzy graph G , where a i i 1 = 0 and a i j 1 = μ ( v i v j ) for i , j { 1 , 2 , , n } . Let A k = ( a i j k ) n × n for i = 2 , 3 , ,   d i a m ( G * ) , where d i a m ( G * ) denote the diameter of G * . Define A k + 1 = A k A 1 as follows:
a i j k + 1 = 0 , if   i = j a i j k , if   i j   and   a ij k 0 min 1 t n { a i t k + a t j 1 | a i t k 0 , a t j 1 0 } , if   i j   and   a ij k = 0
Theorem 3.
Let G = ( σ , μ ) be a fuzzy graph such that every edge is strong edge. If a i j k = 0 and a i j k + 1 0 , then d ( v i , v j ) = k + 1 and d S ( v i , v j ) = a i j k + 1 , where d ( v i , v j ) is the distance between v i and v j in G * .
Proof. 
We will prove it by induction on the number k. Suppose k = 1 . If a i j 1 0 , then v i v j μ and a i j 1 = μ ( v i v j ) . Since every edge in G is strong edge, then d ( v i , v j ) = 1 and d S ( v i , v j ) = a i j 1 . Suppose that a i j 1 = 0 and a i j 2 0 . Then v i v j μ . Since a i j 2 = min 1 t n { a i t 1 + a t j 1 | a i t 1 0 , a t j 1 0 } , it follows that d ( v i , v j ) = 2 and d S ( v i , v j ) = a i j 2 .
Assume that the theorem holds for k < l . Suppose that a i j l = 0 and a i j l + 1 0 . By definition, a i j l + 1 = min 1 t n { a i t l + a t j 1 | a i t l 0 , a t j 1 0 } . For any a i t l 0 and a t j 1 0 , if there exists l < l such that a i t l 0 , then a i j l + 1 0 . Since l + 1 l , it follows that a i j l 0 , which is a contradiction. Hence for any l < l , a i t l = 0 . That is a i t l 1 = 0 and a i t l 0 . By inductive hypotheses on k, it follows that d ( v i , v t ) = l and d S ( v i , v t ) = a i t l . Since a i j l + 1 = min 1 t n { a i t l + a t j 1 | a i t l 0 , a t j 1 0 } , there exists t such that a i j l + 1 = a i t l + a t j 1 , where a i t l 0 and a t j 1 0 . Since d ( v i , v t ) = l and d S ( v i , v t ) = a i t l , it follows that d ( v i , v j ) = l + 1 and d S ( v i , v j ) = a i j l + 1 .    □
Corollary 1.
Let G = ( σ , μ ) be a fuzzy graph such that every edge is strong edge. Let d i a m ( G * ) be the diameter of G * . Then for any two vertices v i , v j σ , d S ( v i , v j ) = a i j d i a m ( G * ) , where i , j { 1 , 2 , , n } .
Algorithm 2: A new algorithm to compute Wiener index of a fuzzy graph.
Step 1. Identify strong edges of G using the algorithm in [8].
Step 2. Let G = ( σ , μ ) be the fuzzy subgraph of G obtained by deleting the δ -edges of G.
Step 3. Calculate A 1 , A 2 , , A d i a m ( G * ) , where d S ( v i , v j ) = a i j d i a m ( G * ) for 1 i < j n .
Step 4. Calculate W I ( G ) = u , v σ * σ ( u ) σ ( v ) d S ( u , v ) .
Obviously, it is a polynomial-time algorithm. The correctness of the Algorithm 2 follows from Theorem 3 and Corollary 1. So we have the following:
Theorem 4.
Let G = ( σ , μ ) be a fuzzy graph. Let A 1 , A 2 , , A d i a m ( G * ) be defined as in the Algorithm 2. Then W I ( G ) = 1 i < j n σ ( v i ) σ ( v j ) a i j d i a m ( G * ) .
Proof. 
By Theorem 3, let G = ( σ , μ ) be a fuzzy graph such that every edge is strong edge. If a i j k = 0 and a i j k + 1 0 , then d ( v i , v j ) = k + 1 and d S ( v i , v j ) = a i j k + 1 . By the definition on the new operator on matrix, for any two vertices v i , v j σ , d S ( v i , v j ) = a i j d i a m ( G * ) , where i , j { 1 , 2 , , n } . So, W I ( G ) = 1 i < j n σ ( v i ) σ ( v j ) a i j d i a m ( G * ) . □
Example 3.
Let G = ( σ , μ ) be the fuzzy graph shown in Figure 4 with vertex set { a , b , c , d , e } and σ ( v ) = 1 for any v σ * , μ ( a b ) = 0.2 , μ ( a c ) = 0.2 , μ ( b c ) = 0.3 , μ ( c d ) = 0.4 , μ ( d e ) = 0.5 . Then each edge of the graph G is strong.
By using Algorithm 2 and d i a m ( G * ) = 3 , we can compute A 1 , A 2 , and A 3 as follows:
A 1 abcde
a00.20.200
b0.200.300
c0.20.300.40
d000.400.5
e0000.50
A 2 abcde
a00.20.20.60
b0.200.30.70
c0.20.300.40.9
d0.60.70.400.5
e000.90.50
A 3 abcde
a00.20.20.61.1
b0.200.30.71.2
c0.20.300.40.9
d0.60.70.400.5
e1.11.20.90.50
As membership values of all vertices are one, the sum of all upper triangular entries of A 3 will be the W I of G. Hence W I ( G ) = 6.1 .

4. Conclusions

In this work, we discussed two problems related to the Wiener index of a fuzzy graph. First, we argued that Theorem 3.10 in the paper “Wiener index of a fuzzy graph and application to illegal immigration networks, Fuzzy Sets and Syst. 384 (2020) 132–147” is not correct. We gave a correct statement of Theorem 3.10, where a different result is given for the same conditions. Second, by using a new operator on matrix, we proposed a simple algorithm to compute the wiener index of a fuzzy graph. The main contribution of the proposed algorithm is as follows: First, for a general fuzzy graph, computation of the Wiener index by hand is possible. At the same time, the algorithm is easily realized in the computer. Furthermore, the new algorithm is simpler and more efficient, which is a polynomial-time algorithm. The property on Wiener index can help us to understand the critical property on the communication network. That is, when some edge is deleted, the Wiener index in communication network may be changed.

Author Contributions

The contributions of all authors are equal. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (2020R1I1A3A04036669).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zadeh, A.L. Fuzzy sets. Inf. Sci. 1965, 8, 338–353. [Google Scholar] [CrossRef] [Green Version]
  2. Rosenfeld, A. Fuzzy graphs. In Fuzzy Sets and Their Applications to Cognitive and Decision Processes; Zadeh, L.A., Fu, K.S., Tanaka, K., Shimura, M., Eds.; Academic Press: New York, NY, USA, 1975; pp. 77–95. [Google Scholar]
  3. Dobrynin, A.A.; Gutman, I.; Klavžar, S.; Žigert, P. Wiener index of hexagonal systems. Acta Appl. Math. 2002, 72, 247–294. [Google Scholar] [CrossRef]
  4. Knor, M.; Skrekovski, R.; Tepeh, A. Mathematical aspects of Wiener index. Ars Math. Contemp. 2016, 2, 327–352. [Google Scholar] [CrossRef] [Green Version]
  5. Wiener, H. Structural determination of paraffin points. J. Am. Chem. Soc. 1947, 69, 17–20. [Google Scholar] [CrossRef]
  6. Mathew, S.; Mordeson, J.N.; Malik, D. Fuzzy Graph Theory; Springer: Berlin/Heidelberg, Germany, 2018. [Google Scholar]
  7. Binu, M.; Mathew, S.; Mordeson, J.N. Wiener index of a fuzzy graph and application to illegal immigration networks. Fuzzy Sets Syst. 2020, 384, 132–147. [Google Scholar]
  8. Mathew, S.; Sunitha, M.S. Types of arcs in a fuzzy graph. Inf. Sci. 2009, 179, 1760–1768. [Google Scholar] [CrossRef]
Figure 1. u v is an α -strong edge and W I ( G ) = W I ( G u v ) .
Figure 1. u v is an α -strong edge and W I ( G ) = W I ( G u v ) .
Applsci 12 00304 g001
Figure 2. u v is an β -strong edge and W I ( G ) = W I ( G u v ) .
Figure 2. u v is an β -strong edge and W I ( G ) = W I ( G u v ) .
Applsci 12 00304 g002
Figure 3. Fuzzy graphs G and G u v .
Figure 3. Fuzzy graphs G and G u v .
Applsci 12 00304 g003
Figure 4. Fuzzy graph G with d i a m ( G * ) = 3 .
Figure 4. Fuzzy graph G with d i a m ( G * ) = 3 .
Applsci 12 00304 g004
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lee, H.; Chen, X.-g.; Sohn, M.Y. A Note on “Wiener Index of a Fuzzy Graph and Application to Illegal Immigration Networks”. Appl. Sci. 2022, 12, 304. https://doi.org/10.3390/app12010304

AMA Style

Lee H, Chen X-g, Sohn MY. A Note on “Wiener Index of a Fuzzy Graph and Application to Illegal Immigration Networks”. Applied Sciences. 2022; 12(1):304. https://doi.org/10.3390/app12010304

Chicago/Turabian Style

Lee, Hoon, Xue-gang Chen, and Moo Young Sohn. 2022. "A Note on “Wiener Index of a Fuzzy Graph and Application to Illegal Immigration Networks”" Applied Sciences 12, no. 1: 304. https://doi.org/10.3390/app12010304

APA Style

Lee, H., Chen, X. -g., & Sohn, M. Y. (2022). A Note on “Wiener Index of a Fuzzy Graph and Application to Illegal Immigration Networks”. Applied Sciences, 12(1), 304. https://doi.org/10.3390/app12010304

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop