Next Article in Journal
Prediction of Ply Angles of Air Springs According to Airbag Positions and Their Effects on Lateral and Torsional Stiffness
Previous Article in Journal
Imaging Ultrasound Propagation Using the Westervelt Equation by the Generalized Kudryashov and Modified Kudryashov Methods
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improvement of a Mapping Method Based on Ant Colony Algorithm Applied to Smart Cities

1
Low Speed Aerodynamics Institute of China Aerodynamics Research and Development Center, Mianyang 621000, China
2
State Key Laboratory of Advanced Optical Communication Systems and Networks, Peking University, Beijing 100871, China
3
State Key Laboratory of Modern Optical Instrumentation, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(22), 11814; https://doi.org/10.3390/app122211814
Submission received: 23 October 2022 / Revised: 13 November 2022 / Accepted: 17 November 2022 / Published: 21 November 2022

Abstract

:
The ant colony algorithm has been widely used in the field of data analysis of smart cities. However, the research of the traditional ant colony algorithm is more focused on one-to-one scenarios and there is insufficient research on many-to-one scenarios. Therefore, for the many-to-one topology mapping problem, this paper proposes a mapping method based on the ant colony algorithm. The design purpose of the mapping algorithm is to study the optimal mapping scheme, which can effectively reduce the cost of solving the problem. The core of the mapping algorithm is to design the objective function of the algorithm optimization. The commonly used optimization objective function and evaluation index is the average hop count; the average hop count is the most important indicator to measure the entire system. The smaller the average hop count, the less the pulse data needs to be forwarded, which can reduce the communication pressure of the system, reduce congestion, reduce the energy consumption caused by communication, and reduce the delay from the generation of pulse data to the response, etc. Therefore, this paper chooses the average hop count as the optimization objective and reduces the average hop count by designing a mapping algorithm. Through the simulation and verification of the improved ant colony algorithm in the scenario of many-to-one topology mapping, it is concluded that the final convergence result and convergence speed of the improved ant colony algorithm are significantly better than those of the traditional ant colony algorithm.

1. Introduction

Complex decision-making and optimization problems occupy a very important position in smart cities. Swarm intelligence methods have become one of the important means to solve complex optimization problems in smart cities by simulating the emergence mechanism of intelligent behavior of social animals in nature [1]. The ant colony algorithm in swarm intelligence has a wide range of application scenarios in the field of smart cities, and is widely used in smart transportation, path planning, and smart cities.
An important problem facing simulations relying on neuromorphic computing architecture is how to map complex neural networks to node networks; that is, how to achieve the mapping between logical and physical networks. A logic network, namely problem network and task network, when simulating a biological neural network, has a huge scale which is reflected in two aspects: one is the huge number of neurons, and the other is the complex connection between neurons. In addition, the logical network targets different application scenarios, and it is impossible to design the topology of the physical network structure for a specific logical network. At the same time, the nodes of physical networks have a limited capacity, a limited number of neurons capable of support, and a limited ability to route cells. Thus, mapping a logical network with a physical network has become a key challenge in system design.
In this context, many scholars have proposed a variety of algorithms; for example, an innovative ant colony optimization based on parameter tuning to solve the matching problem [2]. To sum up, it can be roughly divided into four categories [3].
(1)
The greedy algorithm and its variants.
The greedy algorithm is the simplest mapping algorithm; it is divided into local greedy and global greedy [4]. In local greedy, a starting node is first selected in each of the two graphs, and then one of the adjacent nodes is selected and added to the map. Global greedy will be based on a specific global strategy, such as the weights of the edges in the connection matrix. There are also algorithms that combine local and global, taking advantage of their respective characteristics.
(2)
Graphical division.
The second common mapping algorithm is a graph division-based algorithm, such as a k-way graph division that divides the problem graph and the node topological graph recursion into smaller partitions, and then maps while expanding the recursion.
(3)
Algorithm based on graph similarity.
Another mapping algorithm is a graph similarity-based algorithm, where the adjacency matrix of the problem graph and the node topological graph are arranged into a corresponding canonical form by some strategy, and are then mapped based on this rearranged adjacency matrix.
(4)
The heuristic algorithm.
Heuristic algorithms summarize the past experience, and include genetic algorithms (GA), ant colony algorithms (ACA), particle swarm optimization (PSO) algorithms, etc. In general, such algorithms will have an objective function and will iterate based on this goal to gradually find the optimal strategy. The ant colony algorithm is fast in computation and has received attention from researchers due to its unique advantages [5,6,7]. He et al. [8] proposed an adaptive variable neighborhood search ant colony algorithm (AVNSACA) to make up for the lack of pheromones in the algorithm’s early stage, which avoid the algorithm falling into local optimum. Reed et al. [9] proposed an ant colony algorithm for the multi-compartment vehicle routing problem. Besides the differential evolution algorithm based on the complex networks algorithm (CNDE) are proposed for the topology mapping problem [10,11].
Because neural networks have a 3-dimensional (3D) structure, each neuron has multiple inputs and provides outputs to multiple neurons, making the application of the greedy algorithm difficult. The algorithms based on graph division and graph similarity are essentially greedy. As they lack global information and have no backtracking mechanism, they cannot provide a good mapping scheme [12,13]. Heuristic algorithms are widely studied in the global optimization literature and have become an effective method for solving complex optimization problems. When applied for many-to-one topological mapping, the traditional methods are limited by the node capacity, and it is difficult to carry out the corresponding combinatorial selection step. Therefore, to overcome these issues, a mapping method based on the ant colony algorithm is proposed here and is verified through simulation analysis and alignment.
The design purpose of the mapping algorithm is to study the optimal mapping scheme, which can effectively reduce the cost of solving problems. The core of the mapping algorithm is to design the objective function of the algorithm optimization. At present, the common optimization objective functions and evaluation indicators are summarized as follows [14].
(1)
Average hop count.
In the logical network, the communication between the connected neurons is realized by pulses. Due to the capacity limitation of the physical network nodes, the connected neurons often cannot be deployed on the same physical node. Therefore, the pulse generated by the source neuron needs to be transmitted to the destination neuron through the routing algorithm and forwarded by the communication unit. When the source neuron and the destination neuron are on the same node, the number of forwarding times required for the impulse data, that is, the number of hops, is 0. When the source neuron and the destination neuron are on adjacent nodes, the impulse data needs to be transmitted. The number of times is 1 [14]. When the source neuron is farther from the physical node where the destination neuron is located, the number of hops required for the impulse data to reach the destination neuron will naturally increase.
The increase in the average hop count of pulse data means that the power consumption of the system increases, and the congestion problem that the system is faced with may be aggravated. Therefore, it is one of the optimization goals to choose an appropriate mapping method to reduce the average hop count of the pulse.
More specifically, the average hop count of the system is expressed as:
N hops avg = i , j Net n i , j p i , j i , j Net p i , j
N hops avg is the average hop count, n i , j is the number of hops between the i-th neuron and the j-th neuron, as well as the number p i , j of pulse data packets sent by the i-th neuron to the j-th neuron per unit time. There is no connection from the i-th neuron to the j-th neuron [15]; then p i , j = 0 .
In the case of multicast, this expression is different because when the forwarding direction required by the destination neuron is the same, only one forwarding is required. Therefore, the expression becomes:
N hops avg MC = i Net n i p i i Net p i  
Here,   n i is the number of times the pulse sent for the i-th neuron needs to be retransmitted.
(2)
Link load balancing.
Balancing the link load can effectively alleviate congestion, thereby reducing the waiting time of pulse packets on each node. The evaluation index of link load balancing is the link load variance:
VAR ( L ) = i = 1 M ( l i l ¯ ) 2 M  
VAR ( L ) is the link load variance, l i is the load on the i-th link,   l ¯   is the average link load, and M is the total number of links.
(3)
Node load balancing.
Node load balancing refers to the number of neurons deployed on each physical node. Balancing the node load can avoid a large number of neurons on the same physical node, resulting in excessive computing pressure and communication pressure on this node. This may lead to problems such as excessive delay and loss of pulse data packets. The evaluation index of node load balancing is the node load variance:
VAR ( N ) = i = 1 n ( k i k ¯ ) 2 n
In the formula, VAR ( N ) is the node load variance, k i is the load on the i-th node, that is, the number of neurons, k ¯ is the average node load, and n is the total number of links.
(4)
Energy consumption.
In a neuromorphic computing architecture computer, the energy consumption of the system can come from a variety of sources, including:
Computational energy consumption: neuron processing impulse data inevitably brings energy consumption.
Suspended state node energy consumption: In a scenario where a neuromorphic computer simulates a large-scale biological nervous system, many nodes will wait for the arrival of pulse data due to relatively sparse connections and other reasons. Therefore, in order to save energy, such nodes should be suspended state; the end of the suspended state is triggered by the arrival of the node.
Communication energy consumption: The energy consumption caused by the propagation of pulse data between nodes, including routing units, links, etc.; this part of the energy consumption is determined by factors such as the generation frequency and hop count of the system’s pulse data packets.
(5)
Forwarding delay.
A pulse data from generation to response corresponds to its delay. In the biological nervous system, this delay also exists, whether it is the response time of biological neurons to electrical signals or the transmission time of electrical signals in axons and other parts, all of which cause delays in biological nervous systems. In neuromorphic computing, this time delay can be simulated by code inside the node. However, the delay caused by the forwarding of pulse data is difficult to predict, and this part of the delay may include the waiting time of the pulse data caused by the congestion problem, the delay caused by the communication link, and so on. Therefore, the forwarding delay is also one of the indicators to measure the system performance.
Considering the above factors, the average hop count is the most important indicator to measure the entire system. The smaller the average hop count, the less the pulse data needs to be forwarded, which can reduce the communication pressure of the system, reduce congestion, reduce the energy consumption caused by communication, and reduce the delay from the generation of pulse data to the response, etc. Therefore, this paper chooses the average hop count as the optimization objective, and reduces the average hop count by designing a mapping algorithm.
In 1991, Marco Dorigo proposed a simulated evolutionary algorithm, Ant Colony Optimization (ACO), inspired by the behavior of ant groups in finding the optimal path in their search for food [16,17]. As shown in Figure 1, the colonies travel to and from points A and E (e.g., nest and food), following the shortest route. When an obstacle between A and E emerges, ants need to choose a side to pass around the obstacle. As ants leave pheromones on their path initially, without any pheromones on either side, the colony will make a random decision. However, as time passes, after more and more ants pass around the shorter edge of the obstacle, the pheromone concentration on that side becomes higher, resulting in more ants following this path. Eventually, the entire colony will adopt this new path from point A to point E.
The ant colony algorithm can be roughly divided into three stages:
(1)
Initialization.
The initialization includes two parts. One refers to the related hyperparameters, including the number of ants in the ant colony and the pheromone updates, among others. The other pertains to heuristic information: the decision basis of the ants, without any historical information.
(2)
Solution construction.
The most critical point in the algorithm is how each ant chooses a path based on the available information.
(3)
Pheromone update.
Pheromones affect ants’ decision making, and pheromone update strategies mimic pheromone updates in actual ant colonies, including volatilization and release. Therefore, pheromones automatically evaporate over time and colonies release pheromones on the selected path.

2. Improved Ant Colony Mapping Algorithm

The ant colony algorithm has been widely used in various fields and topological mapping is one of its application scenarios, but current research focuses primarily on one-to-one scenarios leaving many-to-one scenarios inadequately explored. Therefore, an improved ant colony algorithm for a many-to-one topological mapping scenario is developed here, and is defined as:
n o d e i d x = ω ( n e u r o n i d x )
That is, a given index of neurons through the mapping algorithm obtains the deployed node index. The goal of optimization is to average jumps and the objective function as follows:
F ( ω ) = v N e t C ( v ) × p ( v )
C(v) is the forwarding number required for the pulse emitted by the neuron v. The p(v) refers to the proportion of neuron v generating pulses to all neuronal pulses; in random cases, all neurons in the same proportion.

2.1. Initialization

Heuristic information is defined as follows:
η i , j = i m p o r t a n c e ( i ) c e n t e r ( j )
The heuristic information of neuron v i mapping to node r j   is determined by the importance of neurons and the centers of the nodes. The number of neuron connections represents its importance, i m p o r t a n c e ( i ) .
i m p o r t a n c e ( i ) = F a n i n ( i ) + F a n o u t ( i )
The degree of the center of the node is determined by its Manhattan distance from the remaining nodes.
c e n t e r ( j ) = n = 1 N M a n h a t t a n D i s t a n c e ( n ,   j )
The center degree of the node is the sum of its Manhattan distance from other nodes. This value reflects the communication ability of the node; the smaller the Manhattan distance, the higher the center degree of the node. The more neurons the output of the neuron is connected to, the greater the communication pressure of the neuron, so it should be placed on a node with a high degree of centrality. Therefore, the heuristic information should be proportional to the importance of neurons and inversely proportional to their centrality, so that neurons with high communication pressure are more likely to be deployed on nodes with strong communication capabilities.

2.2. Solution Construction

In the traditional ant colony algorithm, the probability of t (that the ant k maps the neuron v i   to the node r j   in the first iteration) is:
p i , j k ( t ) = { [ τ i , j ( t ) ] α × [ η i , j ] β j a l l o w [ τ i , j ( t ) ] α × [ η i , j ] β , j a l l o w     0 ,                     j a l l o w
In the above formula, τ i , j ( t )   is the t cycle, R j ( t ) is the occupancy of node   r j   in the t cycle, and r j   is the normalized pheromone concentration of the node.
p i , j k ( t ) = { N o r m a l i z e [ [ τ i , j ( t ) ] α × [ η i , j ] β × R j ( t ) ] , j a l l o w     0 ,                     j a l l o w
In this paper, some improvements have been made to the above decision probability. Compared to the traditional ant colony algorithm, R j ( t ) is added to the probability, representing the occupancy rate of node r j   in the t-th cycle. That is, it is more inclined to deploy neurons on nodes with high occupancy, and deploying different neurons on the same node directly avoids the traffic between them. When the occupancy is 0, R j ( t ) is placed as the same as deploying a neuron.
α   and β mean the weight. The larger the value of α   , the more likely the ants choose to take the path with high pheromone concentration; that is, the greater the possibility of choosing the path that has been tried before, thus reducing the randomness of the search. With larger β   values, it is easier for colonies to choose locally shorter paths, which can accelerate convergence, but are easier to fall into local optima.
a l l o w is the set of nodes that can still deploy neurons at present. Because the capacity of nodes is limited, some nodes will be filled with the deployment process of neurons, so only nodes that are not full can be selected.

2.3. Pheromone Update

The update rules for pheromones are as follows:
τ i , j ( t + 1 ) = { τ i , j ( t ) × p × q ,   j = M i n C o s t M a p ( i )   τ i , j ( t ) × p ,   j M i n C o s t M a p ( i )
Among them, p is the decay factor. In the natural state, the pheromone left by the ants will decay over time, and q is the magnification. If the neuron v i   is mapped to the node r j   in the minimum cost mapping mode of all the ants in this iteration, the corresponding pheromone is amplified by q times.
Based on the above formula, the mapping algorithm based on the ant colony algorithm (Algorithm 1) is obtained as follows:
First, the neuron importance and node center degree are calculated based on the connections among the neurons and the number of nodes to further obtain the map-inspired information.
Second, the pheromone information is initialized.
Third, in each iteration, all ants generate a mapping method based on the probability jointly determined by the current pheromones and inspired confidence, and then calculate the cost of these mapping methods, selecting the least costly mapping method for this iteration.
Then, the pheromones are updated according to the minimum cost mapping mode of this iteration and the intrinsic decay.
If the maximum number of iterations is reached or the cost meets the requirements, the process terminates; otherwise the iteration is repeated.
Algorithm 1: Given the neuron connection matrix and the number of nodes, iteratively optimise 2D Mesh mapping functions
Input: Neuronal connection matrix CM,
            Number of ants ant _num, the maximum number of iterations max _iter_num,
            Decay factor p, magnification q,
            pheromone index, enlightening information index
Output: Mapping function
1: Calculational neuronal importance: importance (i)
2: Degree of calculation of node centre: centre (i)
3: Calculate the mapping heuristic information: i,j
4: The initialised pheromone matrix is the full 1: pheromone_matrix
5:   for iter = 1:max _iter_num:
6:         for ant_group in group_num:
7:               for ant =1:ant_num:
8: Generate the mapping matrix map _matrix by strategy
9: The mapping matrix, m in_map_matrix _one_iter that calculates the minimum cost
10: Update the pheromone matrix
11: Updates the global minimum cost mapping matrix, m in_map_matrix
12:     end for
13:     return m in_map_matrix

3. Algorithmic Simulation and Result Analysis

In this paper, the CNDE, the traditional ant colony algorithm, and the improved ant colony algorithm are simulated for the many-to-one and one-to-one cases. First, for the many-to-one mapping, the topological mapping of randomly generated neural networks is simulated, after which the classical VOPD (Video Object Plane Decoder) problem graph is simulated for one-to-one mapping.

3.1. Simulation Analysis of Randomly Generated Neural Networks

In biological nervous systems, the connections between neurons are very complex but the connection probability between neurons decreases exponentially with the distance between them [18]. Therefore, in line with this basic fact, the connection matrix CM can be generated, and if CM [i] [j] = 1 exists, there is a connection from neuron i to neuron j in this neuron network.

3.1.1. Logical Network Generation Algorithm

First, the coordinate information of the neurons is randomly generated in 3D space, based on which the probability of a connection between the two neurons is:
p ( i , j ) = exp ( D 2 ( i , j ) λ )
where D(i,j) indicates the Euclidean distance between neuron i and neuron j, λ is the hyperparameter; the larger the λ, the more the average number of connections. B(1,p) in Algorithm 2 indicates the 0–1 distribution.
Algorithm 2: Given the neural network size and the connection probability, generate the connection matrix
Input: Number of neurons n, exponential distribution parameters
Output: Connection matrix CM
1: Neuronal locations were randomly generated
2: Initialise the CM and set the zero
3: for i = 0: n − 1 / / source neuron traversation
4: for j = 0: n − 1 / / destination neuron traversal
5:                p = random.exp(- D (i, j)2/ λ) // generates exponentially distributed random numbers
6:                CM[i][j] = B(1, p)
7:         end for
8: end for
9: return CM

3.1.2. Superparameter Setting

There are multiple hyperparameters to be set, including:
Random connection matrix parameters λ: λ determines the number of connections; the smaller its value, the smaller the number of connections.
Related parameters of the ant colony algorithm: p = 0.5, q = 2, = 1, = 1, ant _num = 100.

3.1.3. Control Group Setting

Since the connections in the nervous system used in the simulation are randomly generated, the control group used in the simulation is based on random mapping; that is, each neuron is randomly mapped to a node. If the node is not deployed fully, it is reselected until a non-deployed node is found.
The above mapping algorithm was simulated with different parameters, and the simulation results are shown in Table 1.
Among these, when the number of simulated neurons was 1000 and λ = 0.02, the average number of connections per neuron was 12.1. When λ = 0.1, the average number of connections was 100.6.

3.2. Conclusions Derived from the Simulation Results

(1) The ant colony algorithm can bring significant improvements relative to random mapping, as the performance improvement in Simulation 5 reached 61.10%.
(2) Comparing Simulation 1 with Simulation 2, we find that when the number of neural connections increases, the performance improvement decreases because with more complex connections, it is more difficult to reduce the number of jumps through reasonable mapping.
(3) Comparing Simulation 3 with Simulation 5, it is evident that when node capacity increases, the average jump number of the system will not be significantly reduced in the random mapping. However, based on the ant group algorithm and the improvement proposed here, the benefits brought by the total node capacity increase can be used, and the average jump number can be significantly reduced.
(4) Comparing Simulation 1 with Simulation 5, and Simulation 2 with Simulation 6, in the case of the same node capacity and the same number of neurons, although the traditional ant colony algorithm can obtain certain performance benefits, the overall system performance will not decline when the number of nodes increases. On the other hand, the traditional ant colony algorithm is locally optimal in the iteration but cannot make full use of the performance benefits brought by the node increase. The improved ant colony algorithm utilizes this benefit, with the average number of jumps at 8 ∗ 8 nodes, similar to 4 ∗ 4 nodes.
For Simulation 1, Figure 2 shows that the cost corresponding to the mapping selection of the individual ants varies with the number of iterations during the iteration process.
As can be seen from the above figure, at the first iteration, when only heuristic information is adopted, the average jump number of individual ants was 10.30, with an 18.38% performance improvement relative to the average jump number of 12.62 of random maps. As the number of iterations increases, the colony releases more pheromones, and the cost of making decisions based on this information gradually decreases. When a sufficiently large number of iterations are performed, the decision gradually converges and the optimal solution is found by this algorithm.
Figure 3 shows the change in the minimum and average jumps of the traditional and the improved ant colony algorithm with the number of iterations. As can be seen from the graph, the final convergence result of the improved ant colony algorithm is significantly better than that yielded by the traditional ant colony algorithm, and its convergence rate is also faster.
As the CNDE algorithm was also reproduced for simulation comparison, Figure 4 depicts the change curve of the resulting cost with the number of iterations using the same parameter settings as in Simulation 1.
It is evident that the CNDE algorithm requires a much greater number of iterations than the ant colony algorithm and does not yield adequate final convergence results.
In conclusion, the newly proposed mapping algorithm can provide significant performance improvements.

3.3. Simulation Analysis for Special Cases of the Classical Topological VOPD

VOPD is a classical problem graph in the topological mapping problem. Its communication graph is shown in Figure 5 with 16 cores, compared to 16 neurons in the application scenario of this paper. Different from the previous simulation, the pulse emission frequency of the neurons here is different; that is, the size of the information transmission of the communication core is different.
The CNDE algorithm is proposed to optimize the total energy consumption of the system, leaving the relatively small part, mainly analyzing the link energy consumption and the router energy consumption.
E = E L + E R
The link energy consumption is determined by the distance of all connections in the system and the number of corresponding transmitted bits.
E L = l Distance ( l ) × Bits ( l ) × E L / bit
The router energy consumption is determined by the amount of information sent and received by the node.
E R = n [ SendBits ( n ) + RecvBits ( n ) ] × E R / bit
This problem background is very similar to that examined in this paper, as the only difference relates to the neuron transmission frequency. Therefore, the mapping algorithm based on ant colony algorithm proposed in this paper can be obtained by modifying the cost function.
F ( ω ) = v N e t C ( v ) × p ( v ) × ( E L / b i t + 2 × E R / b i t )
Compared with the CNDE algorithm, this paper uses the same problem background and the same iterative jump-out conditions. After performing multiple simulations and averaging, the improvement in energy consumption compared with stochastic mapping is shown in Table 2. The proposed algorithm, AVNSACA, PSO, and CNDE are compared with stochastic mapping. The performance improvement of the proposed algorithm is 56.56%, while the performance improvement of AVNSACA, PSO, and CNDE are 54.03%, 48.82%, and 50.71%, respectively.
It is worth mentioning that the application scenario of the algorithm proposed in this paper allows for multiple neurons to be deployed on a single node, whereas only one can be deployed in the VOPD task.

4. Conclusions

This paper first describes the problem in neuromorphic computing in smart cities, and then introduces the relevant evaluation metrics. Then, the mapping algorithm based on the ant colony algorithm proposed in this paper is introduced, and the simulation and analysis are carried out. The results show that this algorithm can bring obvious performance benefits to this problem. The final convergence accuracy and speed of the improved ant colony algorithm are significantly better than the traditional ant colony algorithm. Finally, the mapping algorithm in this paper is applied to the VOPD task. The performance improvement of the proposed algorithm is 56.56%, while the performance improvement of AVNSACA, PSO, and CNDE are 54.03%, 48.82%, and 50.71%, respectively, which proves the effectiveness of the algorithm in our paper.
The limitation of this paper is that the contradiction between population diversity and convergence speed of the ant colony algorithm has not been studied. Population diversity corresponds to the distribution of candidate solutions in the problem space. The more uniform the individual distribution, the better the population diversity and the greater the probability of obtaining the global optimal solution, but the longer the optimization time; the more concentrated the individual distribution, the worse the population diversity, which is not conducive to the exploration ability of the algorithm. Positive feedback accelerates the convergence speed of the ant colony algorithm, but makes the algorithm focus on some candidate solutions earlier. Therefore, positive feedback reduces the diversity of the population and is not conducive to improving the global optimization ability of the algorithm. The next step is to study the population diversity and convergence speed of the ant colony algorithm.

Author Contributions

Writing—Original draft preparation, Software, Supervision, K.X.; Investigation, Writing—Reviewing and Editing, J.W.; Conceptualization, T.H.; Methodology, Conceptualization, L.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Qiu, W. Design and application of group intelligent algorithm for smart city. Artif. Intell. 2021, 5, 15. [Google Scholar]
  2. Ling, H.; Fu, Y.; Hua, M.; Lu, A. An Adaptive Parameter Controlled Ant Colony Optimization Approach for Peer-to-Peer Vehicle and Cargo Matching. IEEE Access 2021, 9, 15764–15777. [Google Scholar] [CrossRef]
  3. Hoefler, T.; Jeannot, E.; Mercier, G. An Overview of Topology Mapping Algorithms and Techniques in High-Performance Computing; John Wiley & Sons, Inc.: Hoboken, NY, USA, 2014. [Google Scholar]
  4. Xu, Q.; Wang, J.; Li, P.; Li, H. Fast three-dimensional matching Algorithm based on image segmentation. Comput. Eng. 2006, 32, 209–211. [Google Scholar]
  5. Li, Y.; Soleimani, H.; Zohal, M. An improved ant colony optimization algorithm for the multi-depot green vehicle routing problem with multiple objectives. J. Clean. Prod. 2019, 227, 1161–1172. [Google Scholar] [CrossRef]
  6. Bell, J.E.; McMullen, P.R. Ant colony optimization techniques for the vehicle routing problem. Adv. Eng. Inform. 2004, 18, 41–48. [Google Scholar] [CrossRef]
  7. Dorigo, M.; Di Caro, G.; Gambardella, L.M. Ant Algorithms for Discrete Optimization. Artif. Life 1999, 5, 137–172. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. He, M.; Wei, Z.; Wu, X.; Peng, Y. An Adaptive Variable Neighborhood Search Ant Colony Algorithm for Vehicle Routing Problem with Soft Time Windows. IEEE Access 2021, 9, 21258–21266. [Google Scholar] [CrossRef]
  9. Abdulkader, M.M.; Gajpal, Y.; ElMekkawy, T.Y. Hybridized ant colony algorithm for the Multi Compartment Vehicle Routing Problem. Appl. Soft Comput. 2015, 37, 196–203. [Google Scholar] [CrossRef]
  10. Skanderova, L.; Zelinka, I. Differential Evolution Based on the Node Degree of its Complex Network: Initial Study. In AIP Conference Proceedings; AIP Publishing LLC: Melville, NY, USA, 2016. [Google Scholar]
  11. Xiao, J.; Zhang, Y.-J.; Xu, X.-K. Convergence improvement of differential evolution for community detection in complex networks. Phys. A Stat. Mech. Its Appl. 2018, 503, 762–779. [Google Scholar] [CrossRef]
  12. Simon, H.D.; Teng, S.H. How Good is Recursive Bisection? Siam J. Sci. Comput. 1997, 18, 1436–1445. [Google Scholar] [CrossRef] [Green Version]
  13. Chen, X.; Liu, J.; Li, S.; Xie, P.; Chi, L.; Wang, Q. A New Topology-Aware Mapping Method for Parallel Applications on the Tianhe-2A Supercomputer; Springer: Cham, Switzerland, 2018. [Google Scholar]
  14. Leo, D. The Prime Sequence: Demonstrably Highly Organized While Also Opaque and Incomputable—With Remarks on Riemann’s Hypothesis; Department of Egyptology and Assyriology, Brown University: Providence, RI, USA, 2014. [Google Scholar]
  15. Filletti, É.R.; Da Silva, J.M.; Ferreira, V.G. Predicting of the Fibrous Filters Efficiency for the Removal Particles from Gas Stream by Artificial Neural Network. Chem. Eng. Sci. 2015, 5, 317. [Google Scholar] [CrossRef] [Green Version]
  16. Dorigo, M. Ant Colony Optimization; Marco, D., Thomas, S., Eds.; IEEE Computational Intelligence Magazine: Piscataway, NJ, USA, 2004. [Google Scholar]
  17. Colorni, A.; Dorigo, M.; Maniezzo, V. Distributed Optimization by Ants Colonies. In Proceedings of the first European Conference on Artificial Life, Paris, France, January 1991. [Google Scholar]
  18. Legenstein, R.; Maass, W. Edge of chaos and prediction of computational performance for neural circuit models. Neural Netw. 2007, 20, 323–334. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Ant colony algorithm. (a) Ants follow a path between points A and E. (b) An obstacle is interposed. (c) On the shorter path more pheromone is laid down.
Figure 1. Ant colony algorithm. (a) Ants follow a path between points A and E. (b) An obstacle is interposed. (c) On the shorter path more pheromone is laid down.
Applsci 12 11814 g001
Figure 2. Mapping cost of the improved ant colony algorithm varies with the number of iterations.
Figure 2. Mapping cost of the improved ant colony algorithm varies with the number of iterations.
Applsci 12 11814 g002
Figure 3. Comparison between the traditional and the improved ant colony algorithm.
Figure 3. Comparison between the traditional and the improved ant colony algorithm.
Applsci 12 11814 g003
Figure 4. Cost of the ant colony algorithm and CNDE mapping varies with the number of iterations.
Figure 4. Cost of the ant colony algorithm and CNDE mapping varies with the number of iterations.
Applsci 12 11814 g004
Figure 5. VOPD communication core diagram.
Figure 5. VOPD communication core diagram.
Applsci 12 11814 g005
Table 1. Simulation results of the ant colony algorithm.
Table 1. Simulation results of the ant colony algorithm.
Simulation NumberNumber of NodesNumber of NeuronsNode CapacityλRandom Map Average Hop CountAnt Colony Algorithm Average HopsThe Average Hop Count in The Improved Ant Colony Algorithm
14 ∗ 410001000.0212.629.668.43
24 ∗ 410001000.1014.9812.6711.74
38 ∗ 81000200.0245.3835.6533.96
48 ∗ 81000200.1061.8252.8551.04
58 ∗ 810001000.0245.1416.498.78
68 ∗ 810001000.1061.8833.0012.09
Table 2. Simulation results of different algorithms for VOPD.
Table 2. Simulation results of different algorithms for VOPD.
The Newly Proposed Algorithm AVNSACAPSOCNDEStochastic Mapping
Energy consumption (105 PJ) 2.752.913.243.126.33
Performance improvement56.56%54.03%48.82%50.71%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Xu, K.; Wu, J.; Huang, T.; Liang, L. An Improvement of a Mapping Method Based on Ant Colony Algorithm Applied to Smart Cities. Appl. Sci. 2022, 12, 11814. https://doi.org/10.3390/app122211814

AMA Style

Xu K, Wu J, Huang T, Liang L. An Improvement of a Mapping Method Based on Ant Colony Algorithm Applied to Smart Cities. Applied Sciences. 2022; 12(22):11814. https://doi.org/10.3390/app122211814

Chicago/Turabian Style

Xu, Kaiming, Jianjun Wu, Tengchao Huang, and Lei Liang. 2022. "An Improvement of a Mapping Method Based on Ant Colony Algorithm Applied to Smart Cities" Applied Sciences 12, no. 22: 11814. https://doi.org/10.3390/app122211814

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