Next Article in Journal
Discrete-Inverse Optimal Control Applied to the Ball and Beam Dynamical System: A Passivity-Based Control Approach
Previous Article in Journal
Simulation of Boiling Heat Transfer at Different Reduced Temperatures with an Improved Pseudopotential Lattice Boltzmann Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Shortest Path Solution of Trapezoidal Fuzzy Neutrosophic Graph Based on Circle-Breaking Algorithm

1
College of Electronics and Information Science, Fujian Jiangxia University, Fuzhou 350108, China
2
College of Foreign Languages, Fujian Jiangxia University, Fuzhou 350108, China
*
Author to whom correspondence should be addressed.
Symmetry 2020, 12(8), 1360; https://doi.org/10.3390/sym12081360
Submission received: 21 July 2020 / Revised: 12 August 2020 / Accepted: 13 August 2020 / Published: 14 August 2020

Abstract

:
The shortest path problem is a topic of increasing interest in various scientific fields. The damage to roads and bridges caused by disasters makes traffic routes that can be accurately expressed become indeterminate. A neutrosophic set is a collection of the truth membership, indeterminacy membership, and falsity membership of the constituent elements. It has a symmetric form and indeterminacy membership is their axis of symmetry. In uncertain environments, the neutrosophic number can more effectively express the edge distance. The objectives in this study are to solve the shortest path problem of the neutrosophic graph with an edge distance expressed using trapezoidal fuzzy neutrosophic numbers (TrFNN) and resolve the edge distance according to the score and exact functions based on the TrFNN. Accordingly, the use of a circle-breaking algorithm is proposed to solve the shortest path problem and estimate the shortest distance. The feasibility of this method is verified based on two examples, and the rationality and effectiveness of the approach are evaluated by comparing it with the Dijkstra and Bellman algorithms.

1. Introduction

The shortest path problem (SPP) is a topic of significant interest in various scientific fields pertaining to flow in additive networks. In traditional problems, the distances among the nodes are determined. The calculation of the minimum cost of the path from every vertex is referred to as the single-source SPP. The objective of the traditional SPP is to obtain the minimum cost path from the starting node to the ending node [1]. However, in uncertain environments, the fuzzy number technique can be used instead. Dubois and Prade solved the problem of the fuzzy shortest path for the first time [2]. The key problem of combinatorial optimization is to determine the shortest path of the digraph. Its main format cannot express the situation when the value of the separation function is found based on the preference of each individual arc [3,4,5]. Samarandache first described the theory of Chinese Intelligence in 1995 and proposed an important mathematical mechanism referred to as the theory of the neutrosophic set (NS) to deal with various inaccuracy, uncertainty, and inconsistency problems. The NS is obtained from three autonomous mappings of the truth membership (t), indeterminacy membership (i), and falsity membership (f), where the range of values is [0−, 1+]. They respectively indicate the degree of affirmation, uncertainty, and negation of the event. Once the uncertainties of the vertex and edge sets have been obtained, the fuzzy graph can be used to address the SPP. However, if uncertainty exists in the relationship between nodes, the NS theory will be a suitable concept for dealing with real-life problems [6]. The shortest path of a network can be found by treating the edge distances as neutrosophic numbers (NN). These may be single-valued, interval-valued, or bipolar [7]. NN can deal with uncertainty more effectively. The NS model can deal with uncertain, inconsistent, and inaccurate information. It is an important mechanism for handling practical science and engineering issues.
The route of emergency rescue is often uncertain owing to the different degrees of damage caused by sudden disasters. In recent years, the SPP of a network graph, whose edge distance is an imprecise number, has attracted increasing attention from scholars globally. Buckley et al. [8] introduced the concept of fuzzy logic into the SPP. Deng et al. [9] proposed a fuzzy Dijkstra algorithm for the SPP in inaccurate environments. Biswas et al. [3] introduced an algorithm to determine the shortest path in an intuitionistic fuzzy environment. Ye and Peng et al. [10,11,12] presented the score function and sorting function of single-valued and trapezoidal fuzzy NN. Broumi et al. [6] used the Dijkstra algorithm to solve the SPP given a neutrosophic background. Nancy and Harish [13] proposed an improved score function and applied it to the decision-making process. Broumi et al. [14] calculated the minimum spanning tree in an interval-valued bipolar neutrosophic setting. Peng and Dai [15] proposed an interval decision-making algorithm based on the neutrosophic environment. Smarandache [16] used trapezoidal fuzzy neutrosophic numbers (TrFNN) to find the shortest path. Wang et al. [17] proposed an SV-trapezoidal neutrosophic preference in decision-making problems. Deli and Şubaş [18] presented the ranking method of single-valued NN and applied it to decision-making problems. Broumi et al. [19] introduced several concepts regarding NSs and analyzed the existing concepts and proposed NN. Broumi et al. [20] proposed an SPP under an interval-valued neutrosophic setting. Bolturk and Kahraman [21] presented a new interval-valued neutrosophic analytic hierarchy process with a cosine similarity measure. Biswas et al. [22] reported on a distance measure using interval TrFNN. Deli [23] presented detailed work on the expansion and contraction of the conventional neutrosophic soft set and later [24] proposed single-valued trapezoidal neutrosophic operators and applied these to decision-making problems. Deli and Şubaş [25] proposed weighted geometric operators with single-valued triangular NN and applied these to decision-making problems. Basset et al. [26] introduced a mixed method of project selection in a neutrosophic environment and subsequently [27] proposed a mid-intelligence group decision-making model with TrFNN. Moreover, Kumar et al. [28] developed an algorithm for solving the SPP in triangular and trapezoidal neutrosophic environments. Broumi et al. [29] presented a study on the neutrosophic shortest path with interval-valued NN on a network. Tan et al. [30] and Broumi et al. [31] proposed the Bellman algorithm for solving the SPP in a neutrosophic graph. Broumi used the original Bellman algorithm to search the shortest path from the start point to the end point, whereas Tan used the improved dynamic programming algorithm for application to the SPP of a trapezoidal fuzzy medium intelligence graph, starting the search from the end point, and the NN was not accurate in the operation process. Chakraborty [32] applied the developed score function and accuracy function of the pentagonal NN to the SPP. Schweizer [33] proposed uncertain factors that could be considered in the process of building the model and developed a formula to transform their model into a neutrosophic representation. Edalatpanah [34] proposed a direct algorithm to solve neutrosophic linear programming, in which the variables and right-hand side were represented by triangular NN. Yang et al. [35] developed an ant colony algorithm for solving the SPP on a network with interval-valued neutrosophic edge distances.
Guan [36] proposed the circle-breaking algorithm in 1975 to solve the minimum spanning tree problem of undirected graphs, and this approach has been widely used in the power and network fields [37]. The circle-breaking algorithm starts from the original graph, continuously deletes the largest edge in the closed circle, and finally obtains a minimum spanning tree. Therefore, when this algorithm is applied to the directed neutrosophic graph, one edge of the longer of the two paths forming the closed circle can be deleted continuously, such that any two points in the neutrosophic graph can be connected while disconnecting the relatively longer path. Finally, the algorithm solves the SPP of the neutrosophic graph. In comparison with the Dijkstra algorithm, the circle-breaking algorithm operates more intuitively. For a complex neutrosophic graph with numerous vertices, distributed computing can be used. Therefore, the shortest path solution method in neutrosophic graphs is evaluated in this study based on the circle-breaking algorithm.

2. Theoretical Basis

We present several basic concepts for NS and TrFNN, as well as existing ranking functions for TrFNN.

2.1. NS

Definition 1. 
[16]: Let X be the object set, x be any one of these sets, and an NS, A on X , be represented by the true degree function, T A ( x ) , uncertainty degree function I A ( x ) , and error degree function F A ( x ) , where T A ( x ) , I A ( x ) , and F A ( x ) , are the standard or nonstandard real subsets of ] 0 , 1 + [ ; that is, T A ( x ) : X ] 0 , 1 + [ , I A ( x ) : X ] 0 , 1 + [ , F A ( x ) : X ] 0 , 1 + [ (where the nonstandard finite number 1 + = 1 + ε , “1” is its standard part, and ε > 0 is an infinite decimal, which is its nonstandard part), and 0 sup T A ( x ) + sup I A ( x ) + sup F A ( x ) 3 + .

2.2. TrFNN

Definition 2. 
[10]: X is a domain, and a trapezoidal fuzzy NS N ˜ can be expressed as follows:
N ˜ = { x , T N ˜ ( x ) , I N ˜ ( x ) , F N ˜ ( x ) | x X } ,
where T N ˜ ( x ) [ 0 , 1 ] , I N ˜ ( x ) [ 0 , 1 ] , and F N ˜ ( x ) [ 0 , 1 ] are trapezoidal fuzzy numbers, expressed as T N ˜ ( x ) = ( t N ˜ 1 ( x ) , t N ˜ 2 ( x ) , t N ˜ 3 ( x ) , t N ˜ 4 ( x ) ) : X [ 0 , 1 ] , I N ˜ ( x ) = ( i N ˜ 1 ( x ) , i N ˜ 2 ( x ) , i N ˜ 3 ( x ) , i N ˜ 4 ( x ) ) : X [ 0 , 1 ] , and F N ˜ ( x ) = ( f N ˜ 1 ( x ) , f N ˜ 2 ( x ) , f N ˜ 3 ( x ) , f N ˜ 4 ( x ) ) : X [ 0 , 1 ] , respectively, which meet the condition 0 t N ˜ 4 ( x ) + i N ˜ 4 ( x ) + f N ˜ 4 ( x ) 3 , x X .
Definition 3. 
[11]: A TrFNN in domain X can be expressed as
n ˜ = ( a 1 , a 2 , a 3 , a 4 ) , ( b 1 , b 2 , b 3 , b 4 ) , ( c 1 , c 2 , c 3 , c 4 ) . The parameters can satisfy the following relationships: a 1 a 2 a 3 a 4 , b 1 b 2 b 3 b 4 , and c 1 c 2 c 3 c 4 . The truth membership function of a trapezoidal fuzzy NS can be expressed as
T N ˜ ( x ) = x a 1 a 2 a 1 a 1 x a 2 1 a 2 x a 3 a 4 x a 4 a 3 a 3 x a 4 0 o t h e r w i s e .
The indeterminacy membership function of a trapezoidal fuzzy NS can be expressed as
I N ˜ ( x ) = b 2 x b 2 b 1 b 1 x b 2 0 b 2 x b 3 x b 3 b 4 b 3 b 3 x b 4 1 o t h e r w i s e .
The falsity membership function of a trapezoidal fuzzy NS can be expressed as
F N ˜ ( x ) = c 2 x c 2 c 1 c 1 x < c 2 0 c 2 x c 3 x c 3 c 4 c 3 c 3 < x c 4 1 o t h e r w i s e .
Definition 4. 
[12]: 
n ˜ 1 = ( a 1 , a 2 , a 3 , a 4 ) , ( b 1 , b 2 , b 3 , b 4 ) , ( c 1 , c 2 , c 3 , c 4 ) and n ˜ 2 = ( e 1 , e 2 , e 3 , e 4 ) , ( f 1 , f 2 , f 3 , f 4 ) , ( g 1 , g 2 , g 3 , g 4 ) are two TrFNN. Then,
(1)
n ˜ 1 n ˜ 2 = ( a 1 + e 1 a 1 e 1 , a 2 + e 2 a 2 e 2 , a 3 + e 3 a 3 e 3 , a 4 + e 4 a 4 e 4 ) , ( b 1 f 1 , b 2 f 2 , b 3 f 3 , b 4 f 4 ) , ( c 1 g 1 , c 2 g 2 , c 3 g 3 , c 4 g 4 ) ;
(2)
n ˜ 1 n ˜ 2 = ( a 1 e 1 , a 2 e 2 , a 3 e 3 , a 4 e 4 ) , ( b 1 + f 1 b 1 f 1 , b 2 + f 2 b 2 f 2 , b 3 + f 3 b 3 f 3 , b 4 + f 4 b 4 f 4 ) , ( c 1 + g 1 c 1 g 1 , c 2 + g 2 c 2 g 2 , c 3 + g 3 c 3 g 3 , c 4 + g 4 c 4 g 4 ) ;
(3)
λ n ˜ 1 = ( 1 ( 1 a 1 ) λ , 1 ( 1 a 2 ) λ , 1 ( 1 a 3 ) λ , 1 ( 1 a 4 ) λ ) , ( b 1 λ , b 2 λ , b 3 λ , b 4 λ ) , ( c 1 λ , c 2 λ , c 3 λ , c 4 λ ) , λ > 0 ;
(4)
n ˜ 1 λ = ( a 1 λ , a 2 λ , a 3 λ , a 4 λ ) , ( 1 ( 1 b 1 ) λ , 1 ( 1 b 2 ) λ , 1 ( 1 b 3 ) λ , 1 ( 1 b 4 ) λ ) , ( 1 ( 1 c 1 ) λ , 1 ( 1 c 2 ) λ , 1 ( 1 c 3 ) λ , 1 ( 1 c 4 ) λ ) , λ > 0 ;
(5) n ˜ 1 = n ˜ 2 if a i = e i , b i = f i , and c i = g i are valid for i = 1, 2, 3, and 4; that is, ( a 1 , a 2 , a 3 , a 4 ) = ( e 1 , e 2 , e 3 , e 4 ) , ( b 1 , b 2 , b 3 , b 4 ) = ( f 1 , f 2 , f 3 , f 4 ) , and ( c 1 , c 2 , c 3 , c 4 ) = ( g 1 , g 2 , g 3 , g 4 ) .

2.3. Ranking Function

Definition 5. 
[10]: n ˜ = ( a 1 , a 2 , a 3 , a 4 ) , ( b 1 , b 2 , b 3 , b 4 ) , ( c 1 , c 2 , c 3 , c 4 ) is a TrFNN and its score function can be expressed as
S ( n ˜ ) = 1 3 ( 2 + a 1 + a 2 + a 3 + a 4 4 b 1 + b 2 + b 3 + b 4 4 c 1 + c 2 + c 3 + c 4 4 ) , S ( n ˜ ) [ 0 , 1 ]
A larger value of S ( n ˜ ) results in a larger TrFNN n ˜ .
Definition 6. 
[11]: n ˜ = ( a 1 , a 2 , a 3 , a 4 ) , ( b 1 , b 2 , b 3 , b 4 ) , ( c 1 , c 2 , c 3 , c 4 ) is a TrFNN, and its exact function can be expressed as
H ( n ˜ ) = a 1 + a 2 + a 3 + a 4 4 c 1 + c 2 + c 3 + c 4 4 , H ( n ˜ ) [ 1 , 1 ] .
As the value of H ( n ˜ ) increases, the value of the TrFNN of n ˜ also increases. The ordering relationship of the two TrFNN can be achieved based on the score function, S ( n ˜ ) , and exact function, H ( n ˜ ) .
Definition 7. 
[10]: n ˜ 1 = ( a 1 , a 2 , a 3 , a 4 ) , ( b 1 , b 2 , b 3 , b 4 ) , ( c 1 , c 2 , c 3 , c 4 ) and n ˜ 2 = ( e 1 , e 2 , e 3 , e 4 ) , ( f 1 , f 2 , f 3 , f 4 ) , ( g 1 , g 2 , g 3 , g 4 ) are two TrFNN, S ( n ˜ 1 ) and S ( n ˜ 2 ) are the score functions of n ˜ 1 and n ˜ 2 , respectively, and H ( n ˜ 1 ) and H ( n ˜ 2 ) are the exact functions of n ˜ 1 and n ˜ 2 , respectively. The ordering relationship of the TrFNN is as follows:
if 
S ( n ˜ 1 ) > S ( n ˜ 2 ) , then n ˜ 1 > n ˜ 2
if 
S ( n ˜ 1 ) < S ( n ˜ 2 ) , then n ˜ 1 < n ˜ 2
if 
S ( n ˜ 1 ) = S ( n ˜ 2 ) , then
if H ( n ˜ 1 ) > H ( n ˜ 2 ) , then n ˜ 1 > n ˜ 2
if H ( n ˜ 1 ) < H ( n ˜ 2 ) , then n ˜ 1 < n ˜ 2

3. Neutrosophic Graph Theory

A disaster-stricken area consists of n locations, whose network topology can be abstracted as a directed graph G ( V , E ) , where the node set V   =   { v 1 ,   ·   ·   ·   ,   v n } represents n disaster-stricken settlements and the edge set E   V   × V represents a directed connection between the affected settlements. A directed edge ( i ,   j )     E represents a path from node i to node j. According to the geographical location and terrain, the degree of damage is classified based on the disaster and other factors, and the edge distance is represented as a TrFNN n ˜ , where node i is the parent node and node j is the child node. A directed path from node i to node j can be represented as a set of directed edge sequences of the form ( i ,   i 2 ) ,   ( i 2 ,   i 3 ) ,   ·   ·   ·   ,   ( i k ,   j ) in a directed graph. The connected nodes differ according to the strength of the directed graph. The number of paths from node i to node j varies.

4. Method for Solving SPP of Trapezoidal Fuzzy Neutrosophic Graph Based on Circle-Breaking Algorithm

The circle-breaking algorithm can be used to solve the minimum cost spanning tree problem with weighted, connected, and undirected graphs. Furthermore, it can extend the SPP for directed graphs and search for a closed circle in the graphs, which is shared by the same starting and ending nodes. The end of the road is surrounded. A larger path can be found using Equations (9) and (10) as well as Definition 7. Subsequently, the last edge of the larger path is deleted and the above steps are repeated until there are no circles in the figure. The specific steps are as follows:
Step 1:
Arbitrarily define a closed circle in the trapezoidal fuzzy neutrosophic graph, and find the two paths p1 and p2 surrounding the closed circle, whereby p1 and p2 have a common starting node recorded as N0 and a common ending node recorded as N1.
Step 2:
According to Equation (5), all edges of each path are summed. The trapezoidal fuzzy numbers n ˜ p 1 and n ˜ p 2 are then obtained, which represent the two paths.
Step 3:
Obtain the score function value S ( n ˜ p 1 ) and exact function value H ( n ˜ p 1 ) of n ˜ p 1 , as well as the score function value S ( n ˜ p 2 ) and exact function value H ( n ˜ p 2 ) of n ˜ p 2 .
Step 4:
Compare the sizes of n ˜ p 1 and n ˜ p 2 according to the ranking function, and find and delete the edge in the larger path whose vertex is N1.
Step 5:
Determine whether a closed circle still exists on the map. If so, go to Step 1; if not, the algorithm terminates. At this time, only one path exists from the starting node to the ending node in the neutrosophic graph, which is the shortest path.
Figure 1 illustrates the flowchart of the circle-breaking algorithm according to the aforementioned steps:
In actual programming, determining whether a neutrosophic graph contains closed circles can be considered equivalent to judging whether there are vertices with in-degrees greater than one. If the in-degree of node i is greater than one, the predecessor is searched for based on the two edges pointing to node i. For node sets R 1 and R 2 , there must be a vertex k R 1 R 2 that satisfies two different paths p 1 and p 2 from k to i. According to the flowchart in Figure 1, the pseudocode for calculating the designed Algorithm 1 circle-breaking algorithm is as follows:
Algorithm 1 Circle-breaking Algorithm.
 for i = N to 1
  while(in-degree[i] > 1)
   if( n ˜ p 1 > n ˜ p 2 )
    Delete the last edge in p1
   else
    Delete the last edge in p2
  end while
 end for

5. Case Study and Comparative Analysis

In this section, we describe the use of the circle-breaking algorithm to calculate two cases and compare this algorithm with other existing algorithms.

5.1. Case Analysis

Example 1. 
Since 20 July 2020, there has been a series of rainstorms in Wuhan City, China, with the maximum rainfall exceeding 100 mm. Owing to the rainstorms, waterlogging has become a major problem in many parts of Wuhan City, considerably hindering the traffic. According to Wuhan police, some sections of Huangpu Street, Fazhan Avenue, and Jiefang Avenue in Hankou, Wuhan are substantially waterlogged, resulting in traffic being blocked. The water under the light rail bridge of Huangpu Street is half a meter deep, preventing cars from passing and making it difficult to conduct rescue work. In view of the road conditions, it is necessary to identify the best paths to rescue points and provide decision support for the emergency rescue teams of the relevant departments. Figure 2 depicts the topological structure of the road network during this period, and Table 1 presents the side lengths involved. The rescue team of Wuhan city must move from start point ① to end point ⑥ to rescue the trapped residents. Therefore, the objective of this example is to determine the shortest path from ① to ⑥.
The shortest path from ① to ⑥ is solved based on the circle-breaking algorithm in Figure 2. A circle is randomly selected in the figure, the larger of the two paths surrounding the circle is determined, and the last edge of the circle is deleted. This process is repeated until no other circle can be found. Finally, the only path remaining from ① to ⑥ is the shortest path.
Step 1: Circle ①②④③① in Figure 2 and paths p 1 = { ( 1 , 3 ) , ( 3 , 4 ) } and p 2 = { ( 1 , 2 ) , ( 2 , 4 ) } that make up the closed circle, as indicated by the thick lines in Figure 3, are found.
Step 2: According to Equation (5), all neutrosophic edges of each path are summed, and the TrFNN of the two paths are obtained by determining n ˜ p 1 and n ˜ p 2 .
n ˜ p 1 = n ˜ ( 1 , 3 ) n ˜ ( 3 , 4 ) = ( 0.2 + 0.2 0.2 * 0.2 , 0.4 + 0.3 0.4 * 0.3 , 0.5 + 0.5 - 0.5 * 0.5 , 0.7 + 0.6 - 0.7 * 0.6 ) , ( 0.3 * 0.2 , 0.5 * 0.5 , 0.6 * 0.6 , 0.9 * 0.7 ) , ( 0.1 * 0.4 , 0.2 * 0.5 , 0.3 * 0.6 , 0.4 * 0.8 ) = < ( 0.36 , 0.58 , 0.75 , 0.88 ) ,   ( 0.06 , 0.25 , 0.36 , 0.63 ) ,   ( 0.04 , 0.1 , 0.18 , 0.32 ) > n ˜ p 2 = n ˜ ( 1 , 2 ) n ˜ ( 2 , 4 ) = ( 0.1 + 0.3 0.1 * 0.3 , 0.2 + 0.4 0.2 * 0.4 , 0.3 + 0.6 - 0.3 * 0.6 , 0.5 + 0.7 - 0.5 * 0.7 ) , ( 0.2 * 0.1 , 0.3 * 0.2 , 0.5 * 0.3 , 0.6 * 0.5 ) , ( 0.4 * 0.3 , 0.5 * 0.5 , 0.6 * 0.7 , 0.8 * 0.9 ) = < ( 0.37 , 0.52 , 0.72 , 0.85 ) ,   ( 0.02 , 0.06 , 0.15 , 0.3 ) ,   ( 0.12 , 0.25 , 0.42 , 0.72 ) >
Step 3: S ( n ˜ p 1 ) , H ( n ˜ p 1 ) , S ( n ˜ p 2 ) , and H ( n ˜ p 2 ) are obtained.
S ( n ˜ p 1 ) = 1 3 ( 2 + 0.36 + 0.58 + 0.75 + 0.88 4 0.06 + 0.25 + 0.36 + 0.63 4 0.04 + 0.1 + 0.18 + 0.32 4 ) = 0 . 719 S ( n ˜ p 2 ) = 1 3 ( 2 + 0.37 + 0.52 + 0.72 + 0.85 4 0.02 + 0.06 + 0.15 + 0.3 4 0.12 + 0.25 + 0.42 + 0.72 4 ) = 0 . 702 H ( n ˜ p 1 ) = 0.36 + 0.58 + 0.75 + 0.88 4 0.04 + 0.1 + 0.18 + 0.32 4 = 0 . 483 H ( n ˜ p 2 ) = 0.37 + 0.52 + 0.72 + 0.85 4 0.12 + 0.25 + 0.42 + 0.72 4 = 0 . 238
Step 4: Because S ( n ˜ p 1 ) > S ( n ˜ p 2 ) , n ˜ p 1 > n ˜ p 2 can be obtained according to Definition 7. Thus, by deleting the last edge, (3, 4), in p1, the neutrosophic graph in Figure 4 can be obtained.
Step 5: Closed circle ①②⑤③① in Figure 4 is selected, and paths p 3 = { ( 1 , 3 ) , ( 3 , 5 ) } and p 4 = { ( 1 , 2 ) , ( 2 , 5 ) } that make up the closed circle, as indicated by the thick lines in Figure 5, are obtained. Once this task is completed, we return to Step 2.
Step 2: According to Equation (5), all neutrosophic edges of each path are summed, and the TrFNN of the two paths are obtained by determining n ˜ p 3 and n ˜ p 4 .
n ˜ p 3 = n ˜ ( 1 , 3 ) n ˜ ( 3 , 5 ) = ( 0.2 + 0.3 0.2 * 0.3 , 0.4 + 0.6 0.4 * 0.6 , 0.5 + 0.7 - 0.5 * 0.7 , 0.7 + 0.8 - 0.7 * 0.8 ) , ( 0.3 * 0.1 , 0.5 * 0.2 , 0.6 * 0.3 , 0.9 * 0.4 ) , ( 0.1 * 0.1 , 0.2 * 0.4 , 0.3 * 0.5 , 0.4 * 0.6 ) = < ( 0.44 , 0.76 , 0.85 , 0.94 ) ,   ( 0.03 , 0.10 , 0.18 , 0.36 ) ,   ( 0.01 , 0.08 , 0.15 , 0.24 ) >
n ˜ p 4 = n ˜ ( 1 , 2 ) n ˜ ( 2 , 5 ) = ( 0.1 + 0.1 0.1 * 0.1 , 0.2 + 0.3 0.2 * 0.3 , 0.3 + 0.4 - 0.3 * 0.4 , 0.5 + 0.5 - 0.5 * 0.5 ) , ( 0.2 * 0.3 , 0.3 * 0.4 , 0.5 * 0.5 , 0.6 * 0.7 ) , ( 0.4 * 0.2 , 0.5 * 0.3 , 0.6 * 0.4 , 0.8 * 0.7 ) = < ( 0.19 , 0.44 , 0.58 , 0.75 ) ,   ( 0.06 , 0.12 , 0.25 , 0.42 ) ,   ( 0.08 , 0.15 , 0.24 , 0.56 ) >
Step 3: Score function value S ( n ˜ p 3 ) and exact function value H ( n ˜ p 3 ) of n ˜ p 3 , as well as score function value S ( n ˜ p 4 ) and exact function value H ( n ˜ p 4 ) of n ˜ p 4 , are calculated.
S ( n ˜ p 3 ) = 1 3 ( 2 + 0.44 + 0.76 + 0.85 + 0.94 4 0.03 + 0.10 + 0.18 + 0.36 4 0.01 + 0.08 + 0.15 + 0.24 4 ) = 0 . 820
S ( n ˜ p 4 ) = 1 3 ( 2 + 0.19 + 0.44 + 0.58 + 0.75 4 0.06 + 0.12 + 0.25 + 0.42 4 0.08 + 0.15 + 0.24 + 0.56 4 ) = 0 . 673
H ( n ˜ p 3 ) = 0.44 + 0.76 + 0.85 + 0.94 4 0.01 + 0.08 + 0.15 + 0.24 4 = 0 . 628
H ( n ˜ p 4 ) = 0.19 + 0.44 + 0.58 + 0.75 4 0.08 + 0.15 + 0.24 + 0.56 4 = 0 . 233
Step 4: Because S ( n ˜ p 3 ) > S ( n ˜ p 4 ) , n ˜ p 3 > n ˜ p 4 can be obtained according to Definition 7. Thus, by deleting the last edge, (3, 5), in p3, the neutrosophic graph depicted in Figure 6 can be obtained.
Step 5: Another closed circle ②④⑥⑤② in Figure 6 is identified, such that paths p 5 = { ( 2 , 4 ) , ( 4 , 6 ) } and p 6 = { ( 2 , 5 ) , ( 5 , 6 ) } make up a closed circle, as indicated by the thick lines in Figure 7. Once this task is completed, we return to Step 2.
Step 2: According to Equation (5), all neutrosophic edges of each path are summed, and the TrFNN of the two paths are obtained by computing n ˜ p 5 and n ˜ p 6 .
n ˜ p 5 = n ˜ ( 2 , 4 ) n ˜ ( 4 , 6 ) = ( 0.3 + 0.4 0.3 * 0.4 , 0.4 + 0.6 0.4 * 0.6 , 0.6 + 0.8 - 0.6 * 0.8 , 0.7 + 0.9 - 0.7 * 0.9 ) , ( 0.1 * 0.2 , 0.2 * 0.4 , 0.3 * 0.5 , 0.5 * 0.6 ) , ( 0.3 * 0.1 , 0.5 * 0.3 , 0.7 * 0.4 , 0.9 * 0.5 ) = < ( 0.58 , 0.76 , 0.92 , 0.97 ) ,   ( 0.02 , 0.08 , 0.15 , 0.30 ) ,   ( 0.03 , 0.15 , 0.28 , 0.45 ) > n ˜ p 6 = n ˜ ( 2 , 5 ) n ˜ ( 5 , 6 ) = ( 0.1 + 0.2 0.1 * 0.2 , 0.3 + 0.3 0.3 * 0.3 , 0.4 + 0.4 - 0.4 * 0.4 , 0.5 + 0.5 - 0.5 * 0.5 ) , ( 0.3 * 0.3 , 0.4 * 0.4 , 0.5 * 0.5 , 0.7 * 0.6 ) , ( 0.2 * 0.1 , 0.3 * 0.3 , 0.6 * 0.5 , 0.7 * 0.6 ) = < ( 0.28 , 0.51 , 0.64 , 0.75 ) ,   ( 0.09 , 0.16 , 0.25 , 0.42 ) ,   ( 0.02 , 0.09 , 0.30 , 0.42 ) >
Step 3: Score function value S ( n ˜ p 5 ) and exact function value H ( n ˜ 5 ) of n ˜ p 5 , as well as score function value S ( n ˜ p 6 ) and exact function value H ( n ˜ p 6 ) of n ˜ p 6 are obtained.
S ( n ˜ p 5 ) = 1 3 ( 2 + 0.58 + 0.76 + 0.92 + 0.97 4 0.02 + 0.08 + 0.15 + 0.30 4 0.03 + 0.15 + 0.28 + 0.45 4 ) = 0 . 814 S ( n ˜ p 6 ) = 1 3 ( 2 + 0.28 + 0.51 + 0.64 + 0.75 4 0.09 + 0.16 + 0.25 + 0.42 4 0.02 + 0.09 + 0.30 + 0.42 4 ) = 0 . 703 H ( n ˜ p 5 ) = 0.58 + 0.76 + 0.92 + 0.97 4 0.03 + 0.15 + 0.28 + 0.45 4 = 0 . 580 H ( n ˜ p 6 ) = 0.28 + 0.51 + 0.64 + 0.75 4 0.02 + 0.09 + 0.30 + 0.42 4 = 0 . 338
Step 4: Because S ( n ˜ p 5 ) > S ( n ˜ p 6 ) , according to Definition 7, we can obtain n ˜ p 5 > n ˜ p 6 . The last edge, (4, 6), in p5 is deleted, and the neutrosophic graph is obtained, as depicted in Figure 8.
Step 5: In the neutrosophic graph illustrated in Figure 8, it is no longer possible to find a closed circle and the circle-breaking algorithm ends. As indicated by the dotted line in Figure 9, only one path exists from starting node ① to ending node ⑥, which is the shortest path sought.
Example 2. 
The objective of this example is to determine the shortest path from starting node ① to ending node ⑨ in Figure 10. The edge weights are represented as TrFNN, and Table 2 lists the edge weight data. The circle-breaking algorithm is used to solve the SPP.
The removal of the last edge of the larger path in all closed circles using the circle-breaking algorithm enables the generation of the neutrosophic graph, as illustrated in Figure 11.
The path indicated by the dotted line is the shortest path from ① to ⑨.

5.2. Comparative Analysis of Different Algorithms

1. To illustrate the validity and rationality of the algorithm, the circle-breaking algorithm proposed in this study is compared with the Dijkstra algorithm, and the adjacency matrix is established according to Table 1.
[ 0.0 , n ˜ ( 1 , 2 ) , n ˜ ( 1 , 3 ) , M , M , M M , 0.0 , M , n ˜ ( 2 , 4 ) , n ˜ ( 2 , 5 ) , M M , M , 0.0 , n ˜ ( 3 , 4 ) , n ˜ ( 3 , 5 ) , M M , M , M , 0.0 , M , n ˜ ( 4 , 6 ) M , M , M , M , 0.0 , n ˜ ( 5 , 6 ) M , M , M , M , M , 0.0 ]
In this case, n ˜ ( i , j ) represents the edge weight from node i to node j. The specific values are listed in Table 1. M represents an infinite number, thereby indicating that no direct directed edge connection exists between nodes i and j.
Figure 12 illustrates the flowchart of the Dijkstra algorithm, where Vs represents the start point and Ve represents the end point.
Table 3 displays the shortest path and the shortest path weights from starting node ① to all nodes using the existing Dijkstra algorithm: the shortest path from node ① to node ⑥ is             , and the weights are as follows:
( 0.352 , 0.608 , 0.748 , 0.875 ) , ( 0.018 , 0.048 , 0.125 , 0.294 ) , ( 0.008 , 0.045 , 0.180 , 0.336 )
For the same calculation process, the shortest path and shortest path weights of starting node ① to all nodes in the second example are listed in Table 4. The shortest path from node ① to node ⑨ is , and the shortest path weights are ( 0.424 , 0.664 , 0.825 , 0.928 ) , ( 0.012 , 0.06 , 0.12 , 0.27 ) , ( 0.02 , 0.06 , 0.126 , 0.252 ) .
2. Use of the enumeration algorithm in various examples
According to the adjacency matrix, all of the paths from node ① to node ⑥ are traversed. The distances of the neutrosophic edges of all paths are calculated according to Equation (5), and their score functions and exact functions are listed in Table 5.
According to Definition 7, the edge distance of p2 is the smallest, and the shortest path is             .
When using the enumeration algorithm to calculate the second example, there are 22 possible paths, and their scores and exact functions are calculated. The shortest path is             , and the shortest path distance is ( 0.424 , 0.664 , 0.825 , 0.928 ) , ( 0.012 , 0.06 , 0.12 , 0.27 ) , ( 0.02 , 0.06 , 0.126 , 0.252 ) .
3. Use of the Bellman algorithm in various examples
Here, N O end is the number of the end point, N ˜ ( ij ) is the distance between point i and point j, and f ( i ) is the shortest distance from point 1 to point i. Figure 13 shows the calculation flowchart of the Bellman algorithm in [31].
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, 0 . 18 , 0 . 36 ) , ( 0 . 01 , 0 . 08 , 0 . 15 , 0 . 24 ) } = ( 0 . 19 , 0 . 44 , 0 . 58 , 0 . 75 ) , ( 0 . 06 , 0 . 12 , 0 . 25 , 0 . 49 ) , ( 0 . 08 , 0 . 15 , 0 . 36 , 0 . 56 ) f ( 6 ) = min i < 6 { f ( i ) N ˜ ( i 6 ) } = min { f ( 4 ) N ˜ ( 46 ) , f ( 5 ) N ˜ ( 56 ) } = min { ( 0.37 , 0.58 , 0.62 , 0.85 ) , ( 0.02 , 0.06 , 0.15 , 0.35 ) , ( 0.12 , 0.25 , 0.42 , 0.72 ) ( 0 . 4 , 0 . 6 , 0 . 8 , 0 . 9 ) , ( 0 . 2 , 0 . 4 , 0 . 5 , 0 . 6 ) , ( 0 . 1 , 0 . 3 , 0 . 4 , 0 . 5 ) , ( 0 . 19 , 0 . 44 , 0 . 58 , 0 . 75 ) , ( 0 . 06 , 0 . 12 , 0 . 25 , 0 . 49 ) , ( 0 . 08 , 0 . 15 , 0 . 36 , 0 . 56 ) ( 0 . 2 , 0 . 3 , 0 . 4 , 0 . 5 ) , ( 0 . 3 , 0 . 4 , 0 . 5 , 0 . 6 ) , ( 0 . 1 , 0 . 3 , 0 . 5 , 0 . 6 ) } = min { ( 0.622 , 0.832 , 0.924 , 0.985 ) , ( 0.004 , 0.024 , 0.075 , 0.210 ) , ( 0.012 , 0.075 , 0.168 , 0.360 ) , ( 0.352 , 0.608 , 0.748 , 0.875 ) , ( 0.018 , 0.048 , 0.125 , 0.294 ) , ( 0.008 , 0.045 , 0.180 , 0.336 ) } = ( 0.352 , 0.608 , 0.748 , 0.875 ) , ( 0.018 , 0.048 , 0.125 , 0.294 ) , ( 0.008 , 0.045 , 0.180 , 0.336 )
Thus,
f ( 6 ) = f ( 5 ) N ˜ ( 56 ) = f ( 2 ) N ˜ ( 25 ) N ˜ ( 56 ) = f ( 1 ) N ˜ ( 12 ) N ˜ ( 25 ) N ˜ ( 56 ) = N ˜ ( 12 ) N ˜ ( 25 ) N ˜ ( 56 )
Therefore, path p ( 1256 ) is recognized as the neutrosophic shortest path, its neutrosophic distance is ( 0.352 , 0.608 , 0.748 , 0.875 ) , ( 0.018 , 0.048 , 0.125 , 0.294 ) , ( 0.008 , 0.045 , 0.180 , 0.336 ) , and its score function and exact function are
S ( p ( 1256 ) ) = 1 3 × ( 2 + 0.352 + 0.608 + 0.748 + 0.875 4 0.018 + 0.048 + 0.125 + 0.294 4 0.008 + 0.045 + 0.180 + 0.336 4 ) = 0 . 794 H ( p ( 1256 ) ) = 0.352 + 0.608 + 0.748 + 0.875 4 0.008 + 0.045 + 0.180 + 0.336 4 = 0 . 504
respectively.
The same calculation process can be used to determine
f ( 9 ) = f ( 6 ) N ˜ ( 69 ) = f ( 3 ) N ˜ ( 36 ) N ˜ ( 69 ) = f ( 1 ) N ˜ ( 13 ) N ˜ ( 36 ) N ˜ ( 69 ) = N ˜ ( 13 ) N ˜ ( 36 ) N ˜ ( 69 )
Its shortest path is p(1369).
Based on the comparison of the four algorithms, the proposed circle-breaking algorithm is equivalent to the Dijkstra and enumeration algorithms, achieving the same shortest path and shortest path distance. Additionally, the implementation of the algorithm is feasible and reasonable. Moreover, the circle-breaking algorithm is easy to understand, and its implementation is relatively simple.
Furthermore, from the perspective of the time complexity of the algorithm, the Bellman algorithm is a two-layer loop, and the inner loop includes one iteration; therefore, the time complexity of the Bellman algorithm is O ( n 3 ) . In contrast, the circle-breaking and Dijkstra algorithms are both two-layer loops with a time complexity of O ( n 2 ) ; however, there is no inevitable sequence for evaluating the in-degree of all vertices in the circle-breaking algorithm. Nevertheless, multithreaded or distributed programming can be employed to reduce the time complexity of the algorithm. Therefore, we use the code of the circle-breaking algorithm; when run using 10 threads, the time complexity of the algorithm can be reduced to O ( n 2 ) / 10 . The pseudocode of the Algorithm 2 circle-breaking algorithm is as follows:
Algorithm 2 Multi-threaded realization of circle-breaking algorithm
 Class Circle-breaking extends Thread{
 public Circle-breaking(int k){
   for(int i = (k − 1)*N/10, i < k*N/10, i++)
   {
    while(in-degree[i] > 1)
    {
     if( n ˜ p 1 > n ˜ p 2 )
     {
      Delete the last edge in p1
     }
     else
     {
      Delete the last edge in p2
     }
    }
   }
  }
 }
  public static void main(String[] args) {
   Circle-breaking[] c = new Circle-breaking [10];
   for(int i = 0; i < c.length; i++)
   {
    c[i] = new Circle-breaking(i + 1);
    c[i].start();
   }
 }
Assuming that the computer requires 0.0001 s to perform a calculation, the execution times of the program when using the circle-breaking, Dijkstra, and Bellman algorithms are determined, as depicted in Figure 14 and Figure 15.
In these figures, the abscissa represents the number of vertices of the neutrosophic graph, and the ordinate represents the running time of the algorithm. As shown in Figure 14 and Figure 15, in the case of the same number of vertices in the neutrosophic graph, the running time of the circle-breaking algorithm is lesser than those of the Dijkstra and Bellman algorithms. Hence, the circle-breaking algorithm is feasible and reasonable.

6. Conclusions

In this study, we developed a circle-breaking algorithm for solving the SPP of a trapezoidal fuzzy neutrosophic graph and verified the feasibility of the algorithm using an example. Furthermore, we compared the algorithm with the Bellman and Dijkstra algorithms and obtained a consistent shortest path, thereby demonstrating the effectiveness of the algorithm. Finally, we compared the operating efficiencies of the three algorithms and proved that the circle-breaking algorithm could achieve better operating efficiency through multithreaded or distributed programming. In the future, we intend to appropriately sort the in-degrees of the nodes when initializing the data for further efficiency improvement.

Author Contributions

All three authors contributed to this article, and the specific contributions are as follows. L.Y. proposed the idea and mathematical model and wrote the paper. D.L. analyzed the existing work on the research problem and collected relevant data. R.T. reviewed and submitted the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Planning Office of Philosophy and Social Science [grant number 17CGL058].

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ahuja, R.K.; Mehlhorn, K.; Orlin, J.; Tarjan, R.E. Faster algorithms for the shortest path problem. J. ACM 1990, 37, 213–223. [Google Scholar] [CrossRef] [Green Version]
  2. Dubois, D.; Prade, H.; Yager, R.R. Fuzzy Information Engineering: A Guided Tour of Applications; John Wiley and Sons: New York, NY, USA, 1997. [Google Scholar]
  3. Biswas, S.S.; Alam, B.; Doja, M.N. Intuitionistic Fuzzy Real Time Multigraphs for Communication Networks: A Theoretical Model. In Proceedings of the 2013 AASRI Conference on Parallel and Distributed Computing and Systems, Singapore, 1–3 May 2013; pp. 114–119. [Google Scholar]
  4. Gabrel, V.; Murat, C.; Wu, L. New models for the robust shortest path problem: Complexity, resolution and generalization. Ann. Oper. Res. 2013, 207, 97–120. [Google Scholar] [CrossRef]
  5. Grigoryan, H.; Harutyunyan, H.A. The shortest path problem in the Knödel graph. J. Discret. Algorithms 2015, 31, 40–47. [Google Scholar] [CrossRef]
  6. Broumi, S.; Bakali, A.; Talea, M.; Smarandache, F. Isolated Single Valued Neutrosophic Graphs. Neutrosophic Sets Syst. 2016, 11, 74–78. [Google Scholar]
  7. Rajashi, C.; Pinaki, M.; Syamal, K.S. Interval-Valued Possibility Quadripartitioned Single Valued Neutrosophic Soft Sets and Some Uncertainty Based Measures on Them. Neutrosophic Sets Syst. 2016, 14, 35–43. [Google Scholar]
  8. Buckley, J.; Jowers, L.J. Fuzzy shortest path problem. Monte Carlo methods in fuzzy optimization. Stud. Fuzziness Soft Comput. 2007, 222, 191–193. [Google Scholar]
  9. Deng, Y.; Chen, Y.; Zhang, Y.; Mahadevan, S. Fuzzy Dijkstra algorithm for shortest path problem under uncertain environment. Appl. Soft Comput. 2012, 12, 1231–1237. [Google Scholar] [CrossRef]
  10. Ye, J. Multiple-attribute decision-making method under a single-valued neutrosophic hesitant fuzzy environment. J. Intell. Syst. 2014, 24, 23–36. [Google Scholar] [CrossRef]
  11. Peng, J.J.; Wang, J.Q. Multi-valued Neutrosophic Sets and its Application in Multi-criteria Decision-making Problems. Neutrosophic Sets Syst. 2015, 10, 3–17. [Google Scholar] [CrossRef]
  12. Ye, J. Trapezoidal neutrosophic set and its application to multiple attribute decision-making. Neural Comput. Appl. 2015, 26, 1157–1166. [Google Scholar] [CrossRef]
  13. Nancy; Harish, G. An improved score function for ranking neutrosophic sets and its application to decision making process. Int. J. Uncertain. Quantfication 2016, 6, 377–385. [Google Scholar] [CrossRef]
  14. Broumi, S.; Bakali, A.; Talea, M.; Smarandache, F.; Verma, R. Computing Minimum Spanning Tree in Interval Valued Bipolar Neutrosophic Environment. Int. J. Model. Optim. 2017, 7, 300–304. [Google Scholar] [CrossRef]
  15. Peng, X.D.; Dai, J.G. Algorithms for interval neutrosophic multiple attribute decision-making based on MABAC, similarity measure, and EDAS. Int. J. Uncertain. Quantfication 2017, 7, 395–421. [Google Scholar] [CrossRef] [Green Version]
  16. Smarandache, F. A Unifying Field in Logics: Neutrosophic Logic, Neutrosophic Set, Neutrosophic Probability and Statistics, 4th ed.; American Research Press: Rehoboth, DE, USA, 1998. [Google Scholar]
  17. Wang, H.B.; Smarandache, F.; Zhang, Y.Q.; Sunderraman, R. Single valued neutrosophic sets. Tech. Sci. Appl. Math. 2012, 20, 10–14. [Google Scholar]
  18. Deli, I.; Şubaş, Y. A ranking method of single valued neutrosophic numbers and its applications to multi-attribute decision making problems. Int. J. Mach. Learn. Cyb. 2017, 8, 1309–1322. [Google Scholar]
  19. Broumi, S.; Bakali, A.; Bahnasse, A. Neutrosophic sets: On overview. New Trends Neutrosophic Theor. Appl. 2018, 2, 403–434. [Google Scholar]
  20. Broumi, S.; Bakali, A.; Talea, M.; Smarandache, F.; Ali, M. Shortest Path Problem under Bipolar Neutrosphic Setting. Appl. Mech. Mater. 2017, 859, 59–66. [Google Scholar] [CrossRef]
  21. Bolturk, E.; Kahraman, C. A novel interval-valued neutrosophic AHP with cosine similarity measure. Soft Comput. 2018, 22, 4941–4958. [Google Scholar] [CrossRef]
  22. Biswas, P.; Pramanik, S.; Giri, B.C. Distance measure based MADM strategy with interval trapezoidal neutrosophic numbers. Neutrosophic Sets Syst. 2018, 19, 40–46. [Google Scholar]
  23. Deli, I. Expansions and reductions on neutrosophic classical soft set. Süleyman Demirel U. J. Nat. Appl. Sci. 2018, 22, 478–486. [Google Scholar] [CrossRef]
  24. Deli, I. Operators on single valued trapezoidal neutrosophic numbers and SVTN-group decision making. Neutrosophic Sets Syst. 2018, 22, 131–151. [Google Scholar]
  25. Deli, I.; Şubaş, Y. Some weighted geometric operators with SVTrN-numbers and their application to multi-criteria decision making problems. J. Intell. Fuzzy Syst. 2017, 32, 291–301. [Google Scholar] [CrossRef] [Green Version]
  26. Basset, M.A.; Atef, A.; Smarandache, F. A hybrid neutrosophic multiple criteria group decision making approach for project selection. Cogn. Syst. Res. 2019, 57, 216–227. [Google Scholar] [CrossRef]
  27. Basset, M.A.; Mohamed, M.; Sangaiah, A.K. Neutrosophic AHPDelphi Group decision making model based on trapezoidal neutrosophic numbers. J. Amb. Intel. Hum. Comp. 2017, 9, 1427–1443. [Google Scholar] [CrossRef] [Green Version]
  28. Kumar, R.; Edaltpanah, S.A.; Jha, S.; Broumi, S. Neutrosophic shortest path problem. Neutrosophic Sets Syst. 2018, 23, 5–15. [Google Scholar]
  29. Broumi, S.; Bakali, A.; Talea, M.; Smarandache, F.; Kishore, P.K.; Şahin, R. Shortest path problem under interval valued neutrosophic setting. Int. J. Adv. Trends Comput. Sci. Eng. 2019, 8, 216–222. [Google Scholar]
  30. Tan, R.P.; Zhang, W.D.; Broumi, S. Solving methods for the shortest path problem based on trapezoidal fuzzy neutrosophic numbers. Control Decis. 2019, 34, 851–860. [Google Scholar]
  31. Broumi, S.; Dey, A.; Talea, M.; Bakali, A.; Smarandache, F.; Nagarajan, D.; Lathamaheswari, M.; Kumar, R. Shortest path problem using Bellman algorithm under neutrosophic environment. Complex Intell. Syst. 2019, 5, 409–416. [Google Scholar] [CrossRef] [Green Version]
  32. Chakraborty, A. Application of Pentagonal Neutrosophic Number in Shortest Path Problem. Int. J. Neutrosophic Sci. 2020, 3, 21–28. [Google Scholar]
  33. Schweizer, P. Uncertainty: Two probabilities for the three states of neutrosophy. Int. J. Neutrosophic Sci. 2020, 2, 18–26. [Google Scholar]
  34. Edalatpanah, S.A. A Direct Model for Triangular Neutrosophic Linear Programming. Int. J. Neutrosophic Sci. 2020, 1, 19–28. [Google Scholar]
  35. Yang, L.H.; Li, D.M.; Tan, R.P. Research on the Shortest Path Solution Method of Interval Valued Neutrosophic Graphs Based on the Ant Colony Algorithm. IEEE Access 2020, 8, 88717–88728. [Google Scholar] [CrossRef]
  36. Guan, M.G. Algorithm of breaking circle for minimum tree. J. Math. Pract. Theory 1975, 4, 40–43. [Google Scholar]
  37. Zeng, J.B.; Zhang, W.; Li, X.Y. Islanding Algorithm of Distribution System with Distributed Generations based on Circle-breaking Algorithm. Power Sys. Eng. 2019, 35, 15–19. [Google Scholar]
Figure 1. Flowchart of the circle-breaking algorithm.
Figure 1. Flowchart of the circle-breaking algorithm.
Symmetry 12 01360 g001
Figure 2. Trapezoidal fuzzy neutrosophic graph.
Figure 2. Trapezoidal fuzzy neutrosophic graph.
Symmetry 12 01360 g002
Figure 3. Closed circle ①②④③①.
Figure 3. Closed circle ①②④③①.
Symmetry 12 01360 g003
Figure 4. Removal of edge (3, 4).
Figure 4. Removal of edge (3, 4).
Symmetry 12 01360 g004
Figure 5. Closed circle ①②⑤③①.
Figure 5. Closed circle ①②⑤③①.
Symmetry 12 01360 g005
Figure 6. Removal of edge (3, 5).
Figure 6. Removal of edge (3, 5).
Symmetry 12 01360 g006
Figure 7. Closed circle ②④⑥⑤②.
Figure 7. Closed circle ②④⑥⑤②.
Symmetry 12 01360 g007
Figure 8. Removal of edge (4, 6).
Figure 8. Removal of edge (4, 6).
Symmetry 12 01360 g008
Figure 9. Shortest path of example 1.
Figure 9. Shortest path of example 1.
Symmetry 12 01360 g009
Figure 10. Trapezoidal fuzzy neutrosophic graph.
Figure 10. Trapezoidal fuzzy neutrosophic graph.
Symmetry 12 01360 g010
Figure 11. Shortest path of example 2.
Figure 11. Shortest path of example 2.
Symmetry 12 01360 g011
Figure 12. Flowchart of the Dijkstra algorithm.
Figure 12. Flowchart of the Dijkstra algorithm.
Symmetry 12 01360 g012
Figure 13. Flowchart of the Bellman algorithm.
Figure 13. Flowchart of the Bellman algorithm.
Symmetry 12 01360 g013
Figure 14. Comparison of the execution times of the circle-breaking and Dijkstra algorithms.
Figure 14. Comparison of the execution times of the circle-breaking and Dijkstra algorithms.
Symmetry 12 01360 g014
Figure 15. Comparison of the execution times of the circle-breaking and Bellman algorithms.
Figure 15. Comparison of the execution times of the circle-breaking and Bellman algorithms.
Symmetry 12 01360 g015
Table 1. Details of edge information in terms of trapezoidal fuzzy neutrosophic numbers (TrFNN).
Table 1. Details of edge information in terms of trapezoidal fuzzy neutrosophic numbers (TrFNN).
EdgesTrapezoidal Fuzzy Neutrosophic Distances
(1, 2)<(0.1, 0.2, 0.3, 0.5), (0.2, 0.3, 0.5, 0.6), (0.4, 0.5, 0.6, 0.8)>
(1, 3)<(0.2, 0.4, 0.5, 0.7), (0.3, 0.5, 0.6, 0.9), (0.1, 0.2, 0.3, 0.4)>
(2, 4)<(0.3, 0.4, 0.6, 0.7), (0.1, 0.2, 0.3, 0.5), (0.3, 0.5, 0.7, 0.9)>
(2, 5)<(0.1, 0.3, 0.4, 0.5), (0.3, 0.4, 0.5, 0.7), (0.2, 0.3, 0.6, 0.7)>
(3, 4)<(0.2, 0.3, 0.5, 0.6), (0.2, 0.5, 0.6, 0.7), (0.4, 0.5, 0.6, 0.8)>
(3, 5)<(0.3, 0.6, 0.7, 0.8), (0.1, 0.2, 0.3, 0.4), (0.1, 0.4, 0.5, 0.6)>
(4, 6)<(0.4, 0.6, 0.8, 0.9), (0.2, 0.4, 0.5, 0.6), (0.1, 0.3, 0.4, 0.5)>
(5, 6)<(0.2, 0.3, 0.4, 0.5), (0.3, 0.4, 0.5, 0.6), (0.1, 0.3, 0.5, 0.6)>
Table 2. Details of edge information in terms of TrFNN.
Table 2. Details of edge information in terms of TrFNN.
EdgesTrapezoidal Fuzzy Neutrosophic Distance
(1, 2)<(0.1, 0.3, 0.4, 0.5), (0.3, 0.5, 0.6, 0.7), (0.1, 0.3, 0.4, 0.6)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, 0.4, 0.5)>
(8, 9)<(0.2, 0.3, 0.5, 0.6), (0.1, 0.2, 0.4, 0.5), (0.5, 0.6, 0.7, 0.8)>
Table 3. Shortest paths and their weights from starting node ① to all nodes (Example 1).
Table 3. Shortest paths and their weights from starting node ① to all nodes (Example 1).
NodesDistance of Shortest PathShortest Path
( 0.1 , 0.2 , 0.3 , 0.5 ) ,   ( 0.2 , 0.3 , 0.5 , 0.6 ) ,   ( 0.4 , 0.5 , 0.6 , 0.8 )    
( 0.2 , 0.4 , 0.5 , 0.7 ) ,   ( 0.3 , 0.5 , 0.6 , 0.9 ) ,   ( 0.1 , 0.2 , 0.3 , 0.4 )    
( 0.37 , 0.52 , 0.72 , 0.85 ) ,   ( 0.02 , 0.06 , 0.15 , 0.30 ) ,   ( 0.12 , 0.25 , 0.42 , 0.72 )        
( 0.19 , 0.44 , 0.58 , 0.75 ) ,   ( 0.06 , 0.12 , 0.25 , 0.42 ) ,   ( 0.08 , 0.15 , 0.36 , 0.56 )        
( 0.352 , 0.608 , 0.748 , 0.875 ) ,   ( 0.018 , 0.048 , 0.125 , 0.294 ) ,   ( 0.008 , 0.045 , 0.180 , 0.336 )            
Table 4. Shortest paths and their weights from starting node ① to all nodes (Example 2).
Table 4. Shortest paths and their weights from starting node ① to all nodes (Example 2).
NodesDistance of Shortest PathShortest Path
< ( 0.1 , 0.3 , 0.4 , 0.5 ) , ( 0.3 , 0.5 , 0.6 , 0.7 ) , ( 0.1 , 0.3 , 0.4 , 0.6 ) >    
< ( 0.2 , 0.4 , 0.5 , 0.7 ) , ( 0.3 , 0.5 , 0.6 , 0.9 ) , ( 0.1 , 0.2 , 0.3 , 0.4 ) >    
< ( 0.2 , 0.3 , 0.4 , 0.6 ) , ( 0.2 , 0.4 , 0.5 , 0.6 ) , ( 0.4 , 0.5 , 0.7 , 0.8 ) >    
< ( 0.36 , 0.51 , 0.64 , 0.8 ) , ( 0.06 , 0.16 , 0.25 , 0.36 ) , ( 0.04 , 0.15 , 0.35 , 0.48 ) >        
< ( 0.28 , 0.52 , 0.65 , 0.82 ) , ( 0.06 , 0.2 , 0.3 , 0.54 ) , ( 0.04 , 0.1 , 0.18 , 0.28 ) >        
< ( 0.28 , 0.51 , 0.7 , 0.84 ) , ( 0.04 , 0.12 , 0.25 , 0.42 ) , ( 0.16 , 0.25 , 0.49 , 0.64 ) >        
< ( 0.352 , 0.608 , 0.79 , 0.92 ) , ( 0.008 , 0.036 , 0.125 , 0.252 ) , ( 0.064 , 0.125 , 0.294 , 0.512 ) >            
< ( 0.424 , 0.664 , 0.825 , 0.928 ) , ( 0.012 , 0.06 , 0.12 , 0.27 ) , ( 0.02 , 0.06 , 0.126 , 0.252 ) >            
Table 5. List of all paths from node ① to node ⑥ (example 1).
Table 5. List of all paths from node ① to node ⑥ (example 1).
Optional PathScore FunctionExact Function
p 1 :               0.8720.686
p 2 :               0.7980.504
p 3 :               0.8710.780
p 4 :               0.8890.755

Share and Cite

MDPI and ACS Style

Yang, L.; Li, D.; Tan, R. Shortest Path Solution of Trapezoidal Fuzzy Neutrosophic Graph Based on Circle-Breaking Algorithm. Symmetry 2020, 12, 1360. https://doi.org/10.3390/sym12081360

AMA Style

Yang L, Li D, Tan R. Shortest Path Solution of Trapezoidal Fuzzy Neutrosophic Graph Based on Circle-Breaking Algorithm. Symmetry. 2020; 12(8):1360. https://doi.org/10.3390/sym12081360

Chicago/Turabian Style

Yang, Lehua, Dongmei Li, and Ruipu Tan. 2020. "Shortest Path Solution of Trapezoidal Fuzzy Neutrosophic Graph Based on Circle-Breaking Algorithm" Symmetry 12, no. 8: 1360. https://doi.org/10.3390/sym12081360

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