4.2.1. Result and Analysis on the Distribution Point Cellular Space
Generate a cellular space containing 10 distribution points
and certain road nodes
within the Zhengzhou city by using the constructed topology algorithm, as shown in
Figure 11.
Figure 11a shows the extracted of 10 discrete distribution points
and all road nodes
;
Figure 11b shows the generated cellular space, in which each closed and independent unit consisting of three or more road nodes
is a spatial cellular unit. The green cellular unit represents the one in which the distribution point
is located, and the white cellular unit represents the empty cellular unit
.
By analyzing the visualization results of the cellular space in
Figure 11, the following conclusions can be drawn:
(1) Perform an overlay analysis on the distribution maps of the distribution points and the road nodes. The distribution points and the road nodes show a non-overlapping spatial relationship, which meets the conditions for constructing the cellular space algorithm. For the distribution pattern of point set and , it can be seen that one distribution point can form multiple cellular structures.
(2) Constrained by the geographical space and the road distribution conditions of Zhengzhou city, the constructed cellular space algorithm only generates one optimal cellular distribution structure, and the position, structure, area, and the included points of each distribution point cellular unit and empty cellular unit are controlled and fixed by the algorithm and the geographical constraints.
(3) The cellular space visualizes the relative positions, adjacency relationships and clustering relationships between the distribution point cellular units and the empty cellular units in the spatial coordinate system, forming the necessary condition for distribution point cellular clustering. From the analysis of the adjacency relationship of each cellular unit, it can be concluded that the adjacent cellular units with shared edges are superior to the remote ones in forming a gathered cluster in the aspect of the geographical conditions.
4.2.2. The Results and Analysis of the Distribution Point Cellular Space Clustering
Firstly, the distribution center set
is loaded into the distribution point set
and the road point set
through the overlay operation. The spatial accessibility between each distribution point
and the distribution center
is calculated based on the spatial coordinates
of the point set collected in
Table 2 and
Table 3, and the clustering objective function is constructed. Output the clustering spatial decision tree
of each distribution point
using the clustering algorithm, and output the clustering matrix
. Based on the matrix
, output the clusters
with the distribution centers
as the
k-center points.
Figure 12 shows the clustering spatial decision tree
of each distribution point. The tree nodes store the objective functions between the distribution point
and the distribution center
, representing the spatial accessibility between points. The distribution center
of the root node
is the cluster in which the distribution points are located.
Table 4 shows the generated distribution point clustering matrix
. According to the decision tree
of each distribution point visualized in
Figure 12 and the clustering matrix
of distribution points in
Table 4, the clusters
generated by each distribution center
are obtained. The results of each cluster are as follows:
- (1)
Cluster : ;
- (2)
Cluster : ;
- (3)
Cluster : ;
- (4)
Cluster : .
Based on the constraints of the clustering algorithm on the control points and the boundary conditions of each cluster in the cellular space, as well as the generated cellular space structure and the clustering results, the cluster shape is generated in the cellular space, which includes cluster centers
, cluster cellular units
, and road nodes
, as shown in
Figure 13.
Figure 13a is a structural diagram containing the distribution centers
and the relationship between each cellular unit
and the center
.
Figure 13b is a structural diagram of each cluster, and the cluster covered by the dark yellow boundaries and the blue area is the cluster
where distribution center
is located; the cluster covered by the red boundaries and the purple area is the cluster
where distribution center
is located; the cluster covered by the dark grey boundaries and the gray area is the cluster
where distribution center
is located. In each cluster, the cluster
contains three cellular units,
,
, and
, marked in pink; cluster
contains three cellular units,
,
, and
, marked in green; cluster
contains four cellular units,
,
,
, and
, marked in brown; and cluster
contains empty cellular units.
(1) The constructed clustering algorithm is effective in aggregating distribution points with spatial attributes, and can achieve clusters based on the spatial accessibility of distribution points. Therefore, the constructed clustering algorithm is feasible for achieving spatial clustering.
(2)
Figure 12a–j represent the clustering spatial decision trees of distribution points
~
. The clustering spatial decision tree
generated for each distribution point
corresponds to the spatial accessibility between the distribution point and each distribution center, and there are significant differences in spatial accessibility between the points. Taking
Figure 12a as an example, the spatial accessibility between distribution point
and distribution centers
~
are visualized in the structural tree-
. The spatial accessibility between
and
that is stored in the root node is 0.2720; the spatial accessibility between
and
that is stored in the left child node of the second layer is 0.1900; the spatial accessibility between
and
that is stored in the right child node of the second layer is 0.0959; the spatial accessibility between
and
that is stored in the child node of the third layer is 0.0933. According to the structural tree-
, the algorithm stores in a descending order for spatial accessibility, and the cluster corresponding to the distribution center of the root node is the cluster to which the distribution point belongs. The storage principle of other decision trees
~
is identical.
The quantitative results of the decision tree prove that the constructed clustering algorithm can obtain the spatial relationship between the distribution points and the distribution centers through data-mining methods, and visualizes this spatial relationship through a tree structure. The decision system of intelligent connected vehicles can search for the distribution center with the highest spatial closeness to the current distribution point by using the tree structure, providing a quantitative basis for determining the distribution center with the lowest transportation cost.
(3) In the distribution point clustering matrix , the clusters and both contain three distribution points, while cluster contains four distribution points. This result proves that the clustering algorithm has the feature of fairness and uniformity in constructing the spatial relationship between the distribution points and the distribution centers, and can effectively and fairly cluster each distribution point. The algorithm has strong features of robustness.
(4) In the distribution point clustering matrix , the cellular units contained in cluster are all the empty cellular units. This proves that the constructed clustering algorithm can quickly and accurately search for the noise points with the lowest spatial closeness, and can eliminate the noise points, providing the optimal spatial conditions for intelligent connected vehicles to search for distribution routes.
(5) Analyze the generated shape and layout of the clusters in
Figure 13.
Figure 13a shows the layout structure of the distribution centers and distribution points in the cellular space. The green area represents the cellular units where the distribution points are located, and the solid yellow circles represent the distribution centers. From the distribution map, it can be seen that there is a relatively discrete spatial relationship between the cellular units of the distribution centers and the distribution points, and there are spatial accessibility barriers between the distribution centers and the distribution points. Therefore, constructing clusters with the distribution centers as coordinate origins is a precondition for obtaining the optimal spatial clustering of distribution points and for searching for the optimal distribution route.
Figure 13b shows the visualization results of the clusters output by the algorithm. The blue area represents distribution center cluster
, the purple area represents distribution center cluster
, and the green area represents distribution center cluster
. Distribution center
does not constitute a cluster. The spatial accessibility from distribution point
contained in its cluster
to the distribution center
within this cluster is greater than that of the distribution centers
within other clusters, indicating that the distribution points of one cluster are closest to the distribution center within this cluster, and the cost of transporting materials from the distribution center within the cluster to the distribution points of the cluster is the lowest. When the distribution points that require materials involve multiple clusters, the closer the cluster is, and the more distribution points belong to it, the higher the probability that its distribution center is output by the algorithm as the starting point of the distribution route. Among the three clusters containing distribution points,
and
have four shared edges,
and
have four shared edges, while
and
do not have shared edges. This proves that the constructed clustering algorithm is constrained by the geographical space and the road traffic conditions, and the clusters are strictly composed of positioning points and road boundaries. The visualization results of the clusters provide decision support for intelligent connected vehicles in searching for routes.
4.2.3. The Results and Analysis of the Intelligent Connected Vehicle Distribution Route
Experiment Condition
Based on the constraints of the operating speed and the material distribution time of intelligent connected vehicles in cities, the following scenarios are set in the experiment, and experimental data is collected based on these preconditions. The experiment outputs intelligent connected vehicle distribution routes.
(1) Constrained by urban transportation and the geospatial conditions, the comprehensive average speed for an intelligent connected vehicle is set to 20 km/h;
(2) When an intelligent connected vehicle arrives at the distribution point at a certain time , it immediately carries out material uploading. When material uploading is completed, it leaves at a certain time to move on to the next point . The experimental sets that, from the time of arrival in to the time of departure in , the intermediate time (in hours) is used for material unloading, and the unloading time met is . For the ease of calculation, we set uniformly. Set the loading time of the intelligent connected vehicle at the distribution center as 8:00–10:00 a.m., and the departure time as 10:00 a.m.
(3) The working time in the whole process of intelligent connected vehicles is jointly determined by the travel time and the uploading time. The experiment sets a maximum of four distribution points for intelligent connected vehicles to deliver materials within a working day of 8 h. Therefore, the number of control points that the distribution route meets is . According to the conditions, the randomly selected distribution points for the experiment are {: Zhong Yuan Wanda; : Jinyi Cheng; : Dennis Outlets; and : Hanhai Beijin}.
(4) Based on the number of the distribution points , and on the route sub-intervals involved in the experiment, the maximum number of the sub-intervals meets .
Experiment Results and Analysis
According to the experimental conditions, we collect the movement distance between all the road nodes and the adjacent nodes in Zhengzhou City. We randomly select the distribution points with a total quantity from each cluster and set them as the control points for the material distribution routes. An intelligent connected vehicle starts from the distribution center , distributes materials to the distribution points along the algorithm constrained route, and finally returns to . Using the constructed improved cockroach optimization algorithm, we firstly output the global optimal cockroaches between the control points containing and by using the Module 1 algorithm, and then determine the optimal solutions of the sub-intervals , which are the shortest road travel distances in the sub-intervals. Secondly, using the Module 2 algorithm, we search the route intervals composed of and to obtain the global optimal cockroach , and determine the optimal solution of the interval , which is the shortest moving distance of the distribution route.
According to the experimental conditions and process, we output the cockroach
, the sub-interval cost
, and cockroach cost
corresponding to the optimal distribution route starting from
~
(also ending at
~
), as shown in
Table 5. Based on the results in
Table 5, we visually output the trend charts of the sub-interval costs
and the interval cost
corresponding to the optimal cockroach cost in the sub-interval and the optimal cockroach cost in the route interval, as
Figure 14 shows.
Figure 14a–d represents the optimal distribution routes from the distribution centers
~
as the starting (and ending) points, with the blue curve representing optimal route 1 and the red curve representing optimal route 2.
Based on the results in
Table 5 and
Figure 14, it can be seen that by selecting the distribution points
in each cluster, among all the optimal routes starting from the distribution centers
~
(also endpoints), the two distribution routes starting from the distribution center
(also an endpoint) have the lowest cost of 35.1, followed by the two distribution routes starting from the distribution center
(also an endpoint) with a cost of 36.1. The costs of distribution routes starting from
and
(also endpoints) are relatively high, at 41.0 and 41.7, respectively. Therefore, the intelligent connected vehicle system selects distribution center
as the starting point for material distribution, and chooses
or
.
Table 6 shows the operation time schedule, the total time consumption, and the total mileage of the intelligent connected vehicle completing material distribution from the starting point
(also the endpoint) based on the results output in
Table 5, in which
represents the departure time and
represents the arrival time. The experimental results show that when using the same algorithm with different starting distribution centers, there are significant differences in the costs of the distribution routes. Choosing the distribution center with the lowest route cost as the starting point for distribution can effectively reduce the distribution cost for the intelligent connected vehicles.
Figure 14 shows that when starting from any distribution center, the cost of the route interval shows a fluctuating trend. When the starting points are identical, the interval costs of the two routes are different, but the final route costs are the same. When using the same distribution center as the starting point, the total costs of the on and off routes are the same, but due to the different costs of each interval, the time schedules for the distribution vehicles to arrive at each distribution point are different. This result can also be obtained from
Table 6. It indicates that when delivering materials, the two modes can be selected based on the different time requirements and the urgency of each distribution point: the on and off routes. The relatively urgent distribution points can be arranged for morning distribution, while the relatively less urgent distribution points can be arranged for afternoon distribution. This result also fully demonstrates the feature of symmetry in our proposed algorithm, as the driving costs for vehicles in the on and off trips in the distribution routes are identical.
4.2.4. Comparative Experiment and Analysis
Experiment Condition
To verify the feasibility and advantages of the proposed algorithm, we select commercial electronic maps, which are most frequently used for route planning in logistics distribution, as the control group, including the Baidu Map and the 360 Map. The control experiment conditions are set as follows:
(1) Set the comprehensive average speed for the intelligent connected vehicle to 20 km/h;
(2) Based on the experiment in
Section 4.2.3, determine
to be the optimal distribution center. Therefore, in the comparative experiments, the routes all start and end at distribution center
, with the distribution order set as “
-Route 1”, that is, the route is “
”;
(3) The loading time for the intelligent connected vehicle at the distribution center is from 8:00 a.m. to 10:00 a.m., and the departure time is 10:00 a.m. The uploading time for each distribution point is ;
(4) Using the same route as the standard, the control group determines the shortest route within each sub-interval of the distribution route by using the Baidu Map and the 360 Map as the searching method, outputs the cost of each sub-interval and the total cost of the route, and based on this, outputs the distribution time schedule for the experimental group and the control group.
(5) The commonly used route-searching algorithms embedded in electronic maps include the Dijkstra optimization algorithm, the A* optimization algorithm, etc. They are classic methods in searching for the shortest route. On the basis of comparing the commonly used map methods for route planning, we use the Dijkstra optimization algorithm and the A* optimization algorithm for the control group to compare with our proposed route algorithm, including the route cost and computational complexity.
Results and Analysis of the Comparison with Commonly Used Map Methods
Based on the comparative experimental conditions and objectives, we output the sub-interval costs and route costs on the same distribution route for the experimental group and the control group, as shown in
Table 7. The experimental group is represented as EG, the Baidu Map method for the control group is represented as CG-1, and the 360 Map method for the control group is represented as CG-2. Based on the results in
Table 7, we obtain the sub-interval cost and total route cost curves and comparison charts for the experimental group and the control group on the distribution route, as shown in
Figure 15.
Figure 15a shows the sub-interval cost and total route cost for the experimental group,
Figure 15b shows the sub-interval cost and total route cost for the Baidu Map method,
Figure 15c shows the sub-interval cost and total route cost for the 360 Map method, and
Figure 15d is the comparison bar chart between the results of the experimental group and those of the control group, in which the blue bar represents the experimental group, the yellow bar represents the Baidu Map method, and the green bar represents the 360 Map method. Based on the results of the comparative experiment, the time cost and time schedules for the three methods of distributing materials are output according to the distribution requirements, as shown in
Table 8.
Analyzing
Table 7 and
Figure 15, under the conditions of the two sets of route planning methods for the experimental group and the control group, the sub-interval cost and route cost of the three methods show a fluctuating trend, indicating that our proposed algorithm and map methods are constrained by the urban geographic space when planning distribution routes, resulting in different transportation costs in the different sub-intervals. Analyzing the sub-interval costs, our proposed algorithm generates lower distances and time costs in the vast majority of sub-intervals than the routes planned by the control group, and the total costs of the routes are also lower than the routes planned by the control group. Experimental results show that our proposed algorithm has significant advantages in searching for the lowest cost route compared to the commonly used electronic map methods for distribution route logistics planning. The global optimal route obtained from the searching process can generate lower distances and time costs than the electronic maps.
In terms of the total route cost, the proposed algorithm has a distance cost 1.2 km lower than the Baidu Map method and 2.7 km lower than the 360 Map method. In terms of the total time cost, the proposed algorithm has a time cost 0.06 h lower than the Baidu Map method and 0.135 h lower than the 360 Map method. The experimental results demonstrate that our proposed algorithm can search for the global optimal distribution route and minimize the cost of distribution routes. Therefore, as for the operating vehicle in the logistics distribution system, the intelligent connected vehicle is controlled by the backend server decision-making system. The proposed algorithm could serve as an embedded guiding algorithm to lead an intelligent connected vehicle, which can minimize transportation costs. Take a practical application scenario for example: assuming that the fuel or electricity consumption per 1 km of vehicle travel is constant, when multiple distribution vehicles participate in distributing activities for multiple times, if our proposed algorithm saves 1 km of transportation route costs in a single distributing activity compared to conventional map methods, then 1000 occurrences of distributing activities can save 1000 km of transportation route costs. Converting this into fuel or electricity, it can save logistics companies from a huge amount of energy consumption and significant expenses. From the perspective of energy conservation, our proposed algorithm has significant advantages over map-planning methods.
Results and Analysis of the Comparison with Route-Searching Algorithms
The Dijkstra optimization algorithm and the A* optimization algorithm are set as the control group. We output the sub-interval costs and route costs on the same distribution route for the experimental group and control group, as shown in
Table 9. The experimental group is represented as EG, the Dijkstra optimization algorithm for the control group is represented as CG-1, and the A* optimization algorithm for the control group is represented as CG-2. Based on the results in
Table 9, we obtain the curves of the sub-interval costs and the total route costs, and comparison charts for the experimental group and the control group on their distribution routes, as shown in
Figure 16.
Figure 16a shows the sub-interval costs and the total route cost of the experimental group,
Figure 16b shows the sub-interval costs and the total route cost of the Dijkstra optimization algorithm,
Figure 16c shows the sub-interval costs and the total route cost of the A* optimization algorithm, and
Figure 16d is the comparison bar chart between the experimental group and the control group, in which the blue bar represents the experimental group, the yellow bar represents the Dijkstra optimization algorithm, and the green bar represents the A* optimization algorithm.
Based on the proposed algorithm modeling process and principle, we calculate the time complexity of the proposed algorithm, the Dijkstra optimization algorithm, and the A* optimization algorithm, and then obtain the comparison results in
Table 10. In terms of time complexity,
is the number of road nodes within the sub-interval or the number of control nodes in the distribution route.
Analyze the results of
Table 9 and
Figure 16. Under the conditions of the two groups of route-planning methods, the sub-interval costs and the route costs of the output routes of the three methods all show a fluctuating trend, indicating that our proposed algorithm and the two route optimization methods are constrained by the urban geographic space when planning distribution routes, resulting in different costs in different sub-intervals. By analyzing the costs of the sub-intervals, it can be seen that our proposed algorithm generates lower costs in the vast majority of sub-intervals than the routes in the control group, and the total cost of the routes is also lower than that of the routes in the control group. The experiment proves that our proposed algorithm has advantages over the two route optimization algorithms in searching for the lowest-cost route, and the global optimal route obtained from the searching process can generate lower costs. Under the example conditions, the distance generated by our proposed algorithm is 1.8 km lower than that of the Dijkstra algorithm, while the total distribution time is 0.09 h lower; the distance generated by our proposed algorithm is 1.6 km lower than that of the A* algorithm, while the total distribution time is 0.08 h lower.
Analyze the reasons for this result. Firstly, Dijkstra is a locally greedy searching algorithm that focuses only on the optimal solution of the current node in each searching step, rather than searching for the route from a global optimal perspective. Especially when the number of nodes in the searching interval is large, Dijkstra’s ability to search for the global optimal solution is not outstanding. A* has strict requirements for the selection of an evaluation function, it is sensitive to the estimated path cost, and may not be able to search for the global optimal solution. In contrast, our proposed algorithm is an improvement on the cockroach optimization algorithm, which is divided into sub-intervals and route intervals. Each level establishes an optimal solution algorithm that traverses all cockroach individuals, ensuring that the global optimal solution can be searched for within both sub-intervals and route intervals. Therefore, its performance is better than that of Dijkstra and A*. From the perspective of time complexity, we have improved the cockroach optimization algorithm by reducing its originally complex dimensionality and changing its multi-loop structure, while calculating the optimal solution separately in sub-intervals and route intervals. It greatly reduces time complexity. Dijkstra is based on local greedy searching and A* is inspired by evaluation function searching. Their algorithm models include two-level loop structures, and the more nodes there are, the higher the time complexity will be. Therefore, the computational efficiency of our proposed algorithm is higher.