Next Article in Journal
Probabilistic Analysis of Distributed Fractional-Order Stochastic Systems Driven by Fractional Brownian Motion: Existence, Uniqueness, and Transportation Inequalities
Next Article in Special Issue
A Data-Driven Methodology for Hierarchical Production Planning with LSTM-Q Network-Based Demand Forecast
Previous Article in Journal
On the Approximations and Symmetric Properties of Frobenius–Euler–Şimşek Polynomials Connecting Szász Operators
Previous Article in Special Issue
Prospects for Using Finite Algebraic Rings for Constructing Discrete Coordinate Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Intelligent Emergency Logistics Route Model Based on Cellular Space AGNES Clustering and Symmetrical Fruit Fly Optimization Algorithm

1
Institute of Culture and Tourism, Leshan Vocational and Technical College, Leshan 614000, China
2
Key Laboratory of Intelligent Emergency Management, Xihua University, Chengdu 610039, China
3
Department of Defense Economics, Army Logistics Academy, Chongqing 401331, China
4
Department of Quartermaster and Acquisition, Army Logistics Academy, Chongqing 401331, China
5
Department of Military Logistic, Army Logistics Academy, Chongqing 401331, China
*
Authors to whom correspondence should be addressed.
Symmetry 2025, 17(5), 649; https://doi.org/10.3390/sym17050649
Submission received: 26 March 2025 / Revised: 20 April 2025 / Accepted: 22 April 2025 / Published: 25 April 2025
(This article belongs to the Special Issue Symmetry in Computing Algorithms and Applications)

Abstract

:
In response to the current research status and existing problems of material distribution during major emergency events, we construct an intelligent emergency logistics route model based on cellular space AGNES clustering (AGglomerative NESting clustering) and a symmetrical fruit fly optimization algorithm. We establish the cellular algorithm based on urban road nodes and node local spaces, and construct the topology algorithm to implement the cellular space in a way that includes distribution centers and delivery points. In the cellular space, we develop an improved AGNES clustering algorithm based on the cellular space model in accordance with the neighboring relationship between distribution centers and delivery points, which quantifies the spatial clustering relationship between the distribution centers and the delivery points. Based on the clustering model, we construct an emergency logistics route model by using a symmetrical fruit fly optimization algorithm. In line with the symmetrical feature of a logistics route from one destination to another, the traveling distances within one route section are the same in both directions. Thus, we construct the logistics sub-intervals and logistics intervals by using distribution centers and delivery points, and the optimal fruit fly individuals and corresponding fitness functions are searched within the two-level intervals to obtain the emergency logistics routes with the lowest costs. Experimental results show that the proposed algorithm can output the optimal logistics routes for each logistics sub-interval and the entire logistics interval. Compared with the traditional route planning methods Dijkstra’s algorithm and the A* algorithm, it can reduce the cost of route planning and achieve optimization rates of 9.89% and 13.12%, respectively. The t-test proves that the constructed algorithm is superior to the traditional route planning algorithms in saving route costs.

1. Introduction

1.1. Research Background and Existing Problems

The planning and decision-making of the emergency logistics space is one of the important core contents of urban emergency construction. Its goal is to quickly take emergency measures to achieve the effective distribution and the targeted rapid allocation of emergency supplies in the event of sudden public safety incidents, ensuring that the disaster-stricken residents in a city receive a timely supply of materials. In the construction of an intelligent emergency logistics system, the spatial planning and decision-making of the intelligent emergency logistics is the core essence, being the key link connecting the emergency departments and the urban residents under emergency conditions. One of the most essential elements in emergency logistics spatial planning is emergency logistics route planning [1,2]. When a disaster occurs, the transportation of materials from the urban distribution center to the delivery point passes through the complex transportation system of the city, which is constrained in terms of transportation time and costs by the complex transportation system of the city. In order to transport materials to their destinations with minimal costs, the emergency management departments need to consider several key factors. The first is the spatial relationship between the distribution centers and the delivery points. Distribution centers and delivery points are geographical entities distributed in cities. For any delivery point, there are multiple distribution centers in the city that can transport and allocate materials, but not all the distribution centers are optimal. Usually, we determine the nearest distribution center for the delivery point based on the principle of proximity, and allocate materials from the nearest distribution center to improve the efficiency of the material distribution. Thus, building a spatial relationship model between the distribution centers and the delivery points is the primary condition. The second factor is that, in a complex urban transportation system, the transportation routes between the distribution centers and the delivery points determine the transportation time and costs, and this determining factor is the transportation distance. Therefore, constructing a spatial distance algorithm in a complex transportation system to search for the optimal route between the distribution centers and the delivery points is the core method for planning the optimal route for the emergency distribution. The third factor is that, when a large-scale disaster or major emergency occurs, multiple delivery points all need materials. At this time, it is necessary to start from a certain distribution center, set multiple delivery points as the intermediate nodes, and use a certain distribution center as the terminal to build an intact distribution route and complete the material distribution with the lowest costs [3,4,5].
At present, there are some problems in the research on emergency logistics planning. Firstly, most studies focus on theoretical research on emergency logistics strategies, demonstrating the role played by the distribution centers and the logistics models in the process of emergency material distribution, providing references for emergency management departments. This research method only discusses the problems from a theoretical level and lacks studies on specific technical processes and logistics planning methods. There is no complete and reasonable study on intelligent emergency logistics planning methods for sudden public safety incidents. Secondly, preliminary exploratory studies have been carried out on the informatization and intelligent construction of emergency logistics, taking the Internet, big data, multimedia, etc., as the common technologies for establishing emergency logistics. However, there is insufficient research on the integration of information technology and intelligent technology with emergency logistics planning and decision-making. There is also a lack of research on the development of intelligent and information-based models and key technologies for emergency logistics planning and decision-making, especially in the design of core algorithm models, intelligent logistics space decision-making, and intelligent logistics route planning models. Thirdly, in the planning and decision-making of intelligent emergency logistics, the spatial structure and deep clustering relationship of the distribution centers and the delivery points are the core elements for building the urban emergency space. Meanwhile, an emergency logistics route model based on the spatial structure and clustering relationship is the core of realizing intelligent emergency logistics. In the event of sudden emergencies, the logistics time, logistics cost, logistics efficiency, etc., are the primary constraints. At present, most logistics route studies focus on commodity logistics, lacking focus on spatial planning and route planning for handling emergencies. Therefore, the premise of studying intelligent emergency logistics is to establish the spatial structure and clustering relationship between the distribution centers and the delivery points, and to construct the most efficient route planning and decision-making model for logistics under emergency conditions. This is currently a relatively weak research area.

1.2. Research Questions

Based on analysis of the research background and the existing problems, we propose three research questions for the work:
(1) Research Question 1: How to determine the urban distribution centers, the distribution points, and the geographic spatial constraints based on the actual conditions of major emergencies, in order to provide the prerequisites for establishing an urban emergency logistics route system.
(2) Research Question 2: How to construct a clustering algorithm that conforms to the spatial layout of the urban geographic space under the constraints of the urban geographic conditions, establish the spatial clustering relationships between the logistics distribution centers and the delivery points within the city, and provide the data basis for emergency management departments to determine the distribution centers for material assembly and plan emergency logistics routes.
(3) Research Question 3: How to integrate the intelligent algorithm with emergency logistics route planning and construct an optimal logistics route system under the geospatial constraints, so that emergency management departments can achieve efficient material distribution under the logistics cost conditions with the shortest transportation distances and time, so as to meet the needs of urban emergency management.

1.3. The Solution and Research Architecture

Based on the research background and the existing problems, we construct an intelligent emergency logistics route model based on cellular space AGNES clustering and a symmetrical fruit fly optimization algorithm. We conduct three aspects of research on the problems in emergency logistics planning, and the main solutions and research architecture are as follows.
Firstly, to address the spatial relationship model between the distribution centers and the delivery points, we construct an emergency logistics cellular space model based on a neighborhood topology algorithm. We discretize the research domain into multiple spatial cellulars, each consisting of road control points, in which some cellulars correspond to the distribution centers and others correspond to the delivery points. The construction of the cellular space model discretizes the research domain into quantifiable space. By establishing the relationship model between the distribution center cellulars and the neighboring cellulars, the topological relationship between the distribution centers and the delivery points can be constructed; thereby, the spatial relationship between the two elements is founded.
Secondly, based on the establishment of the cellular space model and the topological relationship model, we construct an improved AGNES clustering algorithm based on the cellular space model, with the goal of further constructing the optimal spatial relationship between the delivery point cellular and the neighboring distribution centers. Based on the topological relationship and spatial clustering objective function, we further establish the AGNES decision trees between each delivery point and distribution center, and construct an improved AGNES clustering algorithm to achieve delivery point clustering, accurately obtain the spatial relationship between the two elements, and provide a data model for constructing an emergency logistics route algorithm.
Finally, we construct an urban emergency logistics route model based on two advanced conditions by using an improved fruit fly optimization algorithm. The first level condition is to construct an improved fruit fly optimization algorithm within the logistics sub-interval between the distribution center and the delivery point, or between two delivery points, to achieve the optimal logistics route between the two points. The second level condition is that when a major emergency occurs, the distribution center allocates materials to multiple delivery points. It should construct an improved fruit fly optimization algorithm within the logistics interval between the distribution center and multiple delivery points, and search for the optimal logistics route.
We design an experiment to verify the feasibility of the proposed algorithm. At the same time, we design a comparative experiment, in which the Dijkstra algorithm and the A* algorithm are set as the control group, while the proposed algorithm is set as the experimental group to demonstrate the advantages. Figure 1 shows the solution and research architecture.

1.4. The Main Contributions of the Work

Based on the research background and the existing problems, this work constructs a material distribution route algorithm in urban emergency logistics scenarios, aiming to establish the spatial clustering relationships between the distribution centers and the delivery points, and to plan efficient logistics routes with the shortest transportation time and distances for emergency management departments. The main contributions of the work are as follows:
(1) We develop an innovative quantitative research method that introduces a spatial cellular model into emergency logistics scenarios. We design a spatial cellular topology algorithm based on the distribution centers and the delivery points, which achieves the quantification and structuring of the emergency logistics space, and provides the data conditions for constructing a clustering algorithm.
(2) We develop a spatial clustering algorithm between the distribution centers and the delivery points, innovatively integrating the improved AGNES clustering algorithm with the emergency logistics scenarios. It forms a more scientific and reasonable spatial neighborhood relationship between the distribution centers and the delivery points, providing a quantitative modeling method for constructing the urban emergency logistics topology.
(3) We introduce a fruit fly optimization algorithm, in the intelligent algorithms, into logistics route planning for emergency logistics scenarios, combined with geographic spatial constraints. It can accurately and efficiently search for the logistics route with the lowest global costs, which is superior to traditional route planning algorithms and can provide decision-making support for emergency management departments to reasonably plan material distribution routes.

2. Related Work

Scholars have conducted extensive research on logistics spatial planning and distribution optimization. Kleinová et al. [6] applied artificial intelligence to a company’s micro logistics model and optimized delivery routes by using ChatGPT-3.5 (Chat Generative Pre-trained Transformer-3.5), significantly reducing the total travel distance and greatly saving transportation costs. This approach relies on mature artificial intelligence software and lacks a specific algorithm tailored to the urban geographic and spatial conditions, resulting in insufficient accuracy to match the actual situation of emergency logistics. Yu et al. [7] proposed a reinforcement learning algorithm that integrates the multi-head attention mechanism and the local searching strategy to achieve vehicle path optimization. It used the “encoder-decoder” iteration to generate paths for vehicles departing from different vehicle segments, and adopt the local searching strategy to improve the quality of the solution. This method focuses on local optimal searching and does not search for routes from a global optimal perspective. Although it can improve searching efficiency, the obtained solution may not be the global optimal solution. Zhang et al. [8] studied the optimization problem of the Vehicle Routing Problem (VRP) in supermarket store delivery. With cost minimization as the objective function, a Floyd algorithm, a nearest neighbor algorithm, and an insertion algorithm were constructed to search for the optimal route. Since the Floyd algorithm, etc., have their own shortcomings, such as high time complexity, they can cause excessive system memory usage when there are too many nodes. Zhang et al. [9] proposed a factory-end logistics distribution route optimization method based on k-means clustering. It introduced information entropy to optimize the classical k-means dynamic clustering algorithm and collect data on factory-end logistics distribution. By setting the starting point and the process of delivery route, it determined the data weights in the delivery data set, and identified the optimal route for factory-end logistics distribution. This study only designs the optimal route by determining the weights of the data set, without considering the spatial relationship between the delivery points or searching for the global optimal solution. Dan [10] addressed the issue of store delivery in the transformation and upgrading of chain supermarkets under the O2O (Online to Offline) e-commerce model. Taking into account factors such as distribution distance, the number of distribution vehicles, and the distribution time, which affect distribution costs and customer satisfaction, an O2O store distribution optimization model was constructed with the goal of minimizing the total distribution costs. In addition, a two-stage heuristic algorithm was designed for sorting the nearest delivery point and planning mileage saving. This study focuses on prioritizing the nearest delivery points and does not take into account the routing problem of all delivery points in the region. When the delivery point is far away, the applicability of the algorithm is low. Puspitasari et al. [11] created a delivery area for each courier and used courier allocation optimization to minimize mileage. The research adopted the classical Vehicle Routing Problem (VRP) mathematical model to determine the route with the goal of minimizing the travel time. This study divides the delivery areas without considering the spatial relationship between the distribution centers and the delivery points, nor does it consider the feasibility of algorithms when the delivery needs to cross regions. Therefore, it has certain limitations. Sembiring et al. [12] combined the closest delivery routes by using the Traveling Salesman Problem (TSP) method and improved the route sequence. It studied the route optimization problems from the perspectives of travel time and the utility of transportation equipment. This study does not consider the search for the global optimal route, only analyzes the problem from the perspective of combinational optimization, and the output route may not be the global optimal solution. Qiao [13] established a distribution route model for a cold chain distribution center and multiple customer cold chain logistics. It analyzed and defined the time, temperature, and damage costs of the cold chain logistics in the distribution process, and established a total cost minimization model. It only considers one distribution center and does not develop a global optimal route algorithm for the current situation in which there are multiple distribution centers and delivery points in the city, and therefore has certain limitations.
Based on analysis of the previous related research, it can be concluded that the current logistics route algorithm still needs to address the following issues. Firstly, it is necessary to establish a spatial relationship model between the distribution center and the delivery point, which is a prerequisite for searching for the optimal logistics distribution route. Only by determining the spatial relationship between each delivery point and multiple distribution centers can the nearest distribution center be confirmed based on the actual distribution requirements, especially in the event of major emergencies. Rapidly determining the nearest distribution center is the key to ensuring efficient material distribution. Secondly, the logistics route planning problem needs to consider global optimization, especially in the event of major emergencies, to distribute materials to the delivery points at the lowest cost in the shortest possible time. Therefore, it is necessary to determine the optimal distribution center as the starting point of the route, and combine the multiple delivery points that need to allocate materials, for the route planning to output the global optimal solution.

3. Research Methods

3.1. AGNES Clustering Model for Distribution Centers Based on Cellular Space Algorithm

The spatial constraint conditions for emergency logistics route planning are the urban geographic spatial environment, which includes the logistics information elements, the transportation information elements, and the spatial relationship between the two factors. In the logistics route, the dispatch point of the material is the distribution center, and the receipt point of the material is the delivery point. The process of transportation vehicles traveling from the distribution center to the delivery point involves passing through urban roads and road nodes. Therefore, in the urban geographic spatial environment, one of the logistics costs comes from energy consumption and total time spent by vehicles traveling on the route, and the main determining condition of cost consumption is the distance traveled by the vehicles. Reasonable route planning can minimize the transportation costs to the greatest extent possible. From the perspective of geographic optimization, the route by which logistics vehicles move from the starting point to the ending point is determined by the spatial relationship between two points. When there are multiple distribution centers in a city, there are different spatial accessibility levels between the dispersed delivery points in the city and the multiple distribution centers. Therefore, determining the optimal spatial relationship between the multiple distribution centers and the delivery points is the primary condition for planning logistics routes [14,15,16]. Based on the geospatial relationship, we construct an AGNES clustering model for distribution centers based on a cellular spatial algorithm, including two parts: the emergency logistics cellular spatial model based on a neighborhood topology algorithm and the improved AGNES clustering algorithm based on a cellular spatial model.

3.1.1. Emergency Logistics Cellular Spatial Model Based on Neighborhood Topology Algorithm

Spatial cellular is one of the core models of intelligent GIS (Geographic Information Systems), and is used to simulate spatial neighborhood relationships and topological laws. In the emergency logistics geographic space, we construct the spatial relationship between the distribution centers, the delivery points, and the urban roads using spatial cellulars, and use it to construct the emergency logistics cellular space.
Definition 1.
Distribution center D c ( i ) and delivery point D p ( j ) . The geographic spatial location of the large warehouse for centralized storage of the emergency supplies in a city is defined as the distribution center, denoted as D c ( i ) . If the city includes m number of distribution centers, then there are 0 < i m , i , m N . When urban emergency events occur, the main gathering point for residents in need of material assistance is defined as the delivery point, denoted as D p ( j ) . If the city includes n number of delivery points, then there are 0 < j n , j , n N .
Definition 2.
Road node d ( i ) and local space S d of road node. The intersection point of two or more roads in a city is defined as a road node, denoted as d ( i ) . If the number of road nodes relating to the cellular space construction extracted from the city is set to p , then there are 0 < i p , i , p N . The total p number of road nodes constitutes the basic architecture of the entire urban cellular space. We select several road nodes d ( i ) within the collection { d ( i )   |   0 < i p } in the neighborhood range of D c ( i ) and D p ( j ) , with the distribution center D c ( i ) and delivery point D p ( j ) as the centers, respectively. If the neighborhood of D c ( i ) contains a number of road nodes d ( i ) , and the neighborhood of D p ( j ) contains b number of road nodes d ( i ) , then the neighborhood space composed of D c ( i ) and a number of road nodes d ( i ) is defined as the local space S d of road nodes for the distribution center D c ( i ) , denoted as S d : { D c , d ( i )   |   0 < i a } . The neighborhood space composed of D p ( j ) and b number of road nodes d ( i ) is defined as the local space S d of road nodes for delivery point D p ( j ) , denoted as S d : { D p , d ( i )   |   0 < i b } . Figure 2 shows the process of determining the local space S d of distribution center D c ( i ) and delivery point D p ( j ) from the urban road node space { d ( i )   |   0 < i p } . Figure 2a shows the positioning of the distribution center D c ( i ) and the delivery point D p ( j ) . Figure 2b shows the set of road nodes. Figure 2c shows the spatial relationship between the distribution center, the delivery point, and the set of road nodes. Figure 2d shows the constructed local space S d 1 of the distribution center D c ( i ) and local space S d 2 of the delivery point D p ( j ) .
Definition 3.
The spatial cellular S ( i ) , the cellular control point c ( i ) , and the cellular boundary E ( i ) . The mathematical term “spatial cellular” originates from the concept of cellular automata in geographic information technology. It is used to describe the microscopic spatial structure that contains certain geographic entities. It divides the global geographic space in an orderly manner according to certain rules, realizing the quantification and regularization of the geographic space. According to the mathematical term, the closed micro-space containing the distribution center D c ( i ) or the delivery point D p ( j ) generated by searching for road nodes d ( i ) in local space S d is defined as a spatial cellular, denoted as S ( i ) , in which the cellular containing distribution center D c ( i ) is denoted as S c ( i ) , and the cellular containing delivery point D p ( j ) is denoted as S p ( j ) . Define the road node d ( i ) that makes up the spatial cellular S ( i ) as the cellular control point, denoted as c ( i ) , 0 < i k , i , k N . In the process of constructing a cellular model, the road connecting the adjacent control points c ( i ) and c ( i + 1 ) is defined as the cellular boundary, denoted as E ( i ) . According to the k number of control points c ( i ) , the corresponding number of cell boundaries E ( i ) is k ; that is, for the presence of E ( i ) , there is 0 < i k , i , k N .
According to the definition, there are the following constraint relationships between the spatial cellulars, the control points and the cell boundaries:
(1) The number of the control points k meets 2 < k a or 2 < k b , k , a , b N ;
(2) Point D c ( i ) or D p ( j ) does not intersect with any boundary E ( i ) ;
(3) There is only one nucleus D c ( i ) or D p ( j ) within the cellular;
(4) Send ray l in any direction from the point D c ( i ) or D p ( j ) outward, and the number of the intersection point between l and the cellular boundary E ( i ) must be odd;
(5) The area S of the cellular region composed of control points c ( i ) must be the minimum value min S ;
(6) The cellular S ( i ) must be a convex polygon.
Definition 4.
The cellular searching coordinate system x o y , the cellular searching azimuth ω , and the closed micro-space searching area S [ x , y , e t a l ] . The coordinate system x o y constructed by the cellular center point D c ( i ) or D p ( j ) as the coordinate origin is defined as the cellular searching coordinate system, which is used to search and determine the cellular control point c ( i ) and the cellular boundary E ( i ) . Starting from the coordinate axis y , rotate the direction line l ( x , y ) clockwise according to the angular velocity Δ ω . When a node d ( i ) is searched, the angle between the direction line l ( o , d ( i ) ) and the coordinate axis y is defined as the cellular searching azimuth ω . Searching for the nodes d ( i ) , d ( i + 1 ) , …, d ( j ) , and the coordinate origin o , the nodes d ( i ) , d ( i + 1 ) , …, d ( j ) form a closed area, whose square measure is defined as the closed micro-space searching area, denoted as S [ o , d ( i ) , , d ( j ) ] . To ensure that the cellular S ( i ) is a convex polygon, it is determined that during the searching process, when ω < π , the S [ o , d ( i ) , , d ( j ) ] must be a convex polygon.
Here we prove that the constructed cellular must be constrained by the convex polygon:
(1) The spatial cellular constructs the attribution relationship between the distribution center D c ( i ) or delivery point D p ( j ) with the surrounding roads and road nodes, and the road nodes close to the center point should be included in the cellular scope;
(2) Hypothesis H : Allow a cellular to be a concave polygon, as shown in Figure 3a. The spatial layout contains both the convex polygon S [ A B C D E F ] and the concave polygon S [ C D E J I H G ] . Figure 3b shows the spatial relationship between the convex polygon S [ A B C D E F ] and the concave polygon S [ C D E J I H G ] with the distribution center D c ( 1 ) , distribution center D c ( 2 ) , and delivery point D p , which is determined by the spatial cellular algorithm;
(3) Conclusion I: Judging from Figure 3b, there are three attribution relationships: D c ( 1 ) S [ A B C D E F ] , D p S [ A B C D E F ] , D c ( 2 ) S [ C D E J I H G ] . According to the definition, delivery point D p belongs to the cellular S [ A B C D E F ] , thus, it is closer to D c ( 1 ) in the spatial relationship;
(4) Conclusion II: According to the spatial accessibility calculation model, it can be concluded that the straight-line distances between points satisfy d i s [ D c ( 1 ) , D p ] > d i s [ D c ( 2 ) , D p ] ; thus, delivery point D p is closer to D c ( 2 ) in the spatial relationship;
(5) The above inference results indicate that there is a contradiction between Conclusion I and Conclusion II; therefore, hypothesis H is not valid. It proves that the constructed cellular must be constrained by the convex polygon. The correct cellular structure is shown in Figure 3c, and both cellular S [ A B C E F ] and S [ C E J I H G ] are convex polygons.
Definition 5.
Empty cellular S ( i ) Ø . Use the spatial cellular searching algorithm to obtain m + n number of cellulars; if the m + n number of cellulars cannot occupy all the urban space, then a cellular S ( i ) surrounded by the adjacent control points of a non-closed cellular that does not contain any point D c ( i ) or D p ( j ) is defined as an empty cellular, denoted as S ( i ) Ø . Set the number of empty cellulars as q . Empty cellulars play a role in filling space in the quantification and regularization process of the urban geographic space. When the cellulars containing distribution centers or delivery points cannot be fully connected by road edges, or when the cellulars extend to the city boundary, the research scope cannot be fully covered; the empty cellulars will be used to fill the areas without distribution centers or delivery points, as well as the areas which are not covered by the city boundary. The empty cellulars ensure that the entire research scope of the city is covered by cellulars.
According to the definition, we construct an emergency logistics cellular space model based on the neighborhood topology algorithm.
Step 1: For the sample urban space, determine the main roads and p number of road nodes d ( i ) of the city, and encode the main road nodes, 0 < i p . The urban spatial node set satisfies { d ( i )   |   0 < i p } .
Step 2: Determine the m number of distribution centers D c ( i ) and n number of delivery points D p ( j ) of the sample city. Take the arbitrary point D c ( i ) or D p ( j ) as a sample, then determine the local space S d of the sample point using the sets S d : { D c , d ( i )   |   0 < i a } or S d : { D p , d ( i )   |   0 < i b } , and store the included nodes d ( i ) of S d in the Open List.
Step 3: Take the local space S d of the distribution center D c ( i ) as an example: S d : { D c , d ( i )   |   0 < i a } , as shown in Figure 4a. Build the cellular S c ( i ) where the distribution center D c ( i ) is located.
(1) Establish a coordinate system x o y as shown in Figure 4b;
(2) The direction line l ( x , y ) searches at the angular velocity Δ ω , and d ( 2 ) is found at the azimuth angle ω 1 , as shown in Figure 4c. Determine that the l ( o , d ( 2 ) ) is feasible, store d ( 2 ) in the Closed List of the cellular S c ( i ) , and delete it from the Open List;
(3) The direction line l ( x , y ) searches at the angular velocity Δ ω , and d ( 4 ) is found at the azimuth angle ω 2 , as shown in Figure 4d. Determine that the l ( o , d ( 4 ) ) is feasible, and S ( o , d ( 2 ) , d ( 4 ) ) is a feasible closed area. Store d ( 4 ) in the Closed List of S c ( i ) and delete it from the Open List;
(4) The direction line l ( x , y ) searches at the angular velocity Δ ω , and d ( 5 ) is found at the azimuth angle ω 3 , as shown in Figure 4e. Determine that l ( o , d ( 5 ) ) is feasible, and S ( o , d ( 2 ) , d ( 4 ) , d ( 5 ) ) is a feasible closed area. Continue to determine S ( o , d ( 2 ) , d ( 4 ) , d ( 5 ) ) > S ( o , d ( 2 ) , d ( 5 ) ) , delete d ( 4 ) from the Closed List, and retain S ( o , d ( 2 ) , d ( 5 ) ) . Store d ( 5 ) in the Closed List of S c ( i ) , and delete it from the Open List;
(5) The direction line l ( x , y ) searches at the angular velocity Δ ω , and d ( 7 ) is found at the azimuth angle ω 4 , as shown in Figure 4f. Judge that S ( o , d ( 2 ) , d ( 5 ) , d ( 7 ) ) is a concave quadrilateral, meaning it is not feasible. Abandon d ( 7 ) , and continue searching;
(6) The direction line l ( x , y ) searches at the angular velocity Δ ω , and d ( 10 ) is found at the azimuth angle ω 5 , as shown in Figure 4g. Judge that l ( o , d ( 10 ) ) is feasible, and S ( o , d ( 2 ) , d ( 5 ) , d ( 10 ) ) is a feasible closed area. Store d ( 10 ) in the Closed List of S c ( i ) and delete it from the Open List;
(7) The direction line l ( x , y ) searches at the angular velocity Δ ω , and d ( 9 ) is found at the azimuth angle ω 6 , as shown in Figure 4h. Judge that l ( o , d ( 9 ) ) is feasible, and S ( o , d ( 2 ) , d ( 5 ) , d ( 10 ) , d ( 9 ) ) is a feasible closed area. Then, continue to determine the S ( o , d ( 2 ) , d ( 5 ) , d ( 10 ) , d ( 9 ) ) > S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) ) , delete d ( 10 ) from the Closed List, and retain S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) ) . Store d ( 9 ) in the Closed List of S c ( i ) , and delete it from the Open List;
(8) The direction line l ( x , y ) searches at the angular velocity Δ ω , and d ( 8 ) is found at the azimuth angle ω 7 , as shown in Figure 4i. Judge that l ( o , d ( 8 ) ) and l ( o , d ( 6 ) ) are feasible, and S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 8 ) , d ( 6 ) ) is a feasible closed area. Then, continue to determine the S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 8 ) , d ( 6 ) ) > S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 6 ) ) . Store d ( 6 ) in the Closed List of S c ( i ) , and delete it from the Open List;
(9) The direction line l ( x , y ) searches at the angular velocity Δ ω , and d ( 1 ) is found at the azimuth angle ω 9 , as shown in Figure 4j. Judge that l ( o , d ( 1 ) ) and l ( o , d ( 3 ) ) are feasible, and S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 6 ) , d ( 1 ) , d ( 3 ) ) is a feasible closed area. Then, continue to determine the S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 6 ) , d ( 1 ) , d ( 3 ) ) > S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 6 ) , d ( 3 ) ) . Store d ( 3 ) in the Closed List of S c ( i ) , and delete it from the Open List;
(10) The direction line l ( x , y ) searches at the angular velocity Δ ω , and when the d ( 2 ) is found, S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 6 ) , d ( 3 ) ) satisfies all the constraints of S ( i ) . It is feasible. Preserve the closed area S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 6 ) , d ( 3 ) ) as the spatial cellular S c ( i ) of D c ( i ) . At this time, the cellular contains the following:
① Cellular core: D c ( i ) ;
② Cellular control points: { c ( 1 ) : d ( 2 ) | c ( 2 ) : d ( 5 ) | c ( 3 ) : d ( 9 ) | c ( 4 ) : d ( 6 ) | c ( 5 ) : d ( 3 ) };
③ Cell boundary: { E ( 1 ) : E ( d ( 2 ) , d ( 5 ) ) | E ( 2 ) : E ( d ( 5 ) , d ( 9 ) ) | E ( 3 ) : E ( d ( 9 ) , d ( 6 ) ) | E ( 4 ) : E ( d ( 6 ) , d ( 3 ) ) | E ( 5 ) : E ( d ( 3 ) , d ( 2 ) ) };
④ Cellular region: S ( o , d ( 2 ) , d ( 5 ) , d ( 9 ) , d ( 6 ) , d ( 3 ) ) .
Step 4: Construct the spatial cellulars for m number of distribution centers and n number of delivery points in the urban space by using the same searching algorithm as in Step 3. After the searching is completed, there are m number of cellular S c ( i ) and n number of cellular S p ( i ) in the urban space. The cellular spatial region S t o t a l satisfies Formula (1).
S t o t a l i = 1 m S c ( i ) + j = 1 n S p ( j )
Step 5: When there is S t o t a l i = 1 m S c ( i ) + j = 1 n S p ( j ) , search for the nearest control nodes c ( i ) between the neighborhood cellular S ( i ) and S ( j ) . Sequentially search and connect them to construct the empty cellular S ( i ) Ø . Then, the cellular S ( i ) , S ( j ) and the empty cellular S ( i ) Ø satisfy Formula (2).
S t o t a l = i = 1 m S c ( i ) + j = 1 n S p ( j ) + i = 1 q S ( j ) Ø
Step 6: Search the whole urban space till S t o t a l meets Formula (2). When the searching ends, output the cellular space.

3.1.2. Improved AGNES Clustering Algorithm Based on Cellular Space Model

The cellular space model constructs the spatial adjacency relationship between the distribution centers D c ( i ) and the delivery points D p ( j ) , which includes the relationship with road nodes d ( i ) and road boundaries E ( i ) . In the event of an emergency situation, determining the optimal distribution center D c ( i ) with the optimal spatial adjacency relationship is crucial for the points D p ( j ) that require material allocation, which can ensure the rapid delivery of materials to the designated locations D p ( j ) . Based on the constructed cellular space model, the key issue is to determine the spatial neighborhood relationship between the distribution center cellular S c ( i ) and the delivery point cellular S p ( j ) in the cellular space. We use the decision tree algorithm to search for the spatially nearest neighborhood relationship and construct an improved AGNES clustering algorithm to determine the clustering relationship between the distribution centers D c ( i ) and the delivery points D p ( j ) .
Definition 6.
The clustering target cellular S N ( i ) , the number k N ( i ) of clustering target cellular, and the clustering target path P a t h ( i ) . Starting from arbitrary delivery point cellular S p ( j ) , search towards the direction of arbitrary distribution center cellular S c ( i ) , and sequentially search for the adjacent cellular S ( u ) and S ( v ) of the cellular S p ( j ) through the common edges E ( i ) until the adjacent cellular to the distribution center cellular S c ( i ) is found. The connection path formed by the cellulars along the way during the searching process is defined as the clustering target path, denoted as P a t h ( i ) . The adjacent cellular S ( u ) and S ( v ) on the clustering target path P a t h ( i ) are uniformly defined as the clustering target cellulars, denoted as S N ( i ) . Due to the complex adjacent relationship among cellulars in the cellular space, there may be x number of paths P a t h ( i ) from the delivery point cellular S p ( j ) to the distribution center cellular S c ( i ) . Therefore, the number of clustering target cellulars found on a path P a t h ( i ) is defined as k N ( i ) , 0 < i x , i , x N . According to the definition, the clustering target cellular S N ( i ) on a path satisfies 0 < i k N ( i ) , i , k N ( i ) N . The clustering target cellular, the number of clustering target cellulars, and the clustering target path all describe the neighborhood relationship between the delivery point and the distribution center from the perspective of the cellular relationship that constitutes the spatial micro-structure. By determining the optimal target path and its corresponding target cellular number, the nearest path between the delivery point and the distribution center can be obtained, providing a data basis for constructing the clustering algorithm and the logistics route algorithm.
Figure 5 is the schematic diagram of generating the clustering target paths P a t h ( i ) based on the distribution center D c ( i ) , the delivery point D p ( j ) , and the neighborhood cellular subspace. Figure 5a shows the spatial layout of the distribution center, the delivery point, and the road nodes. Figure 5b shows the generated distribution center cellular S c ( i ) , the delivery point cellular S p ( j ) , and the neighborhood cellular S ( u ) . Figure 5c shows the generated cellular spatial sub-area. Figure 5d shows the potential cellulars with the codes that form the clustering target paths P a t h ( i ) between the distribution center D c ( i ) and the delivery point D p ( j ) . Figure 5e–h shows the four clustering target paths P a t h ( 1 ) ~ P a t h ( 4 ) for the k N ( i ) = 5 number of clustering target cellulars. Figure 5i–l shows the four clustering target paths P a t h ( 5 ) ~ P a t h ( 8 ) for the k N ( i ) = 6 number of clustering target cellulars.
Definition 7.
The clustering target adjacency index δ N ( i ) , the clustering target constraint factor λ N ( i ) , and the clustering objective function f ( D p ( i ) , D c ( i ) ) . Using arbitrary path P a t h ( i ) as the object, define the clustering target adjacency index as the reciprocal of the sum of the number k N ( i ) of clustering target cellulars on the path P a t h ( i ) and the zero-suppression value 1, denoted as δ N ( i ) , as shown in Formula (3). In the geographic spatial constraints, if the coordinates of the distribution center D c ( i ) are ( x D c ( i ) , y D c ( i ) ) and the coordinates of the delivery point D p ( i ) are ( x D p ( i ) , y D p ( i ) ) , then the spatial accessibility constructed by Formula (4) is defined as the clustering target constraint factor, denoted as λ N ( i ) , in which σ is the normalization factor. For the definition, δ N ( i ) and λ N ( i ) satisfy 0 < δ N ( i ) < 1 , 0 < λ N ( i ) < 1 , δ N ( i ) , λ N ( i ) R + . The weighted mean of index δ N ( i ) and factor λ N ( i ) is defined as the clustering objective function, as shown in Formula (5), in which the index δ N ( i ) takes the maximum value of the index max δ N ( i ) corresponding to the path P a t h ( i ) with the minimum number k N ( i ) of clustering target cellulars.
The clustering target adjacency index quantifies the close relationship between the distribution center and the delivery point by using the micro spatial structure of adjacent cellulars between the two points. The index value is determined by the number of adjacent cellulars. The clustering target constraint factor calculates the straight-line distance between the distribution center and the delivery point from the perspective of geographic accessibility, determining the close relationship between the two points. The clustering target adjacency index and the clustering target constraint factor are the data basis for constructing the spatial clustering relationship model between distribution centers and delivery points. The clustering objective function constructed by the two values is the key constraint condition for determining whether a delivery point belongs to the cluster in which the distribution center is located.
δ N ( i ) = 1 k N ( i ) + 1
λ N ( i ) = σ 1 ( x D c ( i ) x D p ( i ) ) 2 + ( y D c ( i ) y D p ( i ) ) 2
f ( D p ( i ) , D c ( i ) ) = max δ N ( i ) + λ N ( i ) 2
Definition 8.
AGNES clustering decision tree T r e e ( j ) . Search for the clustering objective functions f ( D p ( j ) , D c ( i ) ) between the specified delivery point D p ( j ) and the m number of distribution centers D c ( i ) in the cellular space, and store m number of function values f ( D p ( j ) , D c ( i ) ) in an orderly manner in the tree structure according to the rules of the complete binary tree algorithm. The constructed complete binary tree is defined as the AGNES clustering decision tree, denoted as T r e e ( j ) . The code j of the tree T r e e ( j ) corresponds to the code of the delivery point D p ( j ) , that is, one delivery point D p ( j ) corresponds to the construction of one decision tree T r e e ( j ) . A complete binary tree is a computationally efficient tree structure that consists of a parent node and several child nodes, with all levels (except for the last level) fully filled and the nodes of the last level arranged as far to the left side as possible. When integrating the heap sorting algorithm, the global optimal solution can be finally classified into the parent node according to the binary tree searching algorithm. The process of obtaining the optimal solution is simple and efficient.
The tree node is defined as T r ( u , v ) , in which u represents the layer of the tree and v represents the No. v child node of the No. u layer. Then the constructed decision tree T r e e ( j ) satisfies the following conditions:
(1) Arbitrary node T r ( u , v ) can have a maximum of two child nodes T r ( u + 1 , * ) and a minimum of 0 child nodes;
(2) Arbitrary row u of the T r e e ( i ) contains 2 u 1 number of child nodes, f ( D p ( j ) , D c ( 1 ) ) ~ f ( D p ( j ) , D c ( m ) ) must be stored in the previous m number of nodes, and then there is the following:
① The number of nodes that store f ( D p ( j ) , D c ( i ) ) meets the requirement u = 1 max u 2 u 1 m , max u representing the maximum row that can be stored currently;
② For any node T r ( u , v ) that stores f ( D p ( j ) , D c ( i ) ) , its left node T r ( u , v 1 ) must meet T r ( u , v 1 ) Ø ;
③ For any node T r ( u , v ) that stores f ( D p ( j ) , D c ( i ) ) , its right node T r ( u , v + 1 ) satisfies the following:
(i) If the last f ( D p ( j ) , D c ( m ) ) is currently stored in T r ( u , v ) , the right node T r ( u , v + 1 ) does not exist;
(ii) If the current node T r ( u , v ) is not the last f ( D p ( j ) , D c ( m ) ) , the right node continues to store, satisfying the condition T r ( u , v + 1 ) Ø .
④ If row u contains child nodes that store f ( D p ( j ) , D c ( i ) ) , then all nodes in the previous u 1 rows satisfy the condition T r ( u , v ) Ø .
(3) For any node T r ( u , v ) : T r ( u , v ) stores f ( D p ( j ) , D c ( i ) ) ~ f ( 1 ) The child nodes T r ( u + 1 , 2 v 1 ) . and T r ( u + 1 , 2 v ) store f ( 2 ) and f ( 3 ) ; there must be f ( 1 ) f ( 2 ) f ( 3 ) .
Definition 9.
AGNES clustering matrix M ( D p ( j ) ) . Construct a m × p dimensional matrix to store the delivery points D p ( j ) output by the clustering algorithm. Define this matrix as the AGNES clustering matrix, denoted as M ( D p ( j ) ) , in which m represents the number of rows and p represents the number of columns in the matrix, m , p N . To construct the AGNES clustering algorithm, we specify that the matrix M ( D p ( j ) ) satisfies the following constraints:
(1) Any row i corresponds to storing one cluster c ( i ) , with each distribution center D c ( i ) being the cluster center. Store it in the first element of the No. i matrix row.
(2) The number m of rows in the matrix is equal to the number of clusters, then there is the following: c ( i ) corresponds to D c ( i ) , 0 < i m , i , m N .
(3) The rows and columns of the matrix are full ranked, that is, r a n k ( M ( D p ( j ) ) ) r o = m , r a n k ( M ( D p ( j ) ) ) c o = p .
(4) For row i , the No. 2 to No. p elements store the delivery points D p ( j ) of cluster c ( i ) . The number n ( i ) of elements in the cluster c ( i ) satisfies 0 < n ( i ) p 1 , n ( i ) , p N .
Based on the above definitions, we construct an improved AGNES clustering algorithm based on the cellular space model as follows. Figure 6 shows the process of searching the AGNES clustering decision tree T r e e ( j ) by using the algorithm.
Step 1: Construct a m × p dimensional matrix M ( D p ( j ) ) . For the delivery point D p ( j ) , take j = 1 . Take the distribution center D c ( i ) in the cellular space S t o t a l :
(1) Take i = 1 , search for all clustering target paths P a t h ( i ) and corresponding clustering target cellular number k N ( i ) between D p ( 1 ) and D c ( 1 ) , and calculate the clustering target adjacency index δ N ( 1 ) ;
(2) Search for coordinates ( x D p ( 1 ) , y D p ( 1 ) ) of D p ( 1 ) and coordinates ( x D c ( 1 ) , y D c ( 1 ) ) of D c ( 1 ) , and calculate the clustering target constraint factor λ N ( 1 ) ;
(3) Calculate the clustering objective function f ( D p ( 1 ) , D c ( 1 ) ) ;
(4) Repeat steps (1) to (3), take i = 2 and calculate f ( D p ( 1 ) , D c ( 2 ) ) ;
(5) The i traverses 0 < i m and calculate f ( D p ( 1 ) , D c ( i ) ) . All f ( D p ( 1 ) , D c ( i ) ) are recorded as f ( i ) ( 1 ) , in which i represents the No. i distribution center D c ( i ) , and number (1) represents D p ( 1 ) .
Step 2: Construct a complete binary tree T r e e ( 1 ) with a total m number of nodes, corresponding to the delivery point D p ( 1 ) , and denote the tree node as T r ( u , v ) . Store f ( 1 ) ( 1 ) in the parent node T r ( 1,1 ) . Take f ( 2 ) ( 1 ) and judge:
(1) If f ( 1 ) ( 1 ) f ( 2 ) ( 1 ) , store f ( 2 ) ( 1 ) in child node T r ( 2,1 ) ;
(2) If f ( 1 ) ( 1 ) < f ( 2 ) ( 1 ) , delete T r ( 1,1 ) , store f ( 2 ) ( 1 ) in T r ( 1,1 ) , store f ( 1 ) ( 1 ) in child node T r ( 2,1 ) .
Step 3: Take f ( 3 ) ( 1 ) and judge:
(1) If f ( 1 ) ( 1 ) f ( 2 ) ( 1 ) :
① If f ( 1 ) ( 1 ) f ( 2 ) ( 1 ) f ( 3 ) ( 1 ) , store f ( 3 ) ( 1 ) in child node T r ( 2,2 ) ;
② If f ( 1 ) ( 1 ) f ( 3 ) ( 1 ) > f ( 2 ) ( 1 ) , delete T r ( 2,1 ) , store f ( 3 ) ( 1 ) in T r ( 2,1 ) , store f ( 2 ) ( 1 ) in child node T r ( 2,2 ) ;
③ If f ( 3 ) ( 1 ) > f ( 1 ) ( 1 ) f ( 2 ) ( 1 ) , delete T r ( 1,1 ) and T r ( 2,1 ) , store f ( 3 ) ( 1 ) , f ( 1 ) ( 1 ) and f ( 2 ) ( 1 ) in T r ( 1,1 ) , T r ( 2,1 ) and T r ( 2,2 ) .
(2) If f ( 1 ) ( 1 ) < f ( 2 ) ( 1 ) :
① If f ( 3 ) ( 1 ) f ( 1 ) ( 1 ) < f ( 2 ) ( 1 ) , store f ( 3 ) ( 1 ) in child node T r ( 2,2 ) ;
② If f ( 1 ) ( 1 ) < f ( 3 ) ( 1 ) f ( 2 ) ( 1 ) , delete T r ( 2,1 ) , store f ( 3 ) ( 1 ) in T r ( 2,1 ) , store f ( 1 ) ( 1 ) in child node T r ( 2,2 ) ;
③ If f ( 1 ) ( 1 ) < f ( 2 ) ( 1 ) < f ( 3 ) ( 1 ) , delete T r ( 1,1 ) and T r ( 2,1 ) , store f ( 3 ) ( 1 ) , f ( 2 ) ( 1 ) and f ( 1 ) ( 1 ) in T r ( 1,1 ) , T r ( 2,1 ) and T r ( 2,2 ) .
Step 4: Take f ( i ) ( 1 ) , traverse 3 < i m . Compare the f ( 1 ) ( 1 ) , f ( 2 ) ( 1 ) , …, f ( i ) ( 1 ) by the same algorithm in Steps 2 to 3. According to the constraint conditions of the decision tree, store the f ( 1 ) ( 1 ) , f ( 2 ) ( 1 ) , …, f ( i ) ( 1 ) to the previous i number of nodes in the tree T r e e ( 1 ) . When i = m , T r e e ( 1 ) has been completely searched and output T r e e ( 1 ) .
Step 5: Take the stored f ( i ) ( 1 ) in parent node T r ( 1,1 ) , and its corresponding distribution center D c ( i ) is the optimal distribution center for the entire tree T r e e ( 1 ) .
Step 6: Search for the row i corresponding to the distribution center D c ( i ) in the matrix M ( D p ( j ) ) , and store the delivery point D p ( 1 ) to the second element in the No. i row.
Step 7: Return to Step 1; for the delivery point D p ( j ) , take j = 2 . Build a complete binary tree T r e e ( 2 ) of the delivery point D p ( 2 ) , search and output the optimal distribution center D c ( i ) corresponding to the parent node T r ( 1,1 ) . Store the delivery point D p ( 2 ) to the No. j element in No. i row. At this time, the elements of No. 1 to No. j of the No. i row are all non-zero ones.
Step 8: Traverse the code j of the delivery points D p ( j ) , 2 < j n . Construct a complete binary tree T r e e ( j ) of the delivery points D p ( j ) in sequence. For each tree, search and output the optimal distribution center D c ( i ) corresponding to the parent node T r ( 1,1 ) . Store the delivery point D p ( j ) to the No. j element in No. i row. At this time, the elements of No. 1 to No. j of the No. i row are all non-zero ones. When the searching of j = n is completed, the algorithm ends. Output the AGNES clustering matrix M ( D p ( j ) ) that meets the matrix constraint conditions.

3.2. Intelligent Emergency Logistics Route Model Based on Symmetrical Fruit Fly Optimization Algorithm

When major emergencies occur in a city, the vehicle traveling route for transporting materials from the distribution center to the delivery point is crucial. The core issue of emergency logistics is to construct routes with short transportation mileage, short time consumption, and low transportation costs. Based on the constructed urban cellular space and the clustering algorithm, and with the constraints of the urban geographic space as the modeling basis, we construct an urban emergency logistics route model based on an improved fruit fly optimization algorithm [17,18]. According to the symmetrical feature of logistics routes from one destination to another destination, the traveling distances within one route section are the same in both directions. Thus, if the logistics vehicles travel on one route section in different directions, the total route distance and costs will be the same. Based on this principle, the basic idea of modeling is as follows. Firstly, we determine n number of delivery points to which materials need to be allocated. Then, we search for the cluster C ( i ) t o p with the highest appearance frequency of n number of delivery points, and select the distribution center D c ( i ) of the cluster as the starting point. If the n number of delivery points appear in the same cluster, the distribution center of the cluster also serves as the terminal of the route. If the n number of delivery points appear in different clusters, the cluster with the second-highest appearance frequency among n number of delivery points is selected, and its distribution center D c ( i ) serves as the terminal of the route.
The fruit fly optimization algorithm is a relatively simple intelligent optimization algorithm that simulates the foraging mechanism of fruit fly groups searching for the optimal food location through their olfactory system, in order to search for the global optimal solution in the entire solution space [19,20]. Since searching for urban emergency logistics routes involves many road nodes and connecting roads, the constructed improved fruit fly optimization algorithm utilizes the route cost as the concentration factor for fruit fly individuals to search for food. The searching process of the algorithm is simulated as fruit fly foraging, and it can ultimately find the optimal solution [21].
Definition 10.
The route control point p ( i ) , the route interval S ( i ) , and the interval cost c ( i ) . When designing the improved fruit fly optimization algorithm, the key road nodes or logistics nodes used to construct the traffic routes in the city are defined as the route control points, denoted as p ( i ) . The interval formed by the movement of logistics vehicles from the control point p ( i ) to the adjacent control point p ( i + 1 ) connected by the urban road is defined as the route interval, denoted as S ( i ) . Define the distance (unit: kilometer) traveled by the logistics vehicles from the point p ( i ) to the point p ( i + 1 ) as the interval cost, denoted as c ( i ) . The encoding of each interval S ( i ) and interval cost c ( i ) is consistent with the encoding of the starting point p ( i ) of the interval.
Definition 11.
The fruit fly individual F ( i ) , the fruit fly cost C F ( i ) , and the fruit fly solution space F . In the urban geographic space, the logistics vehicles depart from the starting point p ( i , 0 ) and pass through x number of control points p ( i , 1 ) , p ( i , 2 ) , …, p ( i , x ) , and finally reach the terminal p ( i , y ) . The process of approaching the terminal forms a complete pathway, and the complete pathway composed of the starting point p ( i , 0 ) , the control points p ( i , j ) , and the terminal p ( i , y ) is defined as the fruit fly individual, denoted as F ( i ) . According to the definition, when any control point p ( i , j ) in the pathway changes, a new fruit fly individual will be formed. The F ( i ) contains x + 2 number of control points, forming a total of x + 1 number of intervals S ( i ) and interval costs c ( i ) . The complete route distance formed by the movement of logistics vehicles on the fruit fly individual F ( i ) is defined as the fruit fly cost, denoted as C F ( i ) . According to the definition, we construct the fruit fly cost model, as shown in Formula (6). The solution set consisting of all fruit fly individuals formed by the control points p ( i ) for constructing the logistics routes in the urban geographic space is defined as the fruit fly solution space, denoted as F .
C F ( i ) = i = 1 x + 1 c ( i )
Based on the above definitions, we construct the fruit fly individual searching algorithm, and the following is an example.
(1) Initialize the route interval S ( i ) , including the starting point S , the ending point T e , and several control points p ( i ) , as shown in Figure 7a. Store S ( i ) , S t , T e and all p ( i ) in an Open List.
(2) Search in the direction to T e along the road, find point p ( 1 ) , determine that it is feasible, and store it in the Closed List, as shown in Figure 7b;
(3) Continue searching for the point p ( 3 ) , determine that it is feasible, and store it in the Closed List, as shown in Figure 7c;
(4) Continue searching for the point p ( 4 ) , determine that it is feasible, and store it in the Closed List, as shown in Figure 7d;
(5) Continue searching. If the point p ( 1 ) is reached, points p ( 1 ) p ( 3 ) p ( 4 ) form a closed path, thus p ( 1 ) is discarded; search for point p ( 2 ) ; if the direction is opposite to the endpoint T e , discard p ( 2 ) ; continue searching for the point p ( 7 ) , determine that it is feasible, and store it in the Closed List, as shown in Figure 7e;
(6) Continue searching for the point p ( 8 ) , determine that it is feasible, and store it in the Closed List, as shown in Figure 7f;
(7) Continue searching. If the point p ( 4 ) is reached, points p ( 4 ) p ( 7 ) p ( 8 ) form a closed path, thus p ( 4 ) is discarded; search for point p ( 5 ) ; if the direction is opposite to the endpoint T e , discard p ( 5 ) ; continue searching for the point p ( 9 ) , determine that it is feasible, and store it in the Closed List, as shown in Figure 7g;
Search for point p ( 10 ) ; if the direction is opposite to the endpoint T e , discard p ( 10 ) ; continue searching, find T e , then the searching process is finished. Output the fruit fly individual F ( i ) = S t p ( 1 ) , p ( 3 ) , p ( 4 ) , p ( 7 ) , p ( 8 ) , p ( 9 ) T e , as shown in Figure 7h.
Definition 12.
The food odor concentration S F ( i ) and the fitness function f ( S F ( i ) ) . The fruit fly optimization algorithm aims to search for the fruit fly individual with the highest food odor concentration as the iterative objective, that is, to search for the optimal fruit fly individual. In the foraging behavior of a fruit fly group, when a fruit fly individual finds food with a certain odor concentration, other fruit flies will fly towards it and search for food along the way during the flight. If a fruit fly individual finds food with a higher odor concentration during the flight, all flies stop flying, and turn to the fruit fly individual with the higher odor concentration. This iteration continues until the fruit fly individual with the highest food odor concentration in the entire foraging space is found. Based on the logistics route targets, we suppose that the food odor concentration is generated by the fruit fly cost C F ( i ) , and the lower the cost is, the higher the odor concentration will be. When outputting the fruit fly individual with the highest odor concentration in a certain iteration, the remaining fruit fly individuals will fly towards the optimal fruit fly individual. In the constructed algorithm, the directional flight is defined as the one-time replacement of control points p ( i , j ) in a fruit fly group. Construct a fitness function based on the food odor concentration, denoted as f ( S F ( i ) ) . Formulas (7) and (8) represent the constructed food odor concentration S F ( i ) and fitness function f ( S F ( i ) ) , in which ζ is the normalization factor.
S F ( i ) = 1 C F ( i )
f ( S F ( i ) ) = 1 i = 1 x + 1 c ( i )
Definition 13.
The current optimal fruit fly individual F ( i ) Δ and the fruit fly flight step size S t e p ( p ( i ) , p ( j ) ) . Randomly select arbitrary individual F ( i ) from the fruit fly group as the target individual with the food odor concentration in the group searching, and define the selected fruit fly target individual as the current optimal fruit fly individual, denoted as F ( i ) Δ . After selecting the F ( i ) Δ , all other fruit fly individuals will fly towards F ( i ) Δ and continue to search for the better individuals during the flight. The process of a certain fruit fly individual F ( i ) flying towards the target individual F ( i ) Δ follows certain algorithmic rules. According to the definition and composition rules of the fruit fly individual F ( i ) , it is agreed that the flight step size S t e p ( p ( i ) , p ( j ) ) of the fruit fly individual is a neighborhood control point replacement of the corresponding route control points p ( i ) or a 2-opt operation of the logistics node p ( i ) .
According to the definition, the process of a fruit fly individual F ( i ) flying towards F ( i ) Δ must go through t 1 times of replacements of the control points or 2-opt operations. If the number of flights is t , then it will go through t steps of flight. According to the definition, we construct a flight distance model for the fruit fly individual, as shown in Formula (9).
S t e p ( F ( i ) , F ( i ) Δ ) = t = 1 max   t S t e p ( p ( i ) , p ( j ) )
Based on the modeling approach, we divide the emergency logistics route model into two modules. (1) Module 1: Improved fruit fly optimization algorithm within the logistics sub-interval. The starting point and the ending point of the logistics sub-interval I c ( i ) are the adjacent distribution center D c ( i ) or the delivery point D p ( i ) , respectively, and the control points p ( i ) within the sub-interval are road nodes. (2) Module 2: Improved fruit fly optimization algorithm within the logistics interval. The starting point of the logistics interval I ( i ) is a certain distribution center D c ( i ) , and the ending point is the same distribution center D c ( i ) or the distribution center D c ( i ) ¬ in another cluster. The control point p ( i ) within the interval is the delivery point D p ( i ) . According to the definition and modeling approach, we construct an urban emergency logistics route model based on an improved fruit fly optimization algorithm. The process is as follows. In the algorithm, we determine the starting point D c ( i ) and the ending point D c ( i ) of the logistics route, which includes k number of delivery points D p ( i ) that require materials within the interval. Construct the sub-intervals by D c ( i ) and D p ( i ) and determine the set of road nodes within each sub-interval.
Algorithm Module one: Improved fruit fly optimization algorithm within the logistics sub-interval. Determine the optimal fruit fly individual and route cost for each sub-interval.
Step 1: Calculate the number C ( k , 2 ) + k of sub-intervals based on the number k of delivery points D p ( i ) and the starting and ending points D c ( i ) .
Step 2: Take the first sub-interval I c ( i ) , i = 1 , search for the optimal fruit fly individual F ( i ) o p t and corresponding fitness function f ( S F ( i ) ) o p t in the first sub-interval.
(1) Establish the road node set model for the sub-interval I c ( 1 ) , determine the starting point S , the ending point T e , and several control points p ( i ) ;
(2) Initialize the fruit fly individual F ( i ) and the solution space F . Set the solution space F to contain x number of fruit fly individuals F ( i ) , 0 < i x , i , x N ;
(3) Randomly select fruit fly individual F ( i 1 ) and determine it as the current optimal solution F ( i 1 ) Δ , then calculate the individual fitness function as f ( S F ( i 1 ) ) Δ ;
(4) The remaining x 1 number of fruit fly individuals F ( i ) fly in a unit step S t e p ( p ( i ) , p ( j ) ) towards F ( i 1 ) Δ , and the following judgment is carried out:
① Execute one step size S t e p ( p ( i ) , p ( j ) ) ; if the fitness functions f ( S F ( i ) ) of all x 1 number of fruit fly individuals F ( i ) meet f ( S F ( i ) ) f ( S F ( i 1 ) ) Δ , 0 < i x 1 , and if i i 1 , then all x 1 number of fruit fly individuals F ( i ) continue to execute the second step size S t e p ( p ( i ) , p ( j ) ) and compare f ( S F ( i ) ) with f ( S F ( i 1 ) ) Δ . If f ( S F ( i ) ) f ( S F ( i 1 ) ) Δ still exists, then continue to execute the third step size S t e p ( p ( i ) , p ( j ) ) , and so on. Set the maximum step size to h .
② When all x 1 number of fruit fly individuals have been traversed after h number of steps S t e p ( p ( i ) , p ( j ) ) , if there is still f ( S F ( i ) ) f ( S F ( i 1 ) ) Δ , then the fruit fly individual F ( i 1 ) is the optimal individual F ( i ) o p t , and the corresponding fitness function is the optimal solution f ( S F ( i ) ) o p t . The searching ends.
③ During the step-size execution process, if a fruit fly individual F ( i 2 ) exists at No. y step, f ( S F ( i 2 ) ) > f ( S F ( i 1 ) ) Δ , the searching stops and returns to step (3). The fruit fly individual F ( i 2 ) becomes the current optimal solution F ( i 2 ) Δ , and the individual fitness function f ( S F ( i 2 ) ) Δ is calculated. Continue with step (4).
④ Traverse all x number of fruit fly individuals until there is a certain fruit fly individual F ( i d ) , and if it satisfies f ( S F ( i d ) ) > f ( S F ( i ) ) compared to all the other x 1 number of fruit fly individuals F ( i ) , then the searching ends and the fruit fly individual F ( i d ) is output as the global optimal solution F ( i ) o p t in the sub-interval I c ( 1 ) , corresponding to the optimal fitness function f ( S F ( i ) ) o p t .
Step 3: Take the second sub-interval I c ( i ) , i = 2 , and search for the optimal fruit fly individual F ( i ) o p t and corresponding fitness function f ( S F ( i ) ) o p t in the second sub-interval.
Step 4: Traverse the sub-intervals I c ( i ) , satisfy 2 < i C ( k , 2 ) + k , i N , and search for the optimal fruit fly individual F ( i ) o p t and corresponding fitness function f ( S F ( i ) ) o p t in the No. i sub-interval.
Step 5: The fitness function f ( S F ( i ) ) o p t within each sub-interval corresponds to the highest food odor concentration S F ( i ) and the minimum route cost C F ( i ) . Set the minimum cost for each sub-interval as C F ( i ) ~ C I c ( i ) .
Algorithm Module 2: Improved fruit fly optimization algorithm within the logistics interval. Determine the optimal fruit fly individual and route cost within the logistics interval, and the cost between nodes is C F ( i ) ~ C I c ( i ) .
Step 1: Calculate the number A ( k , k ) of logistics intervals based on the number k of delivery points D p ( i ) and the starting and ending points D c ( i ) .
Step 2: Establish the node set model for the interval I ( i ) , determine the starting point D c ( i ) , the ending point D c ( i ) , and k number of delivery points D p ( i ) .
Step 3: Initialize the fruit fly individual F ( i ) and the solution space F . Suppose that the solution space F contains x number of fruit fly individuals F ( i ) , 0 < i x , i , x N ; according to actual conditions, there is x = A ( k , k ) .
Step 4: Randomly select fruit fly individual F ( i 1 ) and determine it as the current optimal solution F ( i 1 ) Δ , calculate the individual fitness function as f ( S F ( i 1 ) ) Δ .
Step 5: The remaining x 1 number of fruit fly individuals F ( i ) fly in a unit step S t e p ( p ( i ) , p ( j ) ) towards F ( i 1 ) Δ , and the following judgment is carried out:
(1) Execute one step size S t e p ( p ( i ) , p ( j ) ) ; if the fitness functions f ( S F ( i ) ) of all x 1 number of fruit fly individuals F ( i ) meet f ( S F ( i ) ) f ( S F ( i 1 ) ) Δ , 0 < i x 1 , and if i i 1 , then all x 1 number of fruit fly individuals F ( i ) continue to execute the second step size S t e p ( p ( i ) , p ( j ) ) and compare f ( S F ( i ) ) with f ( S F ( i 1 ) ) Δ . If f ( S F ( i ) ) f ( S F ( i 1 ) ) Δ still exists, then continue to execute the third step size S t e p ( p ( i ) , p ( j ) ) , and so on. Set the maximum step size to h .
(2) When all x 1 number of fruit fly individuals have been traversed after h number of steps S t e p ( p ( i ) , p ( j ) ) , if there is still f ( S F ( i ) ) f ( S F ( i 1 ) ) Δ , then the fruit fly individual F ( i 1 ) is the optimal individual F ( i ) o p t , and the corresponding fitness function is the optimal solution f ( S F ( i ) ) o p t . The searching ends.
(3) During the step-size execution process, if a fruit fly individual F ( i 2 ) exists at No. y step, f ( S F ( i 2 ) ) > f ( S F ( i 1 ) ) Δ , the searching stops and returns to Step 4. The fruit fly individual F ( i 2 ) becomes the current optimal solution F ( i 2 ) Δ , and the individual fitness function f ( S F ( i 2 ) ) Δ is calculated. Continue with Step 5.
(4) Traverse all x number of fruit fly individuals until there is a certain fruit fly individual F ( i d ) , and if it satisfies f ( S F ( i d ) ) > f ( S F ( i ) ) compared to all the other x 1 number of fruit fly individuals F ( i ) , then the searching ends.
Step 6: The fruit fly individual F ( i d ) is output as the global optimal solution F ( i ) o p t in the logistics interval I ( i ) , corresponding to the optimal fitness function f ( S F ( i ) ) o p t and the lowest cost C ( i ) o p t .

3.3. Sensitivity Analysis of the Algorithm

3.3.1. Sensitivity Analysis of the Improved AGNES Clustering Algorithm

The improved AGNES clustering algorithm realizes the cluster result that a delivery point D p ( i ) is included in a cluster of a certain distribution center D c ( i ) , which is determined by the clustering objective function f ( D p ( i ) , D c ( i ) ) . The objective function is determined by the clustering target adjacency index δ N ( i ) and the clustering target constraint factor λ N ( i ) . According to Formulas (3)–(5), once the delivery point D p ( i ) and the target distribution center D c ( i ) are determined, their latitude and longitude coordinates are immediately confirmed, and then it is inferred that the λ N ( i ) is a fixed value. Therefore, the objective function is ultimately determined by the parameter k N ( i ) and is negatively correlated with k N ( i ) . According to the analysis, the sensitivity of the improved AGNES clustering algorithm is directly related to the parameter k N ( i ) . The sensitivity analysis is as follows:
(1) There are x number of paths between the delivery point D p ( i ) and the target distribution center D c ( i ) ;
(2) Each path P a t h ( i ) corresponds to k N ( i ) number of adjacent cellulars;
(3) In the clustering objective function f ( D p ( i ) , D c ( i ) ) , set max   δ N ( i ) in the function structure, corresponding to min   k N ( i ) ;
(4) For any k N ( j ) , satisfy k N ( j ) > min   k N ( i ) , 0 < i , j x , i , j , x N ;
(5) There must be max   δ N ( i ) > δ N ( j ) , that is, max   f ( D p ( i ) , D c ( i ) ) [ i ] > f ( D p ( i ) , D c ( i ) ) [ j ] , in which the subscript [ i ] corresponds to the No. i path, and the subscript [ j ] corresponds to the No. j path.
By analysis, it can be concluded that the sensitivity of the improved AGNES clustering algorithm is determined by the parameter k N ( i ) on the path P a t h ( i ) . Since the algorithm is designed with a fixed value λ N ( i ) , the objective function is specifically influenced by max   δ N ( i ) . Therefore, the final calculation result of the objective function must be the maximum value among all paths P a t h ( i ) , which proves that D p ( i ) belongs to a certain cluster of D c ( i ) and does not belong to other clusters. The algorithm has strong stability.

3.3.2. Sensitivity Analysis of the Improved Fruit Fly Optimization Algorithm

The constructed improved fruit fly optimization algorithm is an optimization algorithm in two dimensions: in the logistics route sub-intervals and in the logistics route intervals. The determining parameter for the algorithm is the fruit fly cost C F ( i ) , and the food odor concentration S F ( i ) and fitness function f ( S F ( i ) ) output by the algorithm are determined by C F ( i ) . The sensitivity analysis of the algorithm is as follows:
(1) Any logistics sub-interval consists of a starting point p ( i , 0 ) , x number of road nodes p ( i , 1 ) , p ( i , 2 ) , …, p ( i , x ) , and the endpoint p ( i , y ) ;
(2) Randomly select two road nodes p ( i , m ) and p ( i , n ) , and the road distance of the traveling movement between the two nodes in the city is a constant value, that is, the interval cost c ( i ) is a constant value, 0 < m , n x , m , n , x N ;
(3) According to the fruit fly individual F ( i ) searching algorithm within the sub-interval, there are x number of fruit fly individuals which are ultimately found by the step-size movement searching. Select the fruit fly individual corresponding to the minimum cost min   C F ( i ) as the sub-interval logistics distance, with the highest fitness function value max   f ( S F ( i ) ) ;
(4) Any logistics interval consists of k number of delivery points and distribution centers D c ( i ) as the starting point and ending point. Since the sub-interval logistics distance between any two points is the minimum cost min   C F ( i ) , which is a fixed value, according to the fruit fly individual F ( i ) searching algorithm within the interval, there are x number of fruit fly individuals which are ultimately found by the step-size movement searching. Select the fruit fly individual corresponding to the minimum cost min   C F ( i ) t o t a l as the interval logistics distance, with the highest fitness function value max   f ( S F ( i ) ) t o t a l .
It can be concluded that, for all the fruit flies in logistics sub-intervals and logistics intervals, the searching algorithm can ultimately find the optimal fruit fly individual within each logistics sub-interval and each logistics interval, corresponding to the route with the highest fitness function value. Due to the fixed road nodes in the city and the fixed distances of road traveling movement between points, when determining the starting point and ending point of the selected distribution centers as well as delivery points, the algorithm can ultimately find the optimal fruit fly with min   C F ( i ) in each sub-interval and the whole interval. Thus, the algorithm has strong stability.

4. Experimental Results and Analysis

To verify the feasibility and advantages of the proposed algorithm, we design experiments to test and validate the emergency logistics cellular space model based on the neighborhood topology algorithm, the improved AGNES clustering algorithm based on cellular space model, and the urban emergency logistics route model based on the improved fruit fly optimization algorithm. We also design a comparative experiment to demonstrate the advantages of the proposed algorithm. The basic idea of the experiment is as follows. Select Chengdu, the capital city of Sichuan Province in China, as the research scope. Take large supermarkets or commodity distribution centers as the experimental distribution centers, use the residential areas, hospitals, emergency shelters, hotels, etc., as the experimental delivery points. Select the number m = 4 of representative distribution centers and number n = 20 of delivery points within Chengdu city, and determine the geographic spatial coordinates ( x , y ) of the distribution centers and the delivery points. Generate the cellular space and the spatial clusters by constructing algorithms. By determining the logistics sub-intervals and the logistics intervals, the improved fruit fly optimization algorithm is constructed to output the optimal logistics route. To verify the advantages of the proposed algorithm, we use the most commonly used algorithms for route planning, the Dijkstra algorithm and the A* algorithm, to output the optimal logistics routes under the same experimental conditions, and compare them with the proposed algorithm.

4.1. Data Collection

The collected data for the experiment are as follows:
(1) Collect data on the main roads and road nodes in the urban area of Chengdu as the research scope. In order to better fit the emergency logistics scenarios of main urban areas with large populations, we select areas with relatively dense urban road networks, and the road networks realize the full coverage of the geographical locations of distribution centers and delivery points. Therefore, based on the urban distribution structure, population density, and road spatial relationships of Chengdu, we select the urban areas within the Second Ring Road as the data collection scope.
(2) From the perspective of fairness in logistics distribution, when delivery points are evenly distributed within the research area, the selection of distribution centers should meet the fairness of geospatial layout, that is, the distribution centers should be located in relatively symmetrical positions in the spatial coordinate system. We divide the selected range into different quadrants of the spatial coordinate system and select the distribution centers along the Second Ring Road in the eastern, western, southern, and northern directions as the research objects, collecting a total of four distribution centers. Based on the analysis, we finally choose the following distribution centers: D c ( i ) : { D c ( 1 ) : Tiao San Ta; D c ( 2 ) : He Hua Chi; D c ( 3 ) : SM Square; D c ( 4 ) : Guanghua Village}. Collect their latitude and longitude coordinates.
(3) The delivery point is another important research object and the core target of the clustering algorithm. Based on the emergency logistics scenario and the properties of the distribution objects, the selected delivery points for the experiment are locations that have high population concentrations and which would be in need of materials during major emergencies, such as residential areas, hospitals, schools, scenic spots, hotels, etc. Also, the selection of delivery points takes into account the fairness principle of the algorithm, which is positively correlated with the geographical layout of distribution centers and evenly distributed within the research area. In the experiment, we select hospitals, scenic spots, residential areas, hotels, etc. within the Second Ring Road as delivery points, which are evenly distributed and in line with the inherent logic of clustering algorithm. A total of 20 delivery points is collected along four directional lines in the city coordinate system. The delivery points are D p ( j ) : { D p ( 1 ) : No. 2 People’s Hospital; D p ( 2 ) : People’s Park; D p ( 3 ) : Jinguancheng Community; D p ( 4 ) : Provincial Orthopedic Hospital; D p ( 5 ) : Jinniu Community; D p ( 6 ) : Chengdu Xinhua Hotel; D p ( 7 ) : Shudu Garden Community; D p ( 8 ) : Huaxi Hospital; D p ( 9 ) : Luofu Family Community; D p ( 10 ) : Provincial People’s Hospital; D p ( 11 ) : Xijin International Plaza; D p ( 12 ) : Workers’ Village Community; D p ( 13 ) : Jinjiang Hotel; D p ( 14 ) : Furong Hotel; D p ( 15 ) : Crowne Plaza Hotel; D p ( 16 ) : Ma’an East Road Community; D p ( 17 ) : Shangri La Hotel; D p ( 18 ) : Spring Garden Community; D p ( 19 ) : Fangzheng Garden Community; D p ( 20 ) : Jincheng Family Community}. Collect their latitude and longitude coordinates.
(4) Main roads, secondary roads, tertiary roads, and road nodes d ( i ) in the urban area of Chengdu. We take the Second Ring Road as the boundary. Firstly, we collect the main roads in Chengdu city, and then use the main roads as the skeleton to radiate around and collect the secondary roads. Then, we use the secondary roads as branches, and collect the tertiary roads connecting various distribution centers and delivery points to ensure that the main roads, secondary roads, and tertiary roads can cover all distribution centers and delivery points. After collecting the roads, we determine all road nodes. By collecting data from roads and road nodes, the research scope is discretized into a spatial architecture for the emergency logistics scenario, consisting of distribution centers, delivery points, multi-level roads, and road nodes.
(5) The experiment simulates a major emergency scenario within the research scope in which the delivery points urgently need supplies, for instance, large-scale water and power outages in cities, or sudden severe epidemics. It is necessary to select the neighborhood distribution centers as the starting and ending points from which the emergency management department allocates supplies. It is also necessary to construct an emergency logistics route that runs through the delivery points, with the goal of delivering urgently needed supplies to the delivery points with the shortest route and transportation time, and lowest costs, while meeting the basic living needs of urban residents.
(6) The emergency logistics scenario constructed in the experiment has the common properties of ordinary emergency logistics, including the correlation with the geographic spatial environment, the urban population distribution, and the basic needs of urban residents. In addition, it also includes the timeliness characteristics, that is, how to achieve the optimization of material distribution under the constraints of urban geographic space, how to minimize the transportation time and costs, and how to maximize the efficiency of emergency logistics.

4.2. Results and Analysis of Cellular Space Model

We use the constructed emergency logistics cellular space model based on the neighborhood topology algorithm to construct the cellular S c ( i ) containing the distribution centers D c ( i ) and the cellular S p ( j ) containing the delivery points D p ( j ) . Cellulars that do not include distribution centers and delivery points are empty cellular S ( i ) Ø . Figure 8 shows the cellular space result output by the proposed algorithm based on the original collected data. Figure 8a shows the extracted distribution centers D c ( i ) (brown dots) and the delivery points D p ( j ) (blue dots), with the number j indicating the delivery point codes. Figure 8b shows the extracted road nodes (black dots). Figure 8c shows the extraction of the local space S d of each delivery point in the road node set, with the red boundary area representing an example of the local space S d of the delivery points D p ( 1 ) and D p ( 5 ) . Figure 8d shows the output result of the cellular space, in which the green area represents the distribution center cellular S c ( i ) , the yellow area represents the delivery point cellular S p ( i ) , the white area represents the empty cellular S ( i ) Ø , and the red dots on the boundary E ( i ) of the yellow cellular represent the cellular control points c ( i ) .
Analyze the cellular space result output by the algorithm. The distribution centers and the delivery points extracted in Figure 8a are discretely distributed within the urban area of Chengdu, with relatively large distances. The selection of the distribution centers conforms to the logistics spatial relationship, that is, the distribution centers are generally located in the suburban areas with convenient transportation conditions. The selection of the delivery points is relatively uniform and distributed in the main areas of Chengdu, all of which are representative. Figure 8b shows the extracted key road nodes d ( i ) . From the distribution of road nodes, the road nodes used to construct the cellulars are evenly distributed within the urban area of Chengdu, which meets the conditions for constructing the cellular space algorithm. Figure 8c conducts a local spatial S d searching of road nodes for delivery points. Firstly, the cellular searching area for each delivery point is determined, and then the proposed algorithm is used to search and construct the cellulars. The selection of road nodes in local space S d is based on the spatial micro-environment in which the delivery point is located, and is closely related to the quantity and distribution of the neighborhood road nodes d ( i ) . Figure 8d shows the cellular space generated by the algorithm, which presents a coexistence condition of the distribution center cellulars, the delivery point cellulars, and the empty cellulars. The result shows that the distribution of each cellular is reasonable, and the distribution center cellular or delivery point cellular contains only one distribution center or delivery point, which conforms to the execution rules of the algorithm.

4.3. Results and Analysis of the Clustering

Based on the output results of the cellular space in Figure 8, we collect the spatial quantification relationships of the distribution center cellular S c ( i ) and the delivery point cellular S p ( i ) separately, and calculate the clustering target adjacency index δ N ( i ) . Calculate the clustering target constraint factor λ N ( i ) based on the collected coordinates ( X D c ( i ) , Y D c ( i ) ) of the distribution centers and ( X D p ( i ) , Y D p ( i ) ) of the delivery points. Calculate the clustering objective function f ( D p ( i ) , D c ( i ) ) based on the index δ N ( i ) and the constraint factor λ N ( i ) . Table 1 shows the index δ N ( i ) ~ δ , the constraint factor λ N ( i ) ~ λ , and the objective function value f ( D p ( i ) , D c ( i ) ) ~ f of each distribution point to the delivery center output by the algorithm.
Based on the output results in Table 1 and the proposed improved AGNES clustering algorithm, the results for the AGNES clustering decision tree T r e e ( j ) are shown in Figure 9. Figure 9a–e shows decision trees T r e e ( 1 ) ~ T r e e ( 5 ) of delivery points D p ( 1 ) ~ D p ( 5 ) . Figure 9f–j shows decision trees T r e e ( 6 ) ~ T r e e ( 10 ) of delivery points D p ( 6 ) ~ D p ( 10 ) . Figure 9k–o shows decision trees T r e e ( 11 ) ~ T r e e ( 15 ) of delivery points D p ( 11 ) ~ D p ( 15 ) . Figure 9p–t shows decision trees T r e e ( 16 ) ~ T r e e ( 20 ) of delivery points D p ( 16 ) ~ D p ( 20 ) . Based on the results in Table 1 and Figure 9, output the AGNES clustering matrix M ( D p ( j ) ) , as shown in Table 2.
Analyze the result data in Table 1. When using the distribution center as reference, each delivery point has different clustering target cellular numbers k N ( i ) as to the distribution center in the cellular space, resulting in significant differences in the calculated clustering target adjacency indices δ N ( i ) . The larger the index δ N ( i ) is, the closer the adjacency relationship between the two cellulars in the cellular space will be, and the higher the probability of the delivery point being included in the cluster of the distribution center will be. Conversely, the lower the probability will be. The clustering target constraint factors λ N ( i ) calculated from the coordinates of the delivery points and the distribution centers also show significant differences. The larger the factor λ N ( i ) is, the shorter the distance between the two cellulars will be, and the higher the probability of a delivery point being included in the cluster of the distribution center will be. Conversely, the lower the probability will be. According to the calculated indices δ N ( i ) and factors λ N ( i ) , there are significant differences in the clustering objective function values f ( D p ( i ) , D c ( i ) ) . The larger the function value is, the higher the probability of the delivery point being included in the cluster of the distribution center will be, and vice versa. When using the delivery point as reference, the indices δ N ( i ) , the factors λ N ( i ) , and the objective function f ( D p ( i ) , D c ( i ) ) calculated between each delivery point and the four distribution centers are different, indicating that there are significant differences in the closeness, the spatial distance, and the clustering probability of the delivery points under the conditions of different distribution centers. The maximum value of the objective function is the cluster to which the delivery point belongs, indicating that the closeness, the spatial distance and the clustering probability values of the delivery point to the distribution center are all the highest.
The visualized AGNES clustering decision tree T r e e ( j ) in Figure 9 intuitively reflects the closeness relationship between the delivery points and various distribution centers. For a decision tree corresponding to a delivery point, it contains one parent node and three child nodes, and is the optimal complete binary tree. The parent node stores the highest objective function value, corresponding to the closest distribution center, which is also the cluster to which the delivery point belongs. Table 2 shows the clusters of the distribution centers based on the calculation results in Table 1 and the visualized AGNES clustering decision tree output in Figure 9. From analysis of the clustering result, the proposed algorithm can achieve uniform clustering of the delivery points in the urban cellular space. The maximum quantity of elements in clusters is six, and the minimum quantity of elements in clusters is four, which conforms to the distribution pattern and logistics layout of the delivery points and the distribution centers in the urban geographic space.

4.4. Results and Analysis of Logistics Routes

In the event of a sudden emergency, we select the set of delivery points that require supplies as: { D p ( 1 ) , D p ( 6 ) , D p ( 10 ) , D p ( 16 ) }. Based on the cluster of each delivery point, we determine the starting point D c ( 3 ) and the ending point D c ( 2 ) of the logistics route. Based on the set of the delivery points, the starting point, and the ending point, we construct each logistics sub-interval and logistics route interval, and construct the fruit fly individuals F ( i ) , the fruit fly solution space F , and the fruit fly costs C F ( i ) within each logistics sub-interval, then calculate the optimal food odor concentration S F ( i ) and fitness function S F ( i ) for each logistics sub-interval using the constructed module “improved fruit fly optimization algorithm within logistics sub-interval”. The results are shown in Table 3, in which “c3-p1” represents the sub-interval D c ( 3 ) D p ( 1 ) , “p1-p6” represents the sub-interval D p ( 1 ) D p ( 6 ) , and so on. Based on the fitness function values of the sub-intervals, the constructed module 2 “improved fruit fly optimization algorithm within logistics interval” is used to calculate and output the optimal food odor concentration S F ( i ) and the fitness function f ( S F ( i ) ) for each logistics route. The results are shown in Table 4, in which “c3-1,6,10,16-c2” represents the starting point D c ( 3 ) , the ending point D c ( 2 ) , and the node order of the fruit fly individual, which is D p ( 1 ) , D p ( 6 ) , D p ( 10 ) , D p ( 16 ) .
Figure 10 shows the food odor concentration and fitness function value for each sub-interval based on the output data in Table 3. Figure 11 shows the food odor concentration and fitness function values for sub-intervals and the overall intervals of each route based on the output data in Table 4, with different colors representing different routes. Figure 11a shows the set of routes with the first delivery point D p ( 1 ) , Figure 11b shows the set of routes with the first delivery point D p ( 6 ) , Figure 11c shows the set of routes with the first delivery point D p ( 10 ) , and Figure 11d shows the set of routes with the first delivery point D p ( 16 ) . The horizontal axis numbers 1–5 in the figure represent the first to fifth sub-intervals of the route, and the number 6 represents the total interval of the route.
According to the calculation results in Table 3 and visualization results in Figure 10, the optimal fruit fly individuals within each logistics sub-interval are composed of different road nodes, resulting in different food odor concentrations and fitness functions. The calculation results in Table 3 represent the optimal food odor concentrations and fitness function values within the searched sub-intervals, showing a fluctuating trend in value. It indicates that when the logistics vehicles travel along the road nodes in the sub-intervals of the city, different logistics routes and costs will be generated due to factors such as the quantity of road nodes, the movement direction, and the node distance, which will finally affect the transportation costs of the entire logistics route. Among them, the sub-interval D p ( 1 ) D p ( 16 ) has the highest odor concentration and a fitness function value of 0.4348, indicating that the logistics cost of this sub-interval is the lowest. The sub-interval D c ( 3 ) D p ( 10 ) has the lowest odor concentration and a fitness function value of 0.1124, indicating that this sub-interval has the highest logistics cost. In the same sub-interval, due to the large quantity of road nodes, multiple fruit fly individuals could be generated. The experimental results prove that the proposed algorithm of module 1, “improved fruit fly optimization algorithm in logistics sub-interval”, can effectively find the optimal fruit fly individuals and the corresponding logistics routes in the sub-intervals; thus, the algorithm is feasible.
Analyzing the calculation results in Table 4 and visualization results in Figure 11, when using the fixed distribution center as the starting point and the ending point, the logistics interval contains the fruit fly individuals F ( i ) composed of multiple delivery points, resulting in different food odor concentrations and fitness functions. Table 4 lists the calculated global fruit fly individual data set, in which the same fruit fly individual is composed of the optimal fruit fly individuals from different sub-intervals, namely, each logistics route is sequentially connected by the optimal route within each logistics sub-interval. From the bar chart in Figure 11, it can also be concluded that different logistics routes have different sub-interval costs, corresponding to fluctuating food odor concentrations and fitness function values. The food odor concentrations and fitness function values within the sub-intervals show a fluctuating trend, and the food odor concentrations and fitness functions in the total intervals of the routes are also different. From analysis of the data in the last column of Table 4, the food odor concentrations and the fitness function values of the global fruit fly individuals show a trend of fluctuating in value, which is caused by the differences in the sub-interval structures of the fruit fly individuals, resulting in differences in the corresponding fruit fly individuals of the logistics routes. It indicates that when the logistics vehicles travel along the interval of the delivery points, they will be affected by the quantity of nodes, the movement direction, and the fitness function values of the sub-interval fruit fly individuals, generating different logistics routes and logistics costs, leading to the differences in food odor concentrations and fitness function values in the final output fruit fly group. Among them, the interval “c3-16,10,6-c2” has the highest odor concentration and a fitness function value of 0.0526, indicating that this interval has the lowest logistics cost. The logistics vehicles, starting from D c ( 3 ) , pass through the delivery sequence of D p ( 16 ) , D p ( 1 ) , D p ( 10 ) , D p ( 6 ) , and finally return to D c ( 2 ) , and the entire logistics route generates the lowest logistics cost. The interval “c3-10,16,1-c2” has the lowest odor concentration and a fitness function value of 0.0336, indicating that this interval has the highest logistics cost. The logistics vehicles, starting from D c ( 3 ) , pass through the delivery sequence of D p ( 10 ) , D p ( 16 ) , D p ( 6 ) , D p ( 1 ) , and finally return to D c ( 2 ) , and the entire logistics route generates the highest logistics cost. The experimental results prove that the proposed algorithm of module 2, “improved fruit fly optimization algorithm in logistics interval”, can effectively find the optimal fruit fly individual and its corresponding logistics route within the logistics interval; thus, the algorithm is feasible.

4.5. Comparative Experiment and Analysis

To verify the advantages of the proposed algorithm, we design and perform a comparative experiment. We select Dijkstra’s algorithm (DIA) and the A* algorithm (ASA), which are the most commonly used methods in logistics route planning, as the control group. At the same time, we set the proposed algorithm (PRA) as the experimental group. The conditions for the comparative experiment are as follows:
(1) Using the fitness function as the comparison parameter, compare the optimal fitness function values generated by the logistics sub-intervals and the logistics interval, respectively.
(2) The starting point is the distribution center D c ( 3 ) , the ending point is the distribution center D c ( 2 ) , and the delivery points are D p ( 1 ) , D p ( 6 ) , D p ( 10 ) , and D p ( 16 ) .
(3) Output the optimal fitness function value for each logistics sub-interval and the optimal fitness function value for each logistics interval by the experimental group and the control group, respectively.
(4) Compare the fitness function values between the control group and the experimental group in the logistics sub-intervals and the logistics intervals.
According to the content of the comparative experiment, the fitness function values of the logistics sub-intervals are output by using the control group DIA and ASA. The output results of the experimental group and the control group are shown in Table 5. Based on Table 5, we output the comparison results of each sub-interval in Figure 12a, in which the blue color represents PRA, the orange color represents DIA, and the green color represents ASA. Then, the DIA and ASA respectively output the optimal logistics route “c3-16,10,6-c2” and their corresponding fitness function values. The output results of the experimental group and the control group are shown in Table 6. Based on Table 6, we output the comparison results in Figure 12b, in which the blue color represents PRA, the orange color represents DIA, and the green color represents ASA. The horizontal axis numbers 1–5 in the figure represent the first to fifth sub-intervals of the route, and the number 6 represents the total interval of the route.
The following conclusions can be drawn from analysis of the calculation results in Table 5 and Table 6 as well as Figure 12. The fitness function value generated by PRA in each logistics sub-interval is higher than that of DIA and ASA, indicating that PRA has a lower route cost than DIA and ASA in each logistics interval. Compared with DIA, PRA has a maximum difference of 0.0502 within the sub-interval D p ( 1 ) D p ( 16 ) , indicating that PRA has the most obvious advantage in route searching within this sub-interval. Compared with ASA, PRA has a maximum difference of 0.0817 within the sub-interval D c ( 3 ) D p ( 16 ) , indicating that PRA has the most obvious advantage in route searching within this sub-interval. Analyzing the fitness function value of the optimal logistics interval “c3-16,10,6-c2”, we find that the fitness function values of PRA in both the logistics sub-intervals and the logistics interval are higher than those of DIA and ASA. Compared with DIA, PRA has a maximum fitness function value difference of 0.0502 in the logistics sub-interval D p ( 16 ) D p ( 1 ) , and, compared with ASA, PRA has a maximum difference of 0.0817 in the logistics sub-interval D c ( 3 ) D p ( 16 ) . For the overall fitness function value of the logistics route “c3-16,10,6-c2”, PRA is 0.0052 higher than DIA, with an optimization rate of 9.89%, while PRA is 0.0069 higher than ASA, with an optimization rate of 13.12%. The comparative experiment shows that our proposed algorithm has a higher fitness function value in the capacity of outputting the optimal logistics route compared to the traditional route planning algorithms, which corresponds to the lower logistics transportation costs. The comparative experiment verifies the advantages of our proposed algorithm.
To further verify the advantage of the experimental group algorithm, we use the t-test, from the significance test methods, to test the experimental group data and the control group data, as the sample size is small in the experiment. The starting point, delivery points, and endpoint of the logistics route are all consistent. The experimental group algorithm and the control group algorithm are used to output all feasible logistics routes, and the costs of all routes are shown in Table 7. The number of route samples is n = 24, and the samples are independent. As seen in the data results in Table 7, the significance test (t-test) is conducted on PRA and DIA, and the same significance test (t-test) is conducted on PRA and ASA. Regarding the category of application scenario, logistics route planning belongs to the market application, and the data scale is relatively small. Thus, we set the commonly used significance level α = 0.05 and use a two-sided test. The results of the significance test (t-test) are shown in Table 8. When comparing PRA with DIA, t = −3.129, and when comparing PRA with ASA, t = −3.812. When the degree of freedom is 46, the value of t is smaller than the critical value −2.021 for the degree of freedom 40 and the critical value −2.009 for the degree of freedom 50, both of which fall within the rejection domain. It indicates that PRA has a significant degree of difference from DIA and ASA, and PRA significantly reduces route costs compared to DIA and ASA, proving that our proposed algorithm is superior to DIA and ASA.

5. Conclusions

5.1. Conclusions of the Algorithm Research

In response to the research background and the existing problems of emergency logistics route planning in major urban emergencies, we construct an intelligent emergency logistics route model based on cellular space AGNES clustering and a symmetrical fruit fly optimization algorithm.
(1) For Research Question 1, we utilize the spatial relationships between the distribution centers, the delivery points, the urban roads, and the road nodes in the urban geographic space to construct a cellular algorithm based on the local space of road nodes, and then the entire urban logistics cellular space is constructed by designing a topology algorithm. By constructing the topology algorithm model, we determine the urban distribution centers, the delivery points, and the geographic spatial constraints, providing a prerequisite for establishing an emergency logistics route system in the city.
(2) For Research Question 2, based on the cellular space, an improved AGNES clustering algorithm is constructed to establish the spatial clustering relationship between the delivery points and the adjacent distribution centers, providing the spatial data foundation for designing the emergency logistics routes.
(3) For Research Question 3, we integrate the intelligent algorithm into the emergency logistics route planning, and construct an urban emergency logistics route model based on an improved fruit fly optimization algorithm. We conduct global searching of fruit fly individuals within the logistics sub-intervals to obtain the optimal fruit fly individuals and the optimal logistics routes. Based on this, we conduct global searching of the fruit fly individuals within the logistics interval to obtain the optimal fruit fly individual and the optimal logistics route, achieving the lowest-cost emergency logistics route planning. Experimental results show that our proposed algorithm can output the optimal logistics routes for each logistics sub-interval and the entire logistics interval. Compared with the traditional route planning methods of the Dijkstra algorithm and the A* algorithm, it can reduce the cost of route planning and achieve optimization rates of 9.89% and 13.12%, respectively. The t-test significance test proves that the constructed algorithm is superior to the traditional route planning algorithms in saving route costs.

5.2. The Significance of the Research Results in Emergency Management

The constructed intelligent emergency logistics route model is of great significance in urban emergency management. Firstly, the constructed cellular space model utilizes a quantitative research method to realize the relationship between distribution centers, delivery points, urban roads, and road nodes in the urban geographic space. It constructs the layout structure of the distribution centers and delivery points in the urban geographic space, providing decision-making support for emergency management departments to plan logistics routes, determine the priorities for material allocation, and judge the accessibility of delivery points. Secondly, we construct an AGNES clustering algorithm to establish the attribution relationship between the distribution centers and the neighborhood delivery points, which can help emergency management departments divide urban emergency logistics jurisdiction areas based on local regions and improve emergency management efficiency. Finally, based on the constructed spatial cellular and the AGNES clustering algorithm, we construct emergency logistics routes to plan the optimal distribution routes for emergency management departments, which can effectively save logistics costs and improve material distribution efficiency, thereby enhancing the operational and regulatory efficiency of emergency management departments. It provides decision-making solutions to ensure the smooth and orderly operation of the city and the normal living and working order of urban residents.

5.3. Discussion on the Algorithm’s Scalability

The constructed algorithm has strong portability and scalability. Firstly, when the urban area is set as the research range, the data bases and the modeling conditions for the constructed improved AGNES clustering algorithm and the fruit fly optimization algorithm are as follows:
(1) The distribution centers, delivery points, and road nodes distributed in the city;
(2) The geographic spatial coordinates of all the points;
(3) The distances of road traveling movement between points;
(4) The starting point and the ending point of the logistics vehicle;
(5) Determine the quantity of delivery points, and the specific delivery points for the required materials.
According to the characteristics of the urban geographic spatial structure, cities with different hierarchies or built-up areas can provide the above five data bases and modeling conditions. Therefore, the algorithm has strong portability and scalability, and it can be used for emergency logistics route planning in any city. When the algorithm is applied to cities with larger areas and higher hierarchies, there may be more distribution centers and delivery points in the city. The complexity of the urban road networks is higher, and the distances between points are greater; thus, the algorithm requires a larger amount of data and higher computational costs.
Secondly, we will further expand the coverage of emergency logistics routes. If a key city is used as the material distribution center and supplies are transported to satellite cities around the key city, the constructed algorithm is also applicable. Using the key city and several satellite cities as the entities distributed in the geographic space, the improved AGNES clustering algorithm could also be constructed to achieve the spatial clustering of the satellite cities and obtain their spatial closeness relationship. Then, starting from and ending at the key distribution city, and using the satellite cities in need of materials as the delivery points, an improved fruit fly optimization algorithm could also be constructed to search for the optimal logistics route. In this situation, the logistics sub-interval is the optimal path between two cities, and the logistics interval is the closed-loop route connecting all the satellite cities in need of materials with the key city.

5.4. Limitations and Future Work

5.4.1. Limitations of the Work

The constructed algorithm and the conducted experiment are based on the selected urban distribution centers and delivery points. The research objects are representative large shopping malls, residential areas, hospitals, hotels, etc., in the city. The selection of points is relatively fixed, and the selection of the distribution centers as the core research objects for the clustering algorithm is random. Meanwhile, the selection of logistics route delivery points is also random. Thus, the constructed method is a universal logistics route algorithm. As for more refined, personalized, and customized material distribution scenarios, the further research conditions, constraints, and applicable scenarios should be determined. In the work, the research scope is the main urban area of a city, and does not involve the satellite cities around the key city. Emergency material distribution and logistics route planning issues for the satellite cities are not considered, and this is also a direction for future research.

5.4.2. Future Work

The constructed algorithm is based on distribution centers and delivery points with fixed geographical locations. The complex road relationships and node layouts in the urban geographic space have direct constraints on the planning of logistics routes. In future work, we will conduct further research on the following three aspects.
Firstly, the selected distribution centers for the algorithm’s modeling are representative large-scale supermarkets or material sales points in the city. There are a large number of large supermarkets and material sales points in cities, which are distributed in different geographical locations. Therefore, building a location selecting model for the distribution centers is another research field to further optimize the emergency logistics route algorithm. It is necessary to establish the logistics demand scenarios for delivery points and construct the algorithm based on the geospatial constraints.
Secondly, in the context of emergency situations, each delivery point has different quantity demands and urgency levels for the required materials. Determining the priority of the delivery points based on the different material quantity demands and urgency levels, and then determining the order of the logistics routes according to the priority of the delivery points, is another research field in constructing the logistics route algorithm with different factors as constraints. It is necessary to combine the levels of delivery points and the material allocation demand scenarios, as well as the geospatial constraints to construct the route algorithm.
Thirdly, we will expand our research scope and further study the emergency logistics route algorithm in cross-city or cross-regional scenarios. Using the key city as the distribution center and the surrounding satellite cities as delivery points, we will construct a spatial clustering algorithm to achieve satellite city clustering. Then, starting from the key city, we will study the improved fruit fly optimization algorithm for the satellite cities, achieving the cross-city and cross-regional distribution of emergency supplies.

Author Contributions

Conceptualization, X.Z., J.W. and W.L.; methodology, X.Z., W.L. and R.L.; formal analysis, W.L., F.J. and R.L.; visualization, R.L. and W.L.; writing—original draft preparation, X.Z., J.W. and W.L.; writing—review and editing, X.Z., J.W., F.J. and R.L.; funding acquisition, X.Z., J.W. and W.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the “Key Laboratory of Intelligent Emergency Management, Sichuan Provincial Key Laboratory of Philosophy and Social Sciences” project (Grant No. 2024ZHYJGL-7), the “Military Logistics Research Project” (Grant No. BLJ22J041), and the “Sichuan Emergency Management Knowledge Popularization Base” project (Grant No. YJ24-12).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Quispe, M.F.C.; Mamani, L.D.C.; Yoshizaki, H.T.Y.; Junior, I.B. Temporary Facility Location Problem in Humanitarian Logistics: A Systematic Literature Review. Logistics 2025, 9, 42. [Google Scholar] [CrossRef]
  2. Chełstowska, A.; Oleksandra, O.; Sosik, K. The Impact of Construction Logistics and Project Implementation on Urban Quality of Life: The Grounded Theory Approach. Sustainability 2025, 17, 2651. [Google Scholar] [CrossRef]
  3. Syzdykbayeva, B.; Raimbekov, Z.; Baiburiev, R.; Dulatbekova, Z. Improving the Transport and Logistic Infrastructure of a City Using the Graph Theory Method: The Case of Astana, Kazakhstan. Sustainability 2025, 17, 2486. [Google Scholar] [CrossRef]
  4. Stanković, R.; Pereglin, T.; Erdelić, T. Optimizing Utilization of Transport Capacities in the Cold Chain by Introducing Dynamic Allocation of Semi-Trailers. Logistics 2023, 7, 101. [Google Scholar] [CrossRef]
  5. Nobre, A.V.; Oliveira, C.C.R.; Nunes, D.R.L.; Melo, A.C.S.; Guimarães, G.E.; Anholon, R.; Martins, V.W.B. Analysis of Decision Parameters for Route Plans and Their Importance for Sustainability: An Exploratory Study Using the TOPSIS Technique. Logistics 2022, 6, 32. [Google Scholar] [CrossRef]
  6. Kleinová, K.; Straka, M. Streamlining Distribution Routes Using the Language Model of Artificial Intelligence. Sustainability 2024, 16, 6890. [Google Scholar] [CrossRef]
  7. Yu, F.H.; Chen, M.J.; Xia, X.Y.; Zhu, D.P.; Peng, Q.; Deng, K.B. Logistics Distribution Route Optimization with Time Windows Based on Multi-Agent Deep Reinforcement Learning. Int. J. Inf. Technol. Syst. Approach IJITSA 2024, 17, 1–23. [Google Scholar] [CrossRef]
  8. Zhang, C.L.; Tang, L.Q.; Zhang, J.; Gou, L.M. Optimizing Distribution Routes for Chain Supermarket Considering Carbon Emission Cost. Mathematics 2023, 11, 2734. [Google Scholar] [CrossRef]
  9. Zhang, H. An optimisation method of factory terminal logistics distribution route based on K-means clustering. Int. J. Manuf. Technol. Manag. 2023, 37, 184–198. [Google Scholar] [CrossRef]
  10. Dan, H. Research on Optimization of Supermarket Chain Distribution Routes Under O2O Model. Process Integr. Optim. Sustain. 2022, 6, 837–844. [Google Scholar]
  11. Puspitasari, F.H.; Kurniawan, V.R.B. Designing Optimal Distribution Routes using a Vehicle Routing Problem (VRP) Model in a Logistics Service Provider. In IOP Conference Series: Materials Science and Engineering; IOP Publishing: Bristol, UK, 2021; Volume 1071, p. 012005. [Google Scholar]
  12. Sembiring, C.A.; Sanjaya, A.; Willyanto, W. Optimal distribution route to minimize transportation costs in soft drink industry. J. Phys. Conf. Ser. 2019, 1402, 022048. [Google Scholar] [CrossRef]
  13. Qiao, J. Research on optimizing the distribution route of food cold chain logistics based on modern biotechnology. In AIP Conference Proceedings; AIP Publishing: Melville, NY, USA, 2019; Volume 2110, p. 020070. [Google Scholar]
  14. Cherigui, A.; Talia, A.; Benstaali, I.; Blissag, B.; Zerouali, B.; Meddi, M. Urban expansion and its environmental impacts in northwestern Algeria using cellular automata-Markov-chain modeling. Model. Earth Syst. Environ. 2025, 11, 159. [Google Scholar] [CrossRef]
  15. Zhu, L.L.; Li, R.X.; Wang, J.; Xiao, Q.X.; Wen, J.; Hao, J.F.; Yang, D. Cellular automata-based long platoon models based on dynamic multi-virtual leading vehicles. Phys. A Stat. Mech. Appl. 2025, 662, 13043. [Google Scholar] [CrossRef]
  16. Jin, Y.X.; Wakayama, T.; Jiang, R.H.; Sugasawa, S. Clustered factor analysis for multivariate spatial data. Spat. Stat. 2025, 66, 100889. [Google Scholar] [CrossRef]
  17. Li, H.M.; Xie, X.H.; Qin, Y.; Zhang, X.; Zhang, Y.A. The Supply Chain Transportation and Route Planning Under Deep Reinforcement Learning. J. Organ. End User Comput. JOEUC 2025, 37, 1–27. [Google Scholar] [CrossRef]
  18. Tian, T.; Wu, H.J.; Wei, H.T.; Wu, F.; Xu, M.L. An Efficient Route Planning Algorithm for Special Vehicles with Large-Scale Road Network Data. ISPRS Int. J. Geo-Inf. 2025, 14, 71. [Google Scholar] [CrossRef]
  19. Zhao, C.; Wu, L.H.; Zuo, C.L.; Zhang, H.Q. An improved fruit fly optimization algorithm with Q-learning for solving distributed permutation flow shop scheduling problems. Complex Intell. Syst. 2024, 10, 5965–5988. [Google Scholar] [CrossRef]
  20. Kumar, R.R.; Vijay, K. A systematic review on fruit fly optimization algorithm and its applications. Artif. Intell. Rev. 2023, 56, 13015–13069. [Google Scholar]
  21. Ghannadi, P.; Kourehli, S.S.; Mirjalili, S. The Application of PSO in Structural Damage Detection: An Analysis of the Previously Released Publications (2005–2020). Fract. Struct. Integr. 2022, 16, 460–489. [Google Scholar] [CrossRef]
Figure 1. The solution and research architecture of our work.
Figure 1. The solution and research architecture of our work.
Symmetry 17 00649 g001
Figure 2. The process of determining the local space S d of distribution center D c ( i ) and delivery point D p ( j ) from the urban road node space { d ( i )   |   0 < i p } . (a) shows the positioning of the distribution center D c ( i ) and the delivery point D p ( j ) . (b) shows the set of road nodes. (c) shows the spatial relationship between the distribution center, the delivery point, and the set of road nodes. (d) shows the constructed local space S d 1 of the distribution center D c ( i ) and local space S d 2 of the delivery point D p ( j ) .
Figure 2. The process of determining the local space S d of distribution center D c ( i ) and delivery point D p ( j ) from the urban road node space { d ( i )   |   0 < i p } . (a) shows the positioning of the distribution center D c ( i ) and the delivery point D p ( j ) . (b) shows the set of road nodes. (c) shows the spatial relationship between the distribution center, the delivery point, and the set of road nodes. (d) shows the constructed local space S d 1 of the distribution center D c ( i ) and local space S d 2 of the delivery point D p ( j ) .
Symmetry 17 00649 g002
Figure 3. The empirical process of the convex polygon for the cellular basic structure. (a) shows the allowed concave polygon. (b) shows the three attribution relationships, and the D p belongs to S [ A B C D E F ] . (c) shows the three attribution relationships, and the D p belongs to S [ C E J I H G ] . The letters A to J represent the polygon vertexes.
Figure 3. The empirical process of the convex polygon for the cellular basic structure. (a) shows the allowed concave polygon. (b) shows the three attribution relationships, and the D p belongs to S [ A B C D E F ] . (c) shows the three attribution relationships, and the D p belongs to S [ C E J I H G ] . The letters A to J represent the polygon vertexes.
Symmetry 17 00649 g003
Figure 4. Cellular space S c ( i ) searching algorithm under the condition of distribution center D c ( i ) and local space S d : { D c , d ( i )   |   0 < i a } . (a) shows the local space S d of the distribution center D c ( i ) . (b) shows the formed coordinate system. (c) shows the d ( 2 ) is found. (d) shows the d ( 4 ) is found, but it is not feasible. (e) shows the d ( 4 ) is abandoned and d ( 5 ) is found. (fh) show the d ( 7 ) d ( 10 ) d ( 9 ) are found, but only d ( 9 ) is feasible. (i) shows the d ( 8 ) d ( 6 ) are found, but only d ( 6 ) is feasible. (j) shows the d ( 1 ) d ( 3 ) are found, but only d ( 3 ) is feasible. (k) shows the d ( 2 ) is found. (l) shows the final formed cellular. Numbers 1,2,3,…,10 represent the codes of the road nodes.
Figure 4. Cellular space S c ( i ) searching algorithm under the condition of distribution center D c ( i ) and local space S d : { D c , d ( i )   |   0 < i a } . (a) shows the local space S d of the distribution center D c ( i ) . (b) shows the formed coordinate system. (c) shows the d ( 2 ) is found. (d) shows the d ( 4 ) is found, but it is not feasible. (e) shows the d ( 4 ) is abandoned and d ( 5 ) is found. (fh) show the d ( 7 ) d ( 10 ) d ( 9 ) are found, but only d ( 9 ) is feasible. (i) shows the d ( 8 ) d ( 6 ) are found, but only d ( 6 ) is feasible. (j) shows the d ( 1 ) d ( 3 ) are found, but only d ( 3 ) is feasible. (k) shows the d ( 2 ) is found. (l) shows the final formed cellular. Numbers 1,2,3,…,10 represent the codes of the road nodes.
Symmetry 17 00649 g004
Figure 5. The schematic diagram of generating clustering target paths P a t h ( i ) based on the distribution center D c ( i ) , delivery point D p ( j ) , and neighborhood cellular subspace. (a) shows the spatial layout of the distribution center, the delivery point, and the road nodes. (b) shows the generated distribution center cellular S c ( i ) , the delivery point cellular S p ( j ) , and the neighborhood cellular S ( u ) . (c) shows the generated cellular spatial sub-area. (d) shows the potential cellulars with the codes that form the clustering target paths P a t h ( i ) between the distribution center D c ( i ) and the delivery point D p ( j ) . (eh) shows the four clustering target paths P a t h ( 1 ) ~ P a t h ( 4 ) for the k N ( i ) = 5 number of clustering target cellulars. (il) shows the four clustering target paths P a t h ( 5 ) ~ P a t h ( 8 ) for the k N ( i ) = 6 number of clustering target cellulars.
Figure 5. The schematic diagram of generating clustering target paths P a t h ( i ) based on the distribution center D c ( i ) , delivery point D p ( j ) , and neighborhood cellular subspace. (a) shows the spatial layout of the distribution center, the delivery point, and the road nodes. (b) shows the generated distribution center cellular S c ( i ) , the delivery point cellular S p ( j ) , and the neighborhood cellular S ( u ) . (c) shows the generated cellular spatial sub-area. (d) shows the potential cellulars with the codes that form the clustering target paths P a t h ( i ) between the distribution center D c ( i ) and the delivery point D p ( j ) . (eh) shows the four clustering target paths P a t h ( 1 ) ~ P a t h ( 4 ) for the k N ( i ) = 5 number of clustering target cellulars. (il) shows the four clustering target paths P a t h ( 5 ) ~ P a t h ( 8 ) for the k N ( i ) = 6 number of clustering target cellulars.
Symmetry 17 00649 g005
Figure 6. The process of searching the AGNES clustering decision tree T r e e ( j ) .
Figure 6. The process of searching the AGNES clustering decision tree T r e e ( j ) .
Symmetry 17 00649 g006
Figure 7. The algorithm example of searching for fruit fly individual F ( i ) (a) shows the initialized route interval S ( i ) . (b) shows the p ( 1 ) is found. (c) shows the p ( 3 ) is found. (d) shows the p ( 4 ) is found. (e) shows the p ( 7 ) is found. (f) shows the p ( 8 ) is found. (g) shows the p ( 9 ) is found. (h) shows the fruit fly individual is found. Numbers 1,2,3,…,10 represent the codes of the road nodes.
Figure 7. The algorithm example of searching for fruit fly individual F ( i ) (a) shows the initialized route interval S ( i ) . (b) shows the p ( 1 ) is found. (c) shows the p ( 3 ) is found. (d) shows the p ( 4 ) is found. (e) shows the p ( 7 ) is found. (f) shows the p ( 8 ) is found. (g) shows the p ( 9 ) is found. (h) shows the fruit fly individual is found. Numbers 1,2,3,…,10 represent the codes of the road nodes.
Symmetry 17 00649 g007
Figure 8. The cellular space result output by the proposed algorithm based on the original collected data. (a) shows the extracted distribution centers D c ( i ) (brown dots) and the delivery points D p ( j ) (blue dots), with the number j indicating the delivery point codes. (b) shows the extracted road nodes (black dots). (c) shows the extraction of the local space S d of each delivery point in the road node set, with the red boundary area representing an example of the local space S d of the delivery points D p ( 1 ) and D p ( 5 ) . (d) shows the output result of the cellular space, in which the green area represents the distribution center cellular S c ( i ) , the yellow area represents the delivery point cellular S p ( i ) , the white area represents the empty cellular S ( i ) Ø , and the red dots on the boundary E ( i ) of the yellow cellular represent the cellular control points c ( i ) . Numbers 1,2,3,…,20 represent the codes of the delivery points.
Figure 8. The cellular space result output by the proposed algorithm based on the original collected data. (a) shows the extracted distribution centers D c ( i ) (brown dots) and the delivery points D p ( j ) (blue dots), with the number j indicating the delivery point codes. (b) shows the extracted road nodes (black dots). (c) shows the extraction of the local space S d of each delivery point in the road node set, with the red boundary area representing an example of the local space S d of the delivery points D p ( 1 ) and D p ( 5 ) . (d) shows the output result of the cellular space, in which the green area represents the distribution center cellular S c ( i ) , the yellow area represents the delivery point cellular S p ( i ) , the white area represents the empty cellular S ( i ) Ø , and the red dots on the boundary E ( i ) of the yellow cellular represent the cellular control points c ( i ) . Numbers 1,2,3,…,20 represent the codes of the delivery points.
Symmetry 17 00649 g008
Figure 9. The results for the AGNES clustering decision tree T r e e ( j ) corresponding to delivery point D p ( j ) . (ae) shows decision trees T r e e ( 1 ) ~ T r e e ( 5 ) of delivery points D p ( 1 ) ~ D p ( 5 ) . (fj) shows decision trees T r e e ( 6 ) ~ T r e e ( 10 ) of delivery points D p ( 6 ) ~ D p ( 10 ) . (ko) shows decision trees T r e e ( 11 ) ~ T r e e ( 15 ) of delivery points D p ( 11 ) ~ D p ( 15 ) . (pt) shows decision trees T r e e ( 6 ) ~ T r e e ( 20 ) of delivery points D p ( 16 ) ~ D p ( 20 ) .
Figure 9. The results for the AGNES clustering decision tree T r e e ( j ) corresponding to delivery point D p ( j ) . (ae) shows decision trees T r e e ( 1 ) ~ T r e e ( 5 ) of delivery points D p ( 1 ) ~ D p ( 5 ) . (fj) shows decision trees T r e e ( 6 ) ~ T r e e ( 10 ) of delivery points D p ( 6 ) ~ D p ( 10 ) . (ko) shows decision trees T r e e ( 11 ) ~ T r e e ( 15 ) of delivery points D p ( 11 ) ~ D p ( 15 ) . (pt) shows decision trees T r e e ( 6 ) ~ T r e e ( 20 ) of delivery points D p ( 16 ) ~ D p ( 20 ) .
Symmetry 17 00649 g009
Figure 10. The food odor concentration and fitness function value for each sub-interval based on the output data in Table 3.
Figure 10. The food odor concentration and fitness function value for each sub-interval based on the output data in Table 3.
Symmetry 17 00649 g010
Figure 11. The food odor concentration and fitness function values for the sub-intervals and the overall intervals of each route based on the output data in Table 4, with different colors representing different routes. (a) shows the set of routes with the first delivery point D p ( 1 ) , (b) shows the set of routes with the first delivery point D p ( 6 ) , (c) shows the set of routes with the first delivery point D p ( 10 ) , and (d) shows the set of routes with the first delivery point D p ( 16 ) . The horizontal axis numbers 1–5 in the figure represent the 1st to 5th sub-intervals of the route, and the number 6 represents the total interval of the route.
Figure 11. The food odor concentration and fitness function values for the sub-intervals and the overall intervals of each route based on the output data in Table 4, with different colors representing different routes. (a) shows the set of routes with the first delivery point D p ( 1 ) , (b) shows the set of routes with the first delivery point D p ( 6 ) , (c) shows the set of routes with the first delivery point D p ( 10 ) , and (d) shows the set of routes with the first delivery point D p ( 16 ) . The horizontal axis numbers 1–5 in the figure represent the 1st to 5th sub-intervals of the route, and the number 6 represents the total interval of the route.
Symmetry 17 00649 g011
Figure 12. Comparison of fitness function values between the experimental group and the control group. (a) shows a comparison of fitness function values for each sub-interval output by the three algorithms. (b) shows the optimal logistics route “c3-16,10,6-c2” and corresponding sub-intervals and total interval fitness function values output by the three algorithms. In the figure, the blue color represents PRA, the orange color represents DIA, and the green color represents ASA. The horizontal axis numbers 1–5 in the figure represent the 1st to 5th sub-intervals of the route, and the number 6 represents the total interval of the route.
Figure 12. Comparison of fitness function values between the experimental group and the control group. (a) shows a comparison of fitness function values for each sub-interval output by the three algorithms. (b) shows the optimal logistics route “c3-16,10,6-c2” and corresponding sub-intervals and total interval fitness function values output by the three algorithms. In the figure, the blue color represents PRA, the orange color represents DIA, and the green color represents ASA. The horizontal axis numbers 1–5 in the figure represent the 1st to 5th sub-intervals of the route, and the number 6 represents the total interval of the route.
Symmetry 17 00649 g012
Table 1. The index δ N ( i ) ~ δ , constraint factor λ N ( i ) ~ λ , and objective function value f ( D p ( i ) , D c ( i ) ) ~ f of each distribution point to the delivery center output by the algorithm.
Table 1. The index δ N ( i ) ~ δ , constraint factor λ N ( i ) ~ λ , and objective function value f ( D p ( i ) , D c ( i ) ) ~ f of each distribution point to the delivery center output by the algorithm.
Dc(1)Dc(2)Dc(3)Dc(4)
δ λ f δ λ f δ λ f δ λ f
D p ( 1 ) 0.2500.2700.2600.2500.2780.2640.5000.3700.4350.1670.1640.165
D p ( 2 ) 0.2500.3230.2860.2000.2220.2110.1670.1850.1760.5000.2940.397
D p ( 3 ) 0.3330.4760.4050.1670.1640.1650.1430.1560.1500.5000.2860.393
D p ( 4 ) 0.3330.2940.3140.1430.1670.1550.1250.1390.1320.5000.4760.488
D p ( 5 ) 0.1670.1720.1700.2000.2220.2110.1670.1390.1530.5000.4550.477
D p ( 6 ) 0.2000.2080.2040.5000.4000.4500.3330.2220.2780.1670.2270.197
D p ( 7 ) 0.3330.2700.3020.1670.1690.1680.3330.3700.3520.1670.1250.146
D p ( 8 ) 0.5000.7140.6070.1670.1640.1650.1670.1750.1710.3330.2380.286
D p ( 9 ) 0.5000.3330.4170.1430.1350.1390.1430.1270.1350.3330.3230.328
D p ( 10 ) 0.2000.2220.2110.1670.1960.1810.1430.1430.1430.5000.5880.544
D p ( 11 ) 0.1430.1670.1550.3330.2940.3140.2000.1540.1770.2500.3130.281
D p ( 12 ) 0.2000.1960.1980.5000.5000.5000.3330.3450.3390.1430.1640.153
D p ( 13 ) 0.3330.5560.4440.2000.1920.1960.2000.1960.1980.3330.2330.283
D p ( 14 ) 0.2000.2330.2160.3330.3030.3180.2000.1920.1960.2500.2780.264
D p ( 15 ) 0.3330.3130.3230.3330.2630.2980.3330.2860.3100.2000.1890.194
D p ( 16 ) 0.2000.1820.1910.3330.4550.3940.5000.4760.4880.1430.1450.144
D p ( 17 ) 0.5000.4760.4880.2000.1750.1880.2500.2630.2570.2000.1540.177
D p ( 18 ) 0.2500.2560.2530.1430.1670.1550.1250.1350.1300.5000.6250.563
D p ( 19 ) 0.2500.2330.2410.5000.3570.4290.5000.3570.4290.1670.1690.168
D p ( 20 ) 0.1670.1920.1790.2500.2780.2640.1670.1640.1650.3330.3330.333
Table 2. The output AGNES clustering matrix M ( D p ( j ) ) .
Table 2. The output AGNES clustering matrix M ( D p ( j ) ) .
ClusterDistribution CenterElement of the Cluster
C ( 1 ) D c ( 1 ) D p ( 3 ) D p ( 8 ) D p ( 9 ) D p ( 13 ) D p ( 15 ) D p ( 17 )
C ( 2 ) D c ( 2 ) D p ( 6 ) D p ( 11 ) D p ( 12 ) D p ( 14 )
C ( 3 ) D c ( 3 ) D p ( 1 ) D p ( 7 ) D p ( 16 ) D p ( 19 )
C ( 4 ) D c ( 4 ) D p ( 2 ) D p ( 4 ) D p ( 5 ) D p ( 10 ) D p ( 18 ) D p ( 20 )
Table 3. The food odor concentration S F ( i ) o p t and fitness function value f ( S F ( i ) ) o p t corresponding to the optimal fruit fly individual F ( i ) o p t in the logistics sub-interval.
Table 3. The food odor concentration S F ( i ) o p t and fitness function value f ( S F ( i ) ) o p t corresponding to the optimal fruit fly individual F ( i ) o p t in the logistics sub-interval.
Sub-Interval/Fruit Fly Individual F(i)c3-p1c3-p6c3-p10c3-p16p1-p6p1-p10p1-p16
S F ( i ) o p t / f ( S F ( i ) ) o p t 0.25640.17540.11240.34480.34480.18180.4348
Sub-interval/fruit fly individual F ( i ) p6-p10p6-p16p10-p16c2-p1c2-p6c2-p10c2-p16
S F ( i ) o p t / f ( S F ( i ) ) o p t 0.22730.22730.12820.17240.25640.14930.2703
Table 4. Food odor concentration S F ( i ) and fitness function f ( S F ( i ) ) of each route within the logistics interval.
Table 4. Food odor concentration S F ( i ) and fitness function f ( S F ( i ) ) of each route within the logistics interval.
Interval/Fruit Fly Individual F(i)Sub-Interval/Fruit Fly Individual F(1)Sub-Interval/Fruit Fly Individual F(2)Sub-Interval/Fruit Fly Individual F(3)Sub-Interval/Fruit Fly Individual F(4)Sub-Interval/Fruit Fly Individual F(5)Interval SF(i)/f(SF(i))
c3-1,6,10,16-c20.25640.34480.22730.12820.27030.0441
c3-1,6,16,10-c20.25640.34480.22730.12820.14930.0389
c3-1,10,6,16-c20.25640.18180.22730.22730.27030.0457
c3-1,10,16,6-c20.25640.18180.12820.22730.25640.0392
c3-1,16,6,10-c20.25640.43480.22730.22730.14930.0461
c3-1,16,10,6-c20.25640.43480.12820.22730.25640.0448
c3-6,1,10,16-c20.17540.34480.18180.12820.27030.0391
c3-6,1,16,10-c20.17540.34480.43480.12820.14930.0394
c3-6,10,1,16-c20.17540.22730.18180.43480.27030.0463
c3-6,10,16,1-c20.17540.22730.12820.43480.17240.0385
c3-6,16,1,10-c20.17540.22730.43480.18180.14930.0407
c3-6,16,10,1-c20.17540.22730.12820.18180.17240.0342
c3-10,1,6,16-c20.11240.18180.34480.22730.27030.0394
c3-10,1,16,6-c20.11240.18180.43480.22730.25640.0400
c3-10,6,1,16-c20.11240.22730.34480.43480.27030.0450
c3-10,6,16,1-c20.11240.22730.22730.43480.17240.0388
c3-10,16,1,6-c20.11240.12820.43480.34480.25640.0388
c3-10,16,6,1-c20.11240.12820.22730.34480.17240.0336
c3-16,1,6,10-c20.34480.43480.34480.22730.14930.0521
c3-16,1,10,6-c20.34480.43480.18180.22730.25640.0526
c3-16,6,1,10-c20.34480.22730.34480.18180.14930.0446
c3-16,6,10,1-c20.34480.22730.22730.18180.17240.0435
c3-16,10,1,6-c20.34480.12820.18180.34480.25640.0435
c3-16,10,6,1-c20.34480.12820.22730.34480.17240.0420
Table 5. The output results of the optimal logistics sub-interval fitness function values by experimental group and control group.
Table 5. The output results of the optimal logistics sub-interval fitness function values by experimental group and control group.
PRASub-interval/fruit fly individual F ( i ) c3-p1c3-p6c3-p10c3-p16p1-p6p1-p10p1-p16
f ( S F ( i ) ) o p t 0.25640.17540.11240.34480.34480.18180.4348
Sub-interval/fruit fly individual F ( i ) p6-p10p6-p16p10-p16c2-p1c2-p6c2-p10c2-p16
f ( S F ( i ) ) o p t 0.22730.22730.12820.17240.25640.14930.2703
DIASub-interval/fruit fly individual F ( i ) c3-p1c3-p6c3-p10c3-p16p1-p6p1-p10p1-p16
f ( S F ( i ) ) o p t 0.25000.14930.09260.32260.30300.16390.3846
Sub-interval/fruit fly individual F ( i ) p6-p10p6-p16p10-p16c2-p1c2-p6c2-p10c2-p16
f ( S F ( i ) ) o p t 0.20830.21280.11360.17240.22220.14290.2439
ASASub-interval/fruit fly individual F ( i ) c3-p1c3-p6c3-p10c3-p16p1-p6p1-p10p1-p16
f ( S F ( i ) ) o p t 0.22730.16670.10000.26320.30300.15150.3704
Sub-interval/fruit fly individual F ( i ) p6-p10p6-p16p10-p16c2-p1c2-p6c2-p10c2-p16
f ( S F ( i ) ) o p t 0.20410.21740.12660.15630.25640.12200.2174
Table 6. The fitness function values of the optimal logistics interval “c3-16,10,6-c2” output by the experimental group and control group.
Table 6. The fitness function values of the optimal logistics interval “c3-16,10,6-c2” output by the experimental group and control group.
Sub-Interval/Fruit Fly Individual F(1)Sub-Interval/Fruit Fly Individual F(2)Sub-Interval/Fruit Fly Individual F(3)Sub-Interval/Fruit Fly Individual F(4)Sub-Interval/Fruit Fly Individual F(5)Interval SF(i)/f(SF(i))
PRA0.34480.43480.18180.22730.25640.0526
DIA0.32260.38460.16390.20830.22220.0474
ASA0.26320.37040.15150.20410.25640.0457
Table 7. The total logistics route cost output by the experimental group and control group (unit: km).
Table 7. The total logistics route cost output by the experimental group and control group (unit: km).
RoutePRADIAASARoutePRADIAASA
c3-1,6,10,16-c222.725.025.1c3-10,1,6,16-c225.429.029.1
c3-1,6,16,10-c225.727.828.4c3-10,1,16,6-c225.028.727.8
c3-1,10,6,16-c221.923.725.1c3-10,6,1,16-c222.225.625.5
c3-1,10,16,6-c225.528.127.4c3-10,6,16,1-c225.828.728.6
c3-1,16,6,10-c221.723.124.8c3-10,16,1,6-c225.830.027.8
c3-1,16,10,6-c222.324.723.8c3-10,16,6,1-c229.833.432.2
c3-6,1,10,16-c225.629.028.4c3-16,1,6,10-c219.220.822.9
c3-6,1,16,10-c225.428.428.1c3-16,1,10,6-c219.021.121.9
c3-6,10,1,16-c221.624.324.8c3-16,6,1,10-c222.424.226.5
c3-6,10,16,1-c226.028.727.9c3-16,6,10,1-c223.024.526.3
c3-6,16,1,10-c224.627.128.1c3-16,10,1,6-c223.025.825.5
c3-6,16,10,1-c229.232.131.5c3-16,10,6,1-c223.825.826.3
Table 8. The results of the significance test (t-test).
Table 8. The results of the significance test (t-test).
AlgorithmAverage ValueVarianceStandard Deviationt ValueSignificance LevelDegree of FreedomDegree of Freedom (Critical Value)
PRA24.0256.9582.638 α = 0.054640 (−2.021)
DIA26.6509.9303.151−3.12950 (−2.009)
ASA26.8255.9922.448−3.81260 (−2.000)
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhou, X.; Wang, J.; Liu, W.; Jiang, F.; Li, R. Intelligent Emergency Logistics Route Model Based on Cellular Space AGNES Clustering and Symmetrical Fruit Fly Optimization Algorithm. Symmetry 2025, 17, 649. https://doi.org/10.3390/sym17050649

AMA Style

Zhou X, Wang J, Liu W, Jiang F, Li R. Intelligent Emergency Logistics Route Model Based on Cellular Space AGNES Clustering and Symmetrical Fruit Fly Optimization Algorithm. Symmetry. 2025; 17(5):649. https://doi.org/10.3390/sym17050649

Chicago/Turabian Style

Zhou, Xiao, Jun Wang, Wenbing Liu, Fan Jiang, and Rui Li. 2025. "Intelligent Emergency Logistics Route Model Based on Cellular Space AGNES Clustering and Symmetrical Fruit Fly Optimization Algorithm" Symmetry 17, no. 5: 649. https://doi.org/10.3390/sym17050649

APA Style

Zhou, X., Wang, J., Liu, W., Jiang, F., & Li, R. (2025). Intelligent Emergency Logistics Route Model Based on Cellular Space AGNES Clustering and Symmetrical Fruit Fly Optimization Algorithm. Symmetry, 17(5), 649. https://doi.org/10.3390/sym17050649

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