Abstract
Routing algorithms for large-scale sensor networks should be capable of finding energy efficient paths to prolong the lifetime of the networks in a decentralized manner. With this respect, Ant System has several proper characteristics for routing algorithm in large-scale wireless sensor networks. First, its distributed mechanism enables routing algorithm to find a solution with only local information and be robust for uncertainties in wireless sensor networks. Second, the framework of the Ant System is proper to solve dynamic problems such as routing problem. Transition probability in Ant System can be used to estimate how good a given routing path is. Capturing these features, this work proposes two Ant Systems based routing algorithms, which are AS-RWSNs (Ant System for Routing in Wireless Sensor Networks) and SAAS-RWSN (Structure-Aware AS-RWSN). The AS-RWSN applies the original Ant System to routing algorithm for wireless sensor network and SAAS-RSN upgrades AS-RWSN with considering properties of network structure such as degree of node. In SAAS-RSN, sensors with high node degree have high data traffic since they have more routing paths. Consequently, SAAS-RSN achieves an energy balance over sensor network through this routing scheme. We demonstrate the effectiveness of the proposed algorithms by comparing three existing routing algorithms.
1. Introduction
Large-scale wireless sensor networks consist of a large number of sensors being deployed in a target area to report predetermined events or transmit sensed data to the base station for further analysis [1, 2]. In the large-scale wireless sensor networks (LWSN), routing problem becomes more important and tricky because a number of sensors are involved and the sensors are limited in power and calculation capacity. Therefore, routing algorithm for the large-scale wireless sensor networks should be capable of finding energy efficient paths and, at the same time, achieving an energy balance over the network to prolong the lifetime of sensor networks through a decentralized decision making scheme [1, 2]. Moreover, the following two issues should be considered to design routing algorithm for large-scale wireless sensor networks. First, the routing algorithm should give a good performance regardless of event generation pattern. In fact, events could be generated at the sensor, randomly [3], uniformly [4] over the target area, or repeatedly [5] at a specific part of the target area. Even, event patterns can change from one type to another over time. Therefore, the routing algorithm should be sufficiently robust for diverse event generation functions. Second, a network topology can be changed by energy depletion of sensors, introduction of new sensors, or change position of sensor. Therefore, the routing algorithm should be able to handle these uncertainties caused by diverse event generation functions and change of network topology. To achieve this purpose, this work considers Ant System (AS). The basic idea of the Ant System is a positive feedback mechanism in which following ants find better solutions by considering the results of preceding ants' decisions [6]. The AS is suitable for controlling large-scale dynamic systems like communication networks because of the following desirable features:
In AS, ants find paths with only local information, the amount of pheromone on links. Therefore, AS is decentralized and can control large-scale systems having a number of entities without an exponential increase of computational effort due to its decentralized nature. The AS is robust for unexpected changes of environments. In telecommunication networks, AS adapts to traffic conditions with communications among ants and route data to less congested areas of the network. The AS has an adaptive mechanism to the changes of environments. In routing problems, the transition probabilities of the AS can be interpreted as availability of nodes. This availability reveals the probability that the framework of the AS can be used for solving dynamic routing problems. With this feature data traffic in WSNs can be dispersed to maximize the lifetime of networks.
With these characteristics, we utilize the Ant System to tackle the routing problem addressed in [7, 8]. Firstly, this work proposes an ant-based routing algorithm for wireless sensor networks, called AS-RWSNs (Ant System for Routing in Wireless Sensor Networks). The AS-RWSN advances the original AS by using data packets themselves as “ants” and redefining a link cost to consider the residual energy of the corresponding sensor. As the link cost, the energy cost in [8] devised to consider a balance of sensors' remaining energies as well as energy-efficiency can be used. Secondly, the AS-RWSN is upgraded by considering node heterogeneity. Generally, sensors of WSNs are heterogeneous in node degree (the number of neighboring nodes). The heterogeneity of sensors can be utilized to compute the goodness of the sensors and can be incorporated into the proposed routing algorithm, AS-RWSN, and improve the performance of the routing algorithm. Considering the goodness of nodes, a network structure-aware ant routing algorithm, SAAS-RWSNs (Structure-Aware Ant System for Routing in Wireless Sensor Networks), is proposed.
The remainder of this paper is organized as follows. Section 2 summarizes related works on Ant System and routing in wireless sensor networks and Section 3 introduces an ant-based routing algorithm, called AS-RWSN, for large-scale wireless sensor networks. After presenting the Structure-Aware Ant System for Routing in Sections 4 and 5 we provide extensive simulation results. Finally we conclude our work in Section 6.
2. Previous Works
2.1. Ant Systems
In 1992, Dorigo [9] devised the Ant System (AS) as a metaheuristic to solve the traveling salesman problem (TSP). The traveling salesman problem involves finding a closed path connecting n cities by minimal distances. If
Even though extensive research has considered the static optimization problems, relatively less effort has contributed to solutions of dynamic optimization problems such as the network routing problem. In fact, one favorable characteristic of the ant-based approach is adaptiveness to and robustness for changes of environment over time. Therefore, AS and ACS are suitable for dynamic optimization problems. Schoonderwoerd et al. [16] firstly tackled a dynamic problem, a routing problem in telecommunication networks, with AS. In this work, ants launch periodically from any node in the network at any time. With a given destination the ants travel over the network. Each node updates its routing table with information from the launched ants. Di Caro and Dorigo [17] proposed an ant-based adaptive routing algorithm, AntNet, to traffic conditions. Different from the Schoonderwoerd's work, the AntNet emphasizes the adaptability of routing algorithm for data traffic in its routing mechanism. The experimental results of this work show that AntNet performed better than NSFNET and NTTnet which are well-known, existing, routing algorithms. White et al. [18] proposed an ant-based algorithm for routing in circuit-switched networks. This routing scheme is built by Point-to-Point (PTP) request. For each pair of starting points and destinations, an ant launches at the starting point to look for the best path to the destination, given a cost function.
Zhang et al. [19] proposed an ant-based routing algorithm designated for wireless sensor networks. This work proposed the sensor-driven cost-aware ant routing, based on AntNet. In the routing algorithm, sensors are aware, from their neighbors, of the costs to arrive at the destination. Using this information, the transition probabilities at sensor i to one of neighboring nodes, j, are determined by
In [20], energy sufficiency is a consideration in the calculation of transition probability, as shown in
Lin et al. [21] proposed an ant colony optimization approach to find the maximum number of connected covers which satisfy sensing coverage and network connectivity at the same time with a given sensor network. The uniqueness of this work is that wireless sensor networks considered are heterogeneous. The heterogeneity of sensors can be utilized to upgrade routing algorithm for wireless sensor networks.
2.2. Routing in WSN
Many works have contributed to devise routing algorithms to prolong the lifetime of sensor networks. Hierarchical routing, which includes LEACH, PEGASIS, HEED, TEEN, and QDA (QoS-based data aggregation), forms clusters and elects a cluster-leader for each cluster responsible for sending all the data from its followers to the base station [22–26]. Through clustering and cluster-leader selection rules, these hierarchical approaches distribute energy usages over the network.
In LEACH (Low-Energy Adaptive Clustering Hierarchy) [23], sensors elect themselves to be a cluster-leader with a probability proportional to the amount of energy left. The cluster-leaders broadcast and each sensor determines to which cluster it wants to belong. Once all the nodes are organized into clusters, each cluster-head collects data from its members and sends data to the base station. TEEN (threshold sensitive energy efficient sensor network protocol) [25] is similar to LEACH but it allows the followers to send data only when sensed data indicate some events. In PEGASIS (Power-Efficient Gathering in Sensor Information Systems) [22], all sensors form a chain with minimal energy length and communicate with the base station through one leader sensor which is randomly selected in each round. HEED (Hybrid, Energy Efficient, Distributed clustering approach) [24] is similar to LEACH but it allows multihop routing through cluster-leaders. Different from other hierarchical algorithms, QDA [26] proposed a mathematical model considering two performance factors, which are sensor network lifetime and aggregation precision, at the same time. Since the mathematical model is genetic, it can be customized for any hierarchy routing algorithms. One drawback of the hierarchical routing algorithms is the necessity for high overheads involved in reforming clusters and cluster-leaders, which is essential to distribute the energy usages. Another drawback is that the number of hops to the base station is limited; that is, solution space is narrowed down. The number of hops is limited to two in LEACH, PEGASIS, and HEED and to the number of cluster-leaders in HEED.
Many approaches have been conducted to formulate maximum lifetime routing problems as linear or nonlinear programming (LP or NLP) problems and propose distributed algorithms designed to solve the LP or NLP problems [27–32].
Chang and Tassiulas [27] proposed a LP model to maximize the lifetime of wireless sensor networks and a heuristic algorithm, FA (Flow Augmentation) algorithm, to solve the LP problem in a decentralized manner. In FA, each sensor chooses a path that minimizes energy cost, by defining link cost as a combination of energy consumption of the link and energy residuals at the two end nodes. The main drawback of this algorithm is that every sensor must have detailed information of the entire network in order to solve the shortest path problem. In addition, the shortest path problem becomes more and more complex with the size of the network. Hua and Yum [30] considered a dual optimization routing problem, which optimizes data aggregation and routing simultaneously, to maximize network lifetime. They derived the necessary and sufficient conditions for obtaining the optimality of the optimization problem and designed a distributed gradient algorithm to find solutions which satisfy those conditions. However, this algorithm requires sensors to be aware of positions of their neighboring nodes and themselves. In addition, the routing model considered in this work reduces the solution space by making sensors consider only neighboring sensors close to the sink node. In [28, 29], nonlinear optimization formulations were introduced to maximize lifetimes of sensor networks and distributed routing algorithms were proposed to tackle the nonlinear problems. Even though these algorithms are capable of generating near optimal solutions, they require sensors for relatively high computational power and additional information to guarantee no-loop routing. Many other researches [31, 32] also have tackled maximum lifetime routing problems with mathematical models. Since sensors only consider downstream neighboring sensors (close to the base station) for routing, solution spaces for routing policies could be reduced and the quality of solutions degraded in terms of energy balance.
Rogers et al. [4] proposed a Self-Organized Routing algorithm, in which each sensor tries to maximize its own lifetime by hiring another sensor as a mediator. Since a mediator is allowed to hire its own mediator again, the number of hops is not limited in this algorithm. To make sensors willingly serve as mediators, they introduced a delicate payment scheme. Sensors earn different payments depending on whether they transmit their own data or mediate other sensors' data. If a sensor can get more payment, it is willing to be a mediator for other sensors. This algorithm has several desirable properties. Energy-efficiency and energy-balancing are pursued together through the selfish behaviors, sensors make local decisions based on local information, and there is no limitation to the solution space.
Ok et al. [7, 8] consider an energy balance in sensor networks to extend lifetime of sensor network. They devised a couple of metric, energy cost and energy welfare, to achieve energy balances of sensor networks in a decentralized manner. These approaches bring not only extension of lifetime but also some desirable property which is robustness for uncertainties of network topology and event generation pattern. In consideration of these advantages this work proposes a distributed routing algorithm based Ant System to achieve energy balance.
Some other approaches also have been proposed to extend lifetime of sensor networks. Rassam et al. developed a new adaptive and efficient dimension reduction model (APCADR) for hierarchical sensor networks to minimize the power consumption in radio communication [33]. Amiri et al. proposed a fuzzy ant colony optimization based routing algorithm which is designed to find an optimal path for a given source and destination [34]. They applied a fuzzy logic to ants' decision making scheme in ant colony optimization. Kiani et al. devised a machine learning based routing protocol for wireless sensor networks [35]. The routing protocol engages a reinforce learning technique which is a clustering method to avoid nonfunctioning sensors due to early power depletion.
3. Ant System for Routing in Wireless Sensor Networks (AS-RWSNs)
3.1. Sensor Network Model
To design and evaluate routing algorithm we consider a sensor network shown in [7, 8]. In the sensor network where n homogenous sensors (or nodes) are randomly and uniformly distributed over a target area, a base station receives sensed data from the sensors for further analysis. Each sensor has two wireless communication interfaces for its neighboring sensors and the base station. The one for neighboring nodes adopts a fixed transmission power which determines neighboring distance while the other for the base station can change its transmission power so that sensor can transmit data to the base station with the minimum power. For a given sensor the sensors within its neighboring distance are its neighboring sensors. This scheme enables each sensor to be aware of the current energy level of its neighbors or energy required to transmit from its neighboring sensors to the base station by eavesdropping for data from the neighbors [36]. This updating process guarantees that information of neighboring sensors for the routing decision is available for sensors [7, 36].
The energy consumption of wireless communication sensor occurs in sensing, receiving, and transmitting data. However, the amount of energy consumed for sensing is unaffected by routing algorithm and only a small difference exists between the energy consumptions of idle and receiving modes [4, 22, 27, 37–40]. Therefore, only the energy consumptions for transmission are generally considered in designing a routing algorithm. A sensor is capable of changing its transmission power to control its transmission distance [4, 22, 23, 39, 41–43]. Many previous works [4, 22, 23] used a simple deterministic energy consumption model in which the required energy
For evaluation purpose, we define lifetime of sensor network and event generation patterns. First, the definition of sensor network lifetime is the time until the first node or a portion of nodes becomes incapable, due to energy depletion, of sending data to its neighbors. The portion can vary depending on the context of the sensor networks. In this paper, the lifetime of a sensor network is the number of rounds until the first ( Uniform event generation: every sensor has a data packet to be reported in any round [4, 22, 23, 44]. Random event generation with random rate α: every sensor has a data packet to be reported with probability α in any round. The probability α is called random rate [5, 45]. Repeated event generation from a local area A: only the sensors in a local area A have data packets to be reported in any round. The shape of the area can be a point, a circle, a square, or any other shape [3].
3.2. Ant System for Routing Problem in LWSN
Different from the AS for combinatorial optimization problems such as TSP, the one for routing problem in communication networks should be able to provide optimal routing policies for each node rather than find an optimal solution. In other words, the routing algorithm for communication networks should find routing policies for all nodes for routing a given data traffic. Ant System for Routing in Wireless Sensor Network (AS-RWSN) is devised to corporate this consideration. The AS-RWSN has several different characteristics from the existing Ant System.
First of all, in wired telecommunication networks, the current traffic of the only link determines the current availability of a link. However, in wireless sensor networks, the capacity of a given link mainly depends on the current energy of the corresponding sensor. Therefore, the proposed algorithm uses a composite measure, energy cost (
3.3. Explanatory Examples
Two examples are provided to clarify the mechanism of the AS-RWSN algorithm. In Figure 1, sensor 1 has a data packet k to be sent to the base station. Since it has two neighboring nodes, sensors 2 and 3, three possible paths, one direct path, and two indirect paths via sensors 2 and 3 are available. To route the data packet or choose one of the possible paths, sensor 1 calculates transition probabilities for available paths (Tables 1 and 2). With (6) and (7) ant k computes
Routing table of node 1 before routing the packet data k.
Routing table of node 1 after routing the data packet k.

Transition probabilities (a) before routing data k and (b) after routing data k to the base station.
The second example concerns the tabu list. In AS, a launched ant keeps and updates its tabu lists for the nodes which it has visited. Using this list the ant can avoid visiting any node more than once. This scheme guarantees that ants can build paths to destinations, or the base station, without any loop. As shown in Figure 2, ant k's tabu list is empty when ant k is launched at node 1. After hopping to node 3, ant k does not consider node 1 as a hop to the next node because node 1 is included in ant k's tabu list. Similarly, as ant k moves from node 3 to node 2, the tabu list becomes

An example: tabu list of ant k.
3.4. Algorithm Details
The design of the proposed routing algorithm, AS-RWSN, has the following considerations. First, using a transition rule, sensors can spread data traffic over the whole network to achieve an energy balance and consequently maximize the lifetime of sensor networks. The transition rule advances one of the original AS by redefining link cost. Second, through a pheromone update rule, the transition probability to the nodes, included with good solution paths, will increase as the proposed routing algorithm runs. Lastly, since network parameters continuously change with time, a good path is not always good and it is not necessary to find a good path for each sensor in a setup period by using dummy ants. Therefore, AS-RWSN can skip the initial path finding process by considering each data packet as a data ant. Each data packet changes environment parameters for the next data packet when it is routed as dummy ants in Ant Systems.
Assuming that each data is an ant, every ant should go to the base station, and ants arriving at the base station are terminated. A data ant k hops from one node to another node or the base station until it arrives at the base station; simultaneously it records visited nodes in its tabu list. The data ant k selects the next node to hop to according to the probability
Each sensor keeps a small routing table. This routing table contains node identification number, energy cost to the base station, the amount of pheromone, and transition probability for each neighboring node or the corresponding link. The steps of the algorithm are the following:
Initialization of the routing table: during the initial setup period, each sensor finds its direct distance to the base station and calculates its energy cost ( Local update: the routing table reflects changes of neighbors' energy levels. When a sensor transmits a data packet, all of its neighbors receive the packet and the current energy cost of the transmitting sensor. As a result, whenever a sensor's battery level changes, all routing tables of its neighboring nodes are updated. The fields of EC and transition probability for the corresponding sensor are updated by (6) and (7). Global update: once the base station receives an ant or a data packet, the base station broadcasts the information gathered by the ant to the visited nodes to update the pheromone concentration. Based on (8), the visited node updates the pheromone deposit of the corresponding link.
As explained earlier, AS-RWSN guarantees elimination of loops in any routing path. Since each data ant has a tabu list of visited nodes, the ant never visits any node more than once. Therefore, AS-RWSN always assures finding a routing path to the base station without loops. Algorithm 1 provides a high-level description of the routing decisions of AS-RWSN.
Launch Choose the next node j, After each transition Compute the length Update pheromone trails by applying the rule: Equation (8)
4. Structure-Aware Ant Colony System for Routing in Sensor Networks (SAAS-RWSNs)
The AS-RWSN proposed in the earlier section can be improved by considering node heterogeneity. The AS-RWSN assumes that all nodes in networks are homogenous. However, many large-scale networks found in communications, biology, or sociology have heterogeneity among various properties. For example, complex networks were found to exhibit a scale-free degree distribution. Complex network theory provides various methods for characterizing the heterogeneity. When the goodness of nodes is identified by such methods, the routing algorithms can be designed more effectively based on the utilization of a network's structural properties. Proposing a structure-aware ant colony routing, called Structure-Aware Ant System for Routing in Wireless Sensor Networks (SAAS-RWSNs), this algorithm captures the advantage. In fact, the SAAS-RWSN advances AS-RWSN by considering a property of network structure such as degree of node. The basic idea of SAAS-RWSN is that routing data traffic to node having more links leads to energy balance. If a node has many neighboring nodes, then it has many alternative paths and a high chance to disperse data traffic. In the SAAS-RWSN algorithm, a greater number of links induce greater transition probability. In Figure 3, sensor i has three neighboring nodes, A, B, and C. The number of links of nodes A, B, and C is 5, 3, and 2, respectively. When sensor i routes a data packet, it assigns higher probability to the higher link degree node, for instance, node A. Assigning a higher transition probability to node A than node C leads to a distribution of data traffic over the whole network.

An example: the basic idea of SAAS-RWSN.
4.1. Node Goodness
Incorporating a property of network structure into AS-RWSN requires a metric to evaluate node goodness. In many applications, nodes are highly heterogeneous in their degree (i.e., the number of edges per node) [46, 47]. Clustering coefficients, quantifying local transitivity, are also heterogeneous [48, 49]. However, recently, many studies have attempted to analyze and characterize the heterogeneity of weighted complex networks. As a result, node degree, the number of neighboring nodes or links, can adequately capture the heterogeneity of nodes with relatively less computational effort. If the goodness of node i at time t is
Powering the link goodness,
4.2. An Example
This section provides an example to clarify the mechanism of the SAAS-RWSN algorithm. In Figure 4, sensor 1 has a data packet to be sent to the base station. It has two neighboring nodes, sensors 2 and 3, which have 4 and 2 node degrees, respectively. If
Routing table of node 1 for data packet k.

An example: SAAS-RWSN.
4.3. Algorithm Details
SAAS-RWSN has the same routing framework as AS-RWSN, except for considering the degree of nodes when a node calculates the transition probability for neighboring nodes. Similar to AS-RWSN, sensors in SAAS-RWSN keep a routing table. This table contains node degree as well as all information which routing table in AS-RWSN has (node identification number, energy cost to the base station, the amount of pheromone, transition probability, and node degree for each neighboring node). Similar to AS-RWSN, SAAS-RWSN also guarantees elimination of loops in any routing path with a tabu list. Algorithm 2 provides a high-level description of the routing decisions of SAAS-RWSN.
Calculate
Launch Choose the next node j, After each transition Compute the length Update pheromone trails by applying the rule: Equation (8)
5. Experimental Results
This section presents several experimental results to validate the effectiveness of AS-RWSN, SAAS-RWSN, and distributed AS-RWSN, which has exactly the same frame as AS-RWSN except for the global updating rule. In the distributed AS-RWSN, nodes calculate transition probability only based on local information obtained from neighboring nodes. Distributed AS-RWSN has no pheromone update after completing tours of data ants. This section also compares the distributed AS-RWSN with AS-RWSN and SAAS-RWSN to show the effect of the global update.
The comparison of the proposed algorithms is with three other algorithms: Direct Communication (Direct), Minimum Transmission Energy (MTE), and Self-Organized Routing (SOR). In Direct, every sensor simply transmits data directly to the base station without any consideration of energy-efficiency. In contrast, MTE considers energy-efficiency by choosing a path with minimum total energy consumption but it does not take into account energy-balancing. SOR pursues energy-efficiency as well as energy-balancing together and has several desirable properties as discussed earlier.
The experiments use a sensor network in which 100 nodes have random and uniform deployment in

The configuration of experimental sensor network: 100 nodes randomly and uniformly deployed in
The empirical analysis consists of three parts; Section 5.1 evaluates the lifetime driven by Direct, MTE, SOR, and three AS-RWSNs discussed in this section. Section 5.2 discusses in routing algorithms how well AS-RWSN achieves an energy well-balanced network with comparison to three existing routing algorithms. Section 5.3 discusses the performances of three ant-based routing algorithms. Because a sensor network is generated randomly, 100 experiments are repeated for each condition and an average of the results is taken.
5.1. Lifetime
This experimentation evaluates the performance of the AS-RWSN and SAAS-RWSN algorithms with 20 m neighboring distance of the square sensor network. Figure 6(a) plots the number of active sensors against time (i.e., number of rounds) for a uniform event generation pattern with routing algorithms mentioned. This graph indicates that AS-RWSN and SAAS-RWSN outperform Direct, MTE, and SOR until approximately 65% of sensors become inactive. Sensors in Direct, MTE, and SOR algorithms depleted their energies gradually over time. However, in the proposed algorithms, the majority of sensors are alive up to approximately time 200 and deplete simultaneously right after, thus indicating good energy-balancing throughout the network. Similar observations appear even for random and repeated event generation patterns, as shown in Figures 6(b) and 6(c), respectively. Particularly, the performances of AS-RWSN and SAAS-RWSN in the repeated event function are dominantly better than others in all different definitions of lifetime. With these findings, the conclusion is that the new algorithm is superior to other routing algorithms regardless of event generation patterns and therefore robust. Also noticeable is the fact that the result from SAAS-RWSN is better than one from AS-RWSN. Considering network structure routing algorithms can prolong the lifetime of sensor networks. Table 4 summarizes
Lifetime (

The number of active sensors over time under (a) uniform, (b) random, and (c) repeated event generation patterns.
5.2. Energy-Balancing
Figure 7 shows how well SAAS-RWSN achieves energy-balancing over the network. As shown in Figure 7(a) for Direct, Figure 7(b) for MTE, and Figure 7(c) for SOR, sensors far away or close to the base station become inactive at around 150th round. However, as shown in Figure 7(d), all the sensors under SAAS-RWSN remain alive. This desirable behavior results from the fact that SAAS-RWSN is efficiently utilizing the distributed energy resources in a balanced way.

The energy population at 150th round under uniform event generation pattern: (a) Direct, (b) MTE, (c) SOR, and (d) SAAS-RWSN.
Figure 8 shows the routing paths for the four algorithms under repeated event generation pattern in the square region from (0, 0) to (50, 50). While using Direct, MTE, and SOR, data traffic concentrates on the left half of the target area. On the other hand, since SAAS-RWSN tries to maximize equality, the traffic is dispersed over the whole network leading to superior energy-balancing. As a result, SAAS-RWSN keeps more sensors operating over time as shown in Figure 6(c).

Routing paths by (a) Direct, (b) MTE, (c) SOR, and (d) SAAS-RWSN, under repeated event generation pattern in the square region from (0, 0) to (50, 50).
5.3. Comparisons of Lifetime of AS-RWSNs
This section evaluates the effect of global update by comparing AS-RWSN and SAAS-RWSN with a distributed AS-RWSN. Figure 9 shows the network lifetimes of AS-RWSN, SAAS-RWSN, and distributed AS-RWSN. As shown in Figure 9(a), the result from distributed AS-RWSN is similar to those of AS-RWSN and SAAS-RWSN. Even though some performance deterioration exists (Figure 9(b)), distributed AS-RWSN also pursues energy balance and extends the lifetime of sensor networks. In fact, the difference between AS-RWSN and distributed AS-RWSN indicates the effect of global update. Inevitably, no global update leads to a sacrifice of solution quality. However, distributed AS-RWSN is more suitable for wireless sensor networks which are large-scale and highly dynamic systems.

Lifetime of AS-RWSN, SAAS-RWSN, and Distributed AS-RWSN.
6. Conclusions and Future Work
Sensor networks are dynamic and large-scale systems. A distributed control mechanism is necessary for managing such systems. An Ant System algorithm provides such a distributed and robust control framework. This paper, based on ant colony system, proposes two ant-based routing algorithms: AS-RWSNs (Ant System for Routing in Sensor Networks) and SAAS-RWSNs (Structure-Aware Ant System for Routing in Sensor Networks). AS-RWSN modified the original Ant System to be applied to sensor network applications by introducing a new link cost, energy cost. SAAS-RWSN advanced AS-RWSN by considering heterogeneity of networks in routing. These two proposed routing algorithms outperform existing routing algorithms in wireless sensor networks. The convergence trait of Ant System improves the system performance and, at the same time, its randomness features lead to a balance of the whole network in terms of traffic and energy. Numerical experiments show that ant-based routing algorithms perform well in wireless sensor networks.
This work only proposed node degree as a metric to identify heterogeneity of networks. However, many other metrics such as the clustering coefficient and local betweenness centrality [50] are available in complex network theory. Future work will integrate this study's ant-based routing algorithm with these other metrics for characterizing the heterogeneity of sensor networks.
Footnotes
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgment
This study was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education, Science and Technology (NRF-2009-0066596).
