Next Article in Journal
On Geometric Properties of Normalized Hyper-Bessel Functions
Next Article in Special Issue
Memes Evolution in a Memetic Variant of Particle Swarm Optimization
Previous Article in Journal
Existence and Unique Coupled Solution in Sb-Metric Spaces by Rational Contraction with Application
Previous Article in Special Issue
What Can We Learn from Multi-Objective Meta-Optimization of Evolutionary Algorithms in Continuous Domains?
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Task Allocation in Wireless Sensor Networks by Means of Social Network Optimization

Dipartimento di Energia, Politecnico di Milano, Via Lambruschini 4, 20156 Milano, Italy
*
Author to whom correspondence should be addressed.
Mathematics 2019, 7(4), 315; https://doi.org/10.3390/math7040315
Submission received: 5 March 2019 / Revised: 22 March 2019 / Accepted: 25 March 2019 / Published: 28 March 2019
(This article belongs to the Special Issue Evolutionary Algorithms in Intelligent Systems)

Abstract

:
Wireless Sensor Networks (WSN) have been widely adopted for years, but their role is growing significantly currently with the increase of the importance of the Internet of Things paradigm. Moreover, since the computational capability of small-sized devices is also increasing, WSN are now capable of performing relevant operations. An optimal scheduling of these in-network processes can affect both the total computational time and the energy requirements. Evolutionary optimization techniques can address this problem successfully due to their capability to manage non-linear problems with many design variables. In this paper, an evolutionary algorithm recently developed, named Social Network Optimization (SNO), has been applied to the problem of task allocation in a WSN. The optimization results on two test cases have been analyzed: in the first one, no energy constraints have been added to the optimization, while in the second one, a minimum number of life cycles is imposed.

1. Introduction

Wireless Sensor Networks (WSN) are relevant system architectures that can be applied in a wide range of applications [1], from monitoring to tracking, visual surveillance, ranging also in many fields from industrial automation to agricultural systems, and target localization, both in military and civil sectors [2].
Currently, WSN are becoming much more important because the senors’ computational capabilities are growing, and thus, many in-network tasks can be performed. It has been noticed that processing the information inside the network is faster and safer than sending raw data to the final user [3]. Such in-network processing can drastically reduce the total computational time required after sensing tasks with a direct impact on power consumption [4].
The network complex dynamics created by these in-network operations can be suitably managed by means of evolutionary optimization techniques [5]. For instance, the problem of sensor lifetime maximization has been successfully approached in [6] by means of genetic algorithms and in [7] with genetical swarm optimization. The problem of coverage in WSN has been solved in [8] with both the genetic algorithm and ant colony optimization. Another important problem of WSN, routing, has been widely approached by several authors: in [9], a specific energy protocol has been designed to improve the network lifetime, while in [10], it has been solved with genetical swarm optimization and in [11] with particle swarm optimization.
The problem of task and resource allocation is a crucial problem in many frameworks. It is aimed at finding the optimal distribution of the tasks inside the network itself with reference to a specific goal. In the case of the deployment of multiple sensor devices with batteries, a fundamental goal is to maximize the total network lifetime, in other words to minimize the total energy consumption [12]. In many WSN applications, the computational time is also a key parameter in the optimization process. Scheduling and planning have been already faced with evolutionary computation algorithms, like the genetic algorithm [13], particle swarm optimization [14], and ant colony optimization [15]. In standard planning problems, these techniques have been demonstrated to have performances comparable with other deterministic optimization techniques [16].
With recent advancements in massive parallel computing technologies, the problem of scheduling resources and tasks, for example in multiprocessor systems, is becoming more and more attractive. In this scenario, soft computing techniques represent a useful tool that can be effectively applied in task allocation optimization problems.
This work is based on a multi-hop network in which a set of tasks for parallel computing should be performed. The tasks are distributed and collected by a central node. By properly choosing the number of such processed tasks for each sensor, it is possible to change the total processing time and the network lifetime.
The analyzed task allocation problem is devoted to the minimization of the elaboration cycle time of the entire network, i.e., the total time required by the network to process all the tasks. The optimization is performed fixing a predefined scheduling protocol for each sensor and taking into consideration energy constraints expressed in terms of network lifetime.
To perform this optimization, a promising evolutionary optimization algorithm, named Social Network Optimization (SNO) [17], has been used. SNO is a recently-developed population-based algorithm: in the literature, it has been applied to antenna optimization [18], with a comparison between SNO and PSO; it has been also applied to model parameter matching problems [19].
In order to assess SNO performance on task allocation, in this paper, the final results are compared with the solutions obtained by the following algorithms: Biogeography-Based Optimization (BBO), Differential Evolutionary (DE), the Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and the Stud-Genetic Algorithm (SGA).
The paper is structured as follows: Section 2 provides an overview of related works, and Section 3 contains a description of the WSN with all the hypothesis and parameters adopted. Section 4 provides a brief description of the optimization algorithm. Section 5 reports the results of the optimization and the comparison. Finally, in Section 6, some conclusions are drawn.

2. Related Works

Evolutionary optimization algorithms have been widely applied to optimization problems related to wireless sensor networks. The task assignments of WSN essentially aims to save energy, reducing the expenditure among the allocations and prolonging the network lifetime. Some authors had already proposed energy-efficiency approaches based on a mix of entropy theory and evolutionary computation theory [20].
Moreover, the same problem has been also addressed by means of several evolutionary algorithms: for example, in [21], task scheduling in heterogeneous distributed systems was evaluated comparing a multi-objective evolutionary algorithm with a hybrid genetic algorithm. Previously, genetic algorithms had been used in [22] for a similar purpose, performing tests on a Java scheduler with a homogeneous set of processors. Additionally, in [23], the authors proposed three different hybridizations between BBO and DE for the problem of power allocation in sensor networks.
Particle swarm optimization has been widely applied in WSN: the work in [24] provided a wide review of these applications. As concerns the specific problem of task allocation, in [25], the authors applied the PSO to the this problem with a particular concern regarding the network reliability. In [26], the authors proposed the PSO in task optimization for tracking, showing that the heuristic algorithm can compete and win against deterministic approaches to the same problem. More recently, in [27], a logic-based evolutionary algorithm compared to a binary PSO has been applied again to task allocation in WSN.
Social network optimization has been preliminary applied to task allocation in WSN [28], but in this previous work, the scheduling algorithm was only partially considered and no energy constraints were included. Additionally, no comparison with other assessed evolutionary algorithms was proposed in order to validate SNO performance over the task allocation problem. In the present paper, all these aspects have been added, as clarified in the following sections.

3. Description of Wireless Sensor Networks

The analyzed problem in this paper is the tasks’ resource allocation in wireless sensor networks [29].
The WSN is a system composed of a set of smart sensor devices, deployed in space, which can sense, process, send, and receive data. The communication adopts a multi-hop scheme for managing the signal-to-noise ratio without drastically compromising the global lifetime. Moreover, this structure can handle specific environmental constraints.
The most important node in the network is the cluster head: this node is devoted to transmission and reception of the data. It is in charge of splitting and gathering the data between the network nodes, and it cannot perform any further processing activity.
All the other standard nodes can be operated in four different modes:
  • computing mode: this is the phase related to the elaboration of the assigned task;
  • Reception (RX) mode: all the nodes can receive information from their neighbors;
  • Transmission (TX) mode: when a sensor is in this mode, it is transmitting the information to its predecessor in the network;
  • idle state: this is when a sensor is not performing any activity; in this state, the energy consumption is drastically reduced.
Thus, the sensors can be only in one of these four states and cannot perform more than one activity at the same time. On the other hand, the cluster head is devoted only to TX and RX operations. Due to this design option, it is equipped with a multi-input and multi-output transmission capability.
The sensor units can differ one from another in terms of processing speed, while the transmission rate is homogeneously distributed among all the nodes. This is justified due to the fact that, while the transmission rate is related to the signal frequency, the units can be different or can be set with different energy levels to improve the network lifetime.
The specific selected application, namely the parallel computing field, imposes some constraints. Firstly, all the tasks require almost the same computational effort; for the sake of simplicity, in this paper, they have been considered equal. Moreover, a process cycle of the entire network consists of the transmission of the tasks from the cluster head to the sensors, the following elaboration, and in the final collection of the processed outputs. The following cycle can start only when all the outputs are collected, as represented in Figure 1.
The scheduling process of this network is assumed to be in the first-in-first out (FIFO) logic. This control scheme has been selected because of its simplicity; even if it is not optimal by itself, it is part of the optimization process, so this sub-optimality can be reduced or eliminated. This logic has the advantages of being simple and can be implemented in the sensors, and it is valid for any kind of job the units should perform. Moreover, this logic is robust to some variation in the elaboration time of the other units.
Within this network, two aspect have been considered: the total cycle time and the network lifetime. The first is the maximum of the time required by the sensors:
t c y c l e = max i t i
On the other hand, the network lifetime is the number of cycles before the most stressed node ends its energy.
The total time required by the i th sensor unit is the sum of the time spent in each of the four possible states:
t i = t e l , i + t R X , i + t T X , i + t w , i
where t i is the total time required by the i th unit, t e l , i is its elaboration time, t R X , i is its receiving time, t T X , i is its transmission time, and t w , i is its idle time.
These times are all a function of the number of allocated tasks to each unit. Firstly, the processing time can be expressed as:
t e l , i = N i · c e l v e l , i
where N i is the number of allocated tasks to the i th unit, c e l is the number of Kilo Clock Cycles (KCC) required for elaborating one task, and v e l , i is its elaboration speed in KCC/s.
The time spent in reception mode depends on the network configuration, and it has two contributions: the time required for receiving the tasks from its predecessor and the time for receiving the output of the elaborations from reachable units (in graph theory, the set of reachable nodes is the set of nodes connected directly or indirectly to the analyzed node):
t R X , i = j = 1 U i N j · c i n v R X + k = 1 U i N k · c o u t v R X = j = 1 U i N j · ( c i n + c o u t ) v R X
where U i is the number of reachable units from the i th sensor, c i n is the information amount sent from the cluster head to the nodes to assign a task, c o u t is the output number of bits for each assigned task, and v R X is the reception speed.
The transmission time can be calculated with a very similar logic as the reception time. Nonetheless, it can be calculated in an easier way as a function of the reception time: in fact, it is the time for retransmitting the received information and to transmit the output of the task processed by the unit:
t T X , i = t R X , i · v R X v T X + N i v T X
where v T X is the transmission speed. The transmission and the reception speed can be different because the transmission requires also the amplification of the signal.
The waiting time evaluation depends on the specific schedule of the activities and thus cannot be expressed as the other times, but it can be calculated at each simulation run of the network.
The scheduling is based on the following rules. The information is transmitted from the cluster head to the nodes, giving priority to the nodes with more subsequent nodes; when a node has finished the reception and the hopping of the information, it starts its elaboration; then, it sends back the information to its predecessorif it is in idle mode. Finally, it turns to idle mode for the information.
An example of the scheduling is proposed in Figure 2.
As concerns the energy consumption, the following model has been applied. The sensors are fed by batteries with a total capacity of 9 kJ. The energy consumed is composed of four terms:
E i = E T R X , i + E a m p , i + E e l , i + E w , i
The first term is the energy for the communication. It is a function of the total number of bit transmitted and received ( b T R X , i ):
E T R X , i = b T R X , i · E T R X
where E T R X is the energy required to maintain the communication equipment.
The amplification energy is required to have an acceptable signal-to-noise ratio. The transmission energy required by node i to transmit to node j depends on the number of transmitted bits ( b i j ) and on the transmission distance ( d i j ):
E a m p , i , j = E a m p · b i j · d i j
The elaboration energy depends on the elaboration time:
E e l , i = E e l · t e l
Finally, the energy consumed in idle time is considered negligible with respect to the other terms.
The network has been implemented in MATLAB; the parameters adopted in the simulation of the network are summarized in Table 1.

4. Social Network Optimization

The optimization algorithm used in this paper is Social Network Optimization (SNO). It is a novel population-based algorithm that takes its inspiration from the information-sharing process in online social networks [30]. The algorithm has already been applied to other engineering problems in which its effectiveness has been proven [17].
The performances of this algorithm are very good in many engineering application problems, both in terms of convergence speed and reliability of the solution, and this makes the algorithm very suitable for facing the problem complexity in an affordable time [31].
The basic element of SNO is the social network itself ( S ). It is a network of users ( { u u } ) that communicates by means of posts ( { p s } ):
S = { { u u } , { p s } }
Each user is characterized by a set of opinions ( o u ) (the bold means that it is a vector), its personal growth ( c u ), a list of friends ( L u ), and a reputation value for the other users of the social network ( r u v ):
u u = { o u , c u , L u , { r u v } }
The interaction between users takes place among two preferential paths: the first one is a friend network, where the connections between users are very strong and reciprocal, and a trust network, where the connections are weaker and monodirectional. Among these paths, the information is exchanged by means of posts: the information content is presented by a status containing the opinions of the user on the discussion topics.
The topic represents, out of the social metaphor, the possible design variables, while the status is the value assigned to them by each post that represents a candidate solution.
Each post contains the status, s s , the name (the ID) of the user that has posted it ( u s ), the time at which it was posted t s , and a visibility value ( v s ), that is, out of the metaphor, the cost value associated with each candidate solution by means of the objective function. Posts with high visibility are more likely to be seen by the other users, and thus can influence more individuals. The post visibility affects the reputation list: in fact, if the visibility of a post of the user v is higher than the average, its reputation r u v grows, while if it is lower than the average, the reputation diminishes.
p s = { s s , u s , t s , v s }
The opinions of a user are related o the corresponding status by means of the linguistic transposition of the ideas. In SNO, it is modeled as a random variable with zero mean and a small standard deviation.
s u = o u + λ u
Figure 3 is representative of the basic structure of social network optimization and of its relation with a generic optimization problem.
All the above presented structures evolve with time. There are two basic mechanisms in this evolution: the personal growth of individuals and the modification of the friend and trust networks.
The personal growth can be represented by the variation of the opinions with time:
c u ( t ) = d o u ( t ) d t
The user change c u ( t ) is based on the complex contagion model of idea diffusion:
c u ( t + 1 ) = α · c u ( t ) + β · ( a u ( t ) o u ( t ) )
where a u ( t ) is the attracting idea created in the interaction process; α and β are two user-defined parameters that represent the inclination of each user to change his/her idea.
The attracting idea is created by means of the friend and trust networks. In fact, each user selects some influencers in these networks by means of a rank selection based on the visibility value. Then, the identified posts are combined with a crossover operator to create the attracting idea. The networks’ evolutions are intrinsically different. The friend network evolves by means of the process of recommendation, so a user v has a probability of becoming a friend of a user u that is proportional to the number of common friends. On the other hand, the friendship can be eliminated when the number of common friends becomes low. Furthermore, the trust network is based on the reputation value: all the individuals that for the user u have a reputation higher than a predefined threshold belong to its trust network.
The time evolution of the structures of SNO is described in the flowchart of Figure 4.

5. Optimization Problem: Description and Results

The described wireless sensor network represents the engineering problem to which social network optimization has been here applied. In the following, the optimization problem is formalized, and the results are presented.

5.1. Problem Description

The optimization problem is the following one:
min T Θ t m a x
subject to:
i = 1 N T i = N t a s k
E m a x < E s 4000
T is the design variable vector (the number of tasks associated with each sensor), and Θ is the design variable space. The minimization function is the maximum cycle time, i.e., the time required by the slowest sensor in the network.
There are two constraints that were introduced: the first one ensures that all the tasks are managed by the network, while the second one that the network lifetime lasts more than 4000 cycles.
This problem has been codified in SNO by means of a candidate solution represented by a vector of N elements, where N is the number of sensors, and each of them can range from 0–1. The first constraint has been managed with a proper decodification of the candidate solution. In fact, it is possible to process the candidate solution s in the following way:
T = s | s | · N t o t
In this way, the produced vector T is composed only by an integer. On the other hand, it is not ensured that the sum is equal to N t o t . To fix this aspect, the missing task ( N m i s s ) are calculated and assigned to the first N m i s s sensors.
The management of the second constraint has been done with a penalty approach. This means that the actual visibility value for the optimizer is:
v = t m a x + 500 + 10 · ( 4000 t l i f e ) · H ( 4000 t l i f e )
where t l i f e is the lifetime of the network expressed in elaboration cycles and H ( · ) is the Heaviside function defined as:
H ( x ) = 0 , x < 0 1 , x 0
This penalty definition has been selected because it ensures that a solution that satisfies the constraints has a cost value greater than a good solution. It has been decided to not further penalize the solutions because they can have good features that could help the convergence process.
In the following, the optimization process has been performed firstly without taking this last constraint into consideration, and then considering it. In both cases, firstly, the results obtained by means of SNO are presented, and then it is compared with other algorithms.
The algorithms adopted for the comparison are the following:
  • Biogeography-Based Optimization (BBO), implemented starting from [32] and modified to improve the exploration;
  • Differential Evolutionary (DE) [33];
  • Genetic Algorithm (GA) [34], implemented for the real value objective function, with single-point crossover and non-linear rank-based selection;
  • Particle Swarm Optimization (PSO) [35], with variable inertia and velocity constraints;
  • Stud-Genetic Algorithm (SGA) [36], an effective variation of GA in which one of the parents is always the best individual in the population and the second one is selected with a rank-based selection.
For all these algorithms, the population was set to 20 individuals (this value was obtained from a parametric analysis performed on standard benchmarks [37]), and the termination criterion was set to 5000 objective function evaluations. In all the tests, 100 independent trials were performed to have statistical reliability of the results.

5.2. Results of Unconstrained Optimization

The first optimization set of trials was done without the constraint on the minimum lifetime. Firstly, the results of SNO are presented, and then, they are compared with the results of the other algorithms.

5.2.1. Social Network Optimization Results

SNO has been used to find an optimal solution of the WSN task allocation problem. Figure 5 shows the convergence curves of the 100 independent trials. The small plot is a zoom of the convergence curves limiting the cost value to 1600.
The convergence curves have a very similar behavior, showing the robustness of the algorithm. All the trials were able to find solutions with the cost value below 1000.
It is possible to represent the obtained solutions in a plane in which the horizontal axis is the maximum cycle time (in milliseconds) and the vertical axis is lifetime (in elaboration cycles). Figure 6 shows the 100 optimal values obtained by SNO. The three green dots are the Pareto front. In this case, it is possible to notice that many solutions have a lifetime below 4000 cycles. All these solutions will be discarded in the constrained optimization.
The optimal scheduling of one elaboration cycle is represented in Figure 7a. The red color represents the receiving mode, the blue the elaboration status, and the yellow the transmitting mode. White color is the idle status.
Figure 7b shows the energy content of all the sensors during the first five elaboration cycles. The black vertical lines show the end of each cycle. The color is representative of the energy content: blue means full of charge.

5.2.2. Comparison between SNO and Other Algorithms

In this section, the comparison between SNO and the other optimization algorithms is presented.
Table 2 shows the results of the six algorithms: the mean value is the average optimal result obtained in the 100 independent trials; the minimum value is the best solution; and the last column is the results of a t-test with the significance level at 5%: if SNO is better, the value of the t-test is “+”; if the two algorithms are equal, it is “0”, or if SNO is the worst, the value is “−”.
It is possible to see that SNO outperformed four out of the five algorithms and that only Stud-GA had similar performances. In particular, Stud-GA is able to find a better best solution, while the average results of the two algorithms are almost the same.
Figure 8a shows a comparison in terms of convergence curves: the continuous line is the average convergence, while the dashed line is the best trial. Figure 8b shows a comparison of the Pareto front: in this figure, it is possible to notice that the results of SNO are much better than the results of the other algorithms.
The convergence of Stud-GA is slower than the one of SNO at the beginning of the optimization process, while it is able to reach a comparable result at the end. On the other hand, BBO has a very good initial convergence, but then the convergence rate drastically diminishes.

5.3. Results of Constrained Optimization

Here, the results of the constrained optimization are presented. As has been done before, firstly, the results of SNO and then the comparison are presented.

5.3.1. Social Network Optimization Results

Figure 9 shows the convergence curves of the 100 independent trials. Here, the zoom is important to see the good convergence of the trials and the low standard deviation. Also in this case, it is possible to notice that all the results had a cost value below 1000.
With respect to the curves of the unconstrained optimization, it is possible to see that the initial values have a very high cost. This is due to the fact that the solutions found violate the feasibility constraint. After a few iterations, the algorithm is able to bring all the solutions within the feasibility limits, and then, the convergence rate becomes similar to the unconstrained optimization.
As done previously, it is possible to represent the obtained solutions as the maximum cycle time–lifetime plane. Figure 10 shows the 100 optimal values obtained by SNO. The four green dots are the Pareto front.
The optimal scheduling of one elaboration cycle is represented in Figure 11a, while Figure 11b shows the energy levels of the sensors in the first five elaboration cycles.
Comparing these results with the ones of the unconstrained optimization, it is possible to see that, here, the cycle time is lower. Comparing the two schedules, the solutions are very similar. On the other hand, the energy consumption is more distributed among the sensors.

5.3.2. Comparison between SNO and Other Algorithms

In this section, the comparison between SNO and the other optimization algorithms is presented.
Table 3 shows the results of the six algorithm: the mean value is the average optimal result obtained in the 100 independent trials; the minimum value is the best solution; and the last column is the results of a t-test with the significance level at 5%.
Figure 12a shows a comparison in terms of convergence curves: the continuous line is the average convergence, while the dashed line is the best trial. Figure 12b shows a comparison of the Pareto front: in this figure, it is possible to notice that the results of SNO are much better than the ones of the other algorithms.

6. Conclusions

In this paper, the task allocation problem in WSN has been faced: the integrated use of evolutionary techniques can optimize and enhance these systems, both in terms of energy efficiency and computationally efficiency.
The optimization algorithm used in this paper is a recently-developed algorithm called social network optimization: this algorithm has been applied in two different problems. The first one is represented by an unconstrained optimization, while the second is a constrained problem.
The obtained results have been compared with other well-established algorithms. The results show that SNO is able to obtain very good results if compared with the other algorithms. In particular, the convergence of SNO is more effective, especially at dealing with the constrained problem.
Future developments of this work can be focused more on the robustness of the WSN communication process: in fact, it is possible to take also into account failures in the information exchange between sensors. This can have an impact on both the total cycle time and the final energy consumption.

Author Contributions

Conceptualization, A.N., F.G., and M.M.; data curation, F.G.; investigation, F.G. and M.M.; methodology, A.N.; software, A.N.; supervision, R.Z.; validation, A.N. and M.M.; writing, original draft, A.N.; writing, review and editing, A.N., F.G., M.M., and R.Z.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
WSNWireless Sensor Network
KCCKilo Clock Cycles
SNOSocial Network Optimization
PSOParticle Swarm Optimization
GAGenetic Algorithm
BBOBiogeography Based Optimization
SGAStud-Genetic Algorithm

References

  1. Yick, J.; Mukherjee, B.; Ghosal, D. Wireless sensor network survey. Comput. Netw. 2008, 52, 2292–2330. [Google Scholar] [CrossRef]
  2. Karakaya, M.; Qi, H. Distributed target localization using a progressive certainty map in visual sensor networks. Ad Hoc Netw. 2011, 9, 576–590. [Google Scholar] [CrossRef]
  3. Fasolo, E.; Rossi, M.; Widmer, J.; Zorzi, M. In-network aggregation techniques for wireless sensor networks: A survey. IEEE Wirel. Commun. 2007, 14, 70–87. [Google Scholar] [CrossRef]
  4. Tian, Y.; Ekici, E. Cross-layer collaborative in-network processing in multihop wireless sensor networks. IEEE Trans. Mobile Comput. 2007, 6, 297–310. [Google Scholar] [CrossRef]
  5. Vorobyov, S.A.; Cui, S.; Eldar, Y.C.; Ma, W.K.; Utschick, W. Optimization Techniques in Wireless Communications. EURASIP J. Wirel. Commun. Netw. 2009, 2009, 567416. [Google Scholar] [CrossRef] [Green Version]
  6. Hu, X.M.; Zhang, J.; Yu, Y.; Chung, H.S.H.; Li, Y.L.; Shi, Y.H.; Luo, X.N. Hybrid genetic algorithm using a forward encoding scheme for lifetime maximization of wireless sensor networks. IEEE Trans. Evol. Comput. 2010, 14, 766–781. [Google Scholar] [CrossRef]
  7. Caputo, D.; Grimaccia, F.; Mussetta, M.; Zich, R.E. An enhanced GSO technique for wireless sensor networks optimization. In Proceedings of the IEEE Congress on Evolutionary Computation (IEEE World Congress on Computational Intelligence), Hong Kong, China, 1–6 June 2008; pp. 4074–4079. [Google Scholar]
  8. Tian, J.; Gao, M.; Ge, G. Wireless sensor network node optimal coverage based on improved genetic algorithm and binary ant colony algorithm. EURASIP J. Wirel. Commun. Netw. 2016, 2016, 104. [Google Scholar] [CrossRef]
  9. Mann, R.P.; Namuduri, K.R.; Pendse, R. Energy-Aware Routing Protocol for Ad Hoc Wireless Sensor Networks. EURASIP J. Wirel. Commun. Netw. 2005, 2005, 501875. [Google Scholar] [CrossRef] [Green Version]
  10. Caputo, D.; Grimaccia, F.; Mussetta, M.; Zich, R.E. Genetical swarm optimization of multihop routes in wireless sensor networks. Appl. Comput. Intell. Soft Comput. 2010, 2010, 523943. [Google Scholar] [CrossRef]
  11. Omidvar, A.; Mohammadi, K. Particle swarm optimization in intelligent routing of delay-tolerant network routing. EURASIP J. Wirel. Commun. Netw. 2014, 2014, 147. [Google Scholar] [CrossRef] [Green Version]
  12. Rodway, J.; Krömer, P.; Karimi, S.; Musilek, P. Differential evolution optimized fuzzy controller for wireless sensor network energy management. In Proceedings of the 2016 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), Vancouver, BC, Canada, 24–29 July 2016; pp. 352–358. [Google Scholar]
  13. Lu, Q.; Li, S.; Zhang, W.; Zhang, L. A genetic algorithm-based job scheduling model for big data analytics. EURASIP J. Wirel. Commun. Netw. 2016, 2016, 152. [Google Scholar] [CrossRef] [PubMed]
  14. Gheitanchi, S.; Ali, F.; Stipidis, E. Particle Swarm Optimization for Adaptive Resource Allocation in Communication Networks. EURASIP J. Wirel. Commun. Netw. 2010, 2010, 465632. [Google Scholar] [CrossRef] [Green Version]
  15. Baioletti, M.; Milani, A.; Poggioni, V.; Rossi, F. An ACO approach to planning. In European Conference on Evolutionary Computation in Combinatorial Optimization; Springer: Cham, Switzerland, 2009; pp. 73–84. [Google Scholar]
  16. Baioletti, M.; Milani, A.; Poggioni, V.; Rossi, F. Ant search strategies for planning optimization. In Proceedings of the Nineteenth International Conference on Automated Planning and Scheduling, Thessaloniki, Greece, 19–23 September 2009. [Google Scholar]
  17. Grimaccia, F.; Gruosso, G.; Mussetta, M.; Niccolai, A.; Zich, R.E. Design of tubular permanent magnet generators for vehicle energy harvesting by means of social network optimization. IEEE Trans. Ind. Electron. 2018, 65, 1884–1892. [Google Scholar] [CrossRef]
  18. Niccolai, A.; Grimaccia, F.; Mussetta, M.; Zich, R.E. Reflectarray optimization by means of sno and pso. In Proceedings of the 2016 IEEE International Symposium on Antennas and Propagation (APSURSI), Fajardo, Puerto Rico, 26 June–1 July 2016; pp. 781–782. [Google Scholar]
  19. Ogliari, E.; Niccolai, A.; Leva, S.; Zich, R. Computational intelligence techniques applied to the day ahead pv output power forecast: Phann, sno and mixed. Energies 2018, 11, 1487. [Google Scholar] [CrossRef]
  20. Shen, Y.; Ju, H. Energy-efficient task assignment based on entropy theory and particle swarm optimization algorithm for wireless sensor networks. In Proceedings of the 2011 IEEE/ACM International Conference on Green Computing and Communications, Chengdu, China, 4–5 August 2011; pp. 120–123. [Google Scholar]
  21. Chen, Y.; Li, D.; Ma, P. Implementation of Multi-objective Evolutionary Algorithm for Task Scheduling in Heterogeneous Distributed Systems. JSW 2012, 7, 1367–1374. [Google Scholar] [CrossRef]
  22. Page, A.J.; Keane, T.M.; Naughton, T.J. Multi-heuristic dynamic task allocation using genetic algorithms in a heterogeneous distributed system. J. Parallel Distrib. Comput. 2010, 70, 758–766. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Boussaïd, I.; Chatterjee, A.; Siarry, P.; Ahmed-Nacer, M. Hybridizing biogeography-based optimization with differential evolution for optimal power allocation in wireless sensor networks. IEEE Trans. Veh. Technol. 2011, 60, 2347–2353. [Google Scholar] [CrossRef]
  24. Kulkarni, R.V.; Venayagamoorthy, G.K. Particle swarm optimization in wireless-sensor networks: A brief survey. IEEE Trans. Syst. Man Cybern. Part C 2011, 41, 262–267. [Google Scholar] [CrossRef]
  25. Guo, W.; Li, J.; Chen, G.; Niu, Y.; Chen, C. A PSO-optimized real-time fault-tolerant task allocation algorithm in wireless sensor networks. IEEE Trans. Parallel Distrib. Syst. 2015, 26, 3236–3249. [Google Scholar] [CrossRef]
  26. Liu, M.; Huang, D.-P.; Xu, X.-L. Node task allocation based on pso in wsn multi-target tracking. Adv. Inf. Sci. Serv. Sci. 2010, 2, 13–18. [Google Scholar]
  27. Ferjani, A.A.; Liouane, N.; Kacem, I. Task allocation for wireless sensor network using logic gate-based evolutionary algorithm. In Proceedings of the 2016 International Conference on Control, Decision and Information Technologies (CoDIT), St. Julian’s, Malta, 6–8 April 2016; pp. 654–658. [Google Scholar]
  28. Grimaccia, F.; Mussetta, M.; Niccolai, A.; Zich, R.E. Optimal computational distribution of social network optimization in wireless sensor networks. In Proceedings of the 2018 IEEE Congress on Evolutionary Computation (CEC), Rio de Janeiro, Brazil, 8–13 July 2018; pp. 1–7. [Google Scholar]
  29. Wu, X.; Sharif, B.S.; Hinton, O.R. An improved resource allocation scheme for plane cover multiple access using genetic algorithm. IEEE Trans. Evol. Comput. 2005, 9, 74–81. [Google Scholar] [CrossRef]
  30. Niccolai, A.; Grimaccia, F.; Mussetta, M.; Pirinoli, P.; Bui, V.H.; Zich, R.E. Social network optimization for microwave circuits design. Prog. Electromagn. Res. 2015, 58, 51–60. [Google Scholar] [CrossRef]
  31. Ruello, M.; Niccolai, A.; Grimaccia, F.; Mussetta, M.; Zich, R.E. Black-hole PSO and SNO for electromagnetic optimization. In Proceedings of the 2014 IEEE Congress on Evolutionary Computation (CEC), Beijing, China, 6–11 July 2014; pp. 1912–1916. [Google Scholar]
  32. Simon, D. Biogeography-based optimization. IEEE Trans. Evol. Comput. 2008, 12, 702–713. [Google Scholar] [CrossRef]
  33. Storn, R.; Price, K. Differential evolution—A simple and efficient heuristic for global optimization over continuous spaces. J. Glob. Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef]
  34. Goldberg, D.E.; Holland, J.H. Genetic algorithms and machine learning. Mach. Learn. 1988, 3, 95–99. [Google Scholar] [CrossRef]
  35. Kennedy, J. Particle swarm optimization. In Encyclopedia of Machine Learning; Springer: Berlin/Heidelberg, Germany, 2010; pp. 760–766. [Google Scholar]
  36. Khatib, W.; Fleming, P.J. The stud GA: A mini revolution. In Parallel Problem Solving from Nature; Springer: Berlin/Heidelberg, Germany, 1998; pp. 683–691. [Google Scholar]
  37. Li, X.; Engelbrecht, A.; Epitropakis, M.G. Benchmark Functions for CEC’2013 Special Session and Competition on Niching Methods for Multimodal Function Optimization; Tech. Rep.; Evolutionary Computation and Machine Learning Group, RMIT University: Melbourne, Australia, 2013. [Google Scholar]
Figure 1. Representation of the network processing cycle: firstly, the information is sent from the cluster head to the sensors, then it is processed, and finally, the outputs are gathered.
Figure 1. Representation of the network processing cycle: firstly, the information is sent from the cluster head to the sensors, then it is processed, and finally, the outputs are gathered.
Mathematics 07 00315 g001
Figure 2. Scheduling example on a simple network. (a) Simple network with 17 nodes. (b) Scheduling example on one cycle.
Figure 2. Scheduling example on a simple network. (a) Simple network with 17 nodes. (b) Scheduling example on one cycle.
Mathematics 07 00315 g002
Figure 3. Internal structures of social network optimization and their relation to the optimization problem.
Figure 3. Internal structures of social network optimization and their relation to the optimization problem.
Mathematics 07 00315 g003
Figure 4. Flowchart of social network optimization.
Figure 4. Flowchart of social network optimization.
Mathematics 07 00315 g004
Figure 5. Convergence curves of SNO on 100 independent trials for the unconstrained problem.
Figure 5. Convergence curves of SNO on 100 independent trials for the unconstrained problem.
Mathematics 07 00315 g005
Figure 6. Optimal solutions found by SNO in the cycle time–lifetime plane. The green represents the Pareto front.
Figure 6. Optimal solutions found by SNO in the cycle time–lifetime plane. The green represents the Pareto front.
Mathematics 07 00315 g006
Figure 7. Best solution: scheduling and energy level. (a) Scheduling of one elaboration cycle. Red represents the receiving mode, blue the elaboration status, and yellow the transmitting mode. (b) Energy level for each sensor in the first five elaboration cycles.
Figure 7. Best solution: scheduling and energy level. (a) Scheduling of one elaboration cycle. Red represents the receiving mode, blue the elaboration status, and yellow the transmitting mode. (b) Energy level for each sensor in the first five elaboration cycles.
Mathematics 07 00315 g007
Figure 8. Comparison of the algorithms in terms of convergence curves and Pareto fronts. (a) Comparison of convergence curves. (b) Comparison of Pareto fronts.
Figure 8. Comparison of the algorithms in terms of convergence curves and Pareto fronts. (a) Comparison of convergence curves. (b) Comparison of Pareto fronts.
Mathematics 07 00315 g008
Figure 9. Convergence curves of SNO on 100 independent trials.
Figure 9. Convergence curves of SNO on 100 independent trials.
Mathematics 07 00315 g009
Figure 10. Optimal solutions found by SNO in the cycle time–lifetime plane. The green represents the Pareto front.
Figure 10. Optimal solutions found by SNO in the cycle time–lifetime plane. The green represents the Pareto front.
Mathematics 07 00315 g010
Figure 11. Best solution: scheduling and energy level. (a) Scheduling of one elaboration cycle. Red represents the receiving mode, blue the elaboration status, and yellow the transmitting mode. (b) Energy level for each sensor in the first five elaboration cycles.
Figure 11. Best solution: scheduling and energy level. (a) Scheduling of one elaboration cycle. Red represents the receiving mode, blue the elaboration status, and yellow the transmitting mode. (b) Energy level for each sensor in the first five elaboration cycles.
Mathematics 07 00315 g011
Figure 12. Comparison of the algorithms in terms of convergence curves and Pareto fronts. (a) Comparison of convergence curves. (b) Comparison of Pareto fronts.
Figure 12. Comparison of the algorithms in terms of convergence curves and Pareto fronts. (a) Comparison of convergence curves. (b) Comparison of Pareto fronts.
Mathematics 07 00315 g012
Table 1. List of network parameters. KCC, Kilo Clock Cycles.
Table 1. List of network parameters. KCC, Kilo Clock Cycles.
ParameterSymbolValueParameterSymbolValue
Communication speed v T R X 25 MbpsCommunication energy E T R X 5 pJ/b
Stored energy E s 9 kJAmplification energy E a m p 0.01 pJ/b
Elaboration speed v e l [30–100] KCC/sElaboration energy E e l 30 mW
Input bytes for task c i n 500 byteOutput bytes for tasks c o u t 700 bytes
Computational effort for tasks c e l 150 KCC/sTotal number of tasks N t o t 10,000
Table 2. Results of the algorithms.
Table 2. Results of the algorithms.
AlgorithmMean ValueMinimum Valuet-Test
BBO966.41917+
DE938.04887+
GA998.66915+
PSO1120.04982+
SGA911.578440
SNO911.73860
Table 3. Results of the algorithms.
Table 3. Results of the algorithms.
AlgorithmMean ValueMinimum Valuet-Test
BBO996.96929+
DE946.52905+
GA1038.32971+
PSO1178.91023+
SGA924.788670
SNO925.57849

Share and Cite

MDPI and ACS Style

Niccolai, A.; Grimaccia, F.; Mussetta, M.; Zich, R. Optimal Task Allocation in Wireless Sensor Networks by Means of Social Network Optimization. Mathematics 2019, 7, 315. https://doi.org/10.3390/math7040315

AMA Style

Niccolai A, Grimaccia F, Mussetta M, Zich R. Optimal Task Allocation in Wireless Sensor Networks by Means of Social Network Optimization. Mathematics. 2019; 7(4):315. https://doi.org/10.3390/math7040315

Chicago/Turabian Style

Niccolai, Alessandro, Francesco Grimaccia, Marco Mussetta, and Riccardo Zich. 2019. "Optimal Task Allocation in Wireless Sensor Networks by Means of Social Network Optimization" Mathematics 7, no. 4: 315. https://doi.org/10.3390/math7040315

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