- Open Access
Performance evaluation of WMN-GA system for different settings of population size and number of generations
Human-centric Computing and Information Sciences volume 4, Article number: 5 (2014)
Facility location problems are thus showing their usefulness to communication networks, and more especially from WMNs field. WMNs , are currently attracting a lot of attention from wireless research and technology community due to their importance as a means for providing cost-efficient broadband wireless connectivity. WMNs infrastructures are currently used in developing and deploying medical, transport and surveillance applications in urban areas, metropolitan, neighboring communities and municipal area networks . WMNs are based on mesh topology, in which every node (representing a server) is connected to one or more nodes, enabling thus the information transmission in more than one path. The path redundancy is a robust feature of this kind of topology. Compared to other topologies, mesh topology needs not a central node, allowing networks based on such topology to be self-healing. These characteristics of networks with mesh topology make them very reliable and robust networks to potential server node failures. In WMNs mesh routers provide network connectivity services to mesh client nodes. The good performance and operability of WMNs largely depends on placement of mesh routers nodes in the geographical deployment area to achieve network connectivity, stability and user coverage. The objective is to find an optimal and robust topology of the mesh router nodes to support connectivity services to clients.
For most formulations, node placement problems are shown to be computationally hard to solve to optimality –, and therefore heuristic and meta-heuristic approaches are useful approaches to solve the problem for practical purposes. Several heuristic approaches are found in the literature for node placement problems in WMNs –.
Genetic Algorithms (GAs) have been recently investigated as effective resolution methods. Mutation operator is one of the GA ingredients.
In this paper, we present the implemented system: Wireless Mesh Network - Genetic Algorithm (WMN-GA) system and investigate the effect of population size and number of generations in the node placement problem in WMNs considering giant component and number of covered users.
The rest of the paper is organized as follows. In Section ‘Proposed and implemented WMN-GA System’ is shown the proposed and implemented WMN-GA system. The simulation results are given in Section ‘Simulation results’. We end the paper in Section ‘Conclusions’ with conclusions.
Proposed and implemented WMN-GA System
In this section, we present WMN-GA system. Our system can generate instances of the problem using different distributions of client and mesh routers.
The GUI interface of WMN-GA is shown in Figure 1. The left site of the interface shows the GA parameters configuration and on the right side are shown the network configuration parameters.
For the network configuration, we use: distribution, number of clients, number of mesh routers, grid size, radious of transmission distance and the size of subgrid.
For the GA parameter configuration, we use: number of independent runs, GA evolution steps, population size, population intermediate size, crossover probability, mutation probability, initial methods, select method.
Genetic Algorithms (GAs)  have shown their usefulness for the resolution of many computationally combinatorial optimization problems. For the purpose of this work we have used the template given in Algorithm 1.
Algorithm 1 Genetic Algorithm Template
We present next the particularization of GAs for the mesh router nodes placement in WMNs (see  for more details).
The encoding of individuals (also known as chromosome encoding) is fundamental to the implementation of GAs in order to efficiently transmit the genetic information from parents to offsprings.
In the case of the mesh router nodes placement problem, a solution (individual of the population) contains the information on the current location of routers in the grid area as well as information on links to other mesh router nodes and mesh client nodes. This information is kept in data structures, namely, pos_routers pos_routers for positions of mesh router nodes, routers_links routers_links for link information among routers and client_router_link client_router_link for link information among routers and clients (matrices of the same size as the grid area are used). Based on these data structures, the size of the giant component and the number of users covered are computed for the solution.
It should be also noted that routers are assumed to have different radio coverage, therefore to any router could be linked to a number of clients and other routers. Obviously, whenever a router is moved to another cell of the grid area, the information on links to both other routers and clients must be computed again and links are re-established.
In the evolutionary computing literature we can find a variety of selection operators, which are in charge of selecting individuals for the pool mate. The operators considered in this work are those based on Implicit Fitness Re-mapping technique. It should be noted that selection operators are generic ones and do not depend on the encoding of individuals.
Random Selection: This operator chooses the individuals uniformly at random. The problem is that a simple strategy does not consider even the fitness value of individuals and this may lead to a slow convergence of the algorithm.
Best Selection: This operator selects the individuals in the population having higher fitness value. The main drawback of this operator is that by always choosing the best fitted individuals of the population, the GA converges prematurely.
Linear Ranking Selection: This operator follows the strategy of selecting the individuals in the population with a probability directly proportional to its fitness value. This operator clearly benefits the selection of best endowed individuals, which have larger chances of being selected.
Exponential Ranking Selection: This operator is similar to Linear Ranking but the probabilities of ranked individuals are weighted according to an exponential distribution.
Tournament Selection: This operator selects the individuals based on the result of a tournament among individuals. Usually winning solutions are the ones of better fitness value but individuals of worse fitness value could be chosen as well, contributing thus to avoiding premature convergence. Particular cases of this operator are the Binary Tournament and N-Tournament Selection, for different values of N.
The crossover operator selects individuals from the parental generation and interchanging their genes, thus new individuals (descendants) are obtained. The aim is to obtain descendants of better quality that will feed the next generation and enable the search to explore new regions of solution space not explored yet.
There exist many types of crossover operators explored in the evolutionary computing literature. It is very important to stress that crossover operators depend on the chromosome representation. This observation is especially important for the mesh router nodes problem, since in our case, instead of having strings we have a grid of nodes located in a certain positions. The crossover operator should thus take into account the specifics of mesh router nodes encoding. We have considered the following crossover operators, called intersection operators (denoted CrossRegionCrossRegion, hereafter), which take in input two individuals and produce in output two new individuals (see Algorithm 2).
Algorithm 2 Crossover Operator
Mutation operators for mesh routers nodes placement in WMNs
Mutation operator is one of the GA ingredients. Unlike crossover operators, which achieve to transmit genetic information from parents to offsprings, mutation operators usually make some small local perturbation of the individuals, having thus less impact on newly generated individuals.
Crossover is “a must” operator in GA and is usually applied with high probability, while mutation operators when implemented are applied with small probability. The rationale is that a large mutation rate would make the GA search to resemble a random search. Due to this, mutation operator is usually considered as a secondary operator.
In the case of mesh routers node placement, the matrix representation is chosen for the individuals of the population, in order to keep the information on mesh router nodes positions, mesh client positions, links among routers and links among routers and clients. The definition of the mutation operators is therefore specific to matrix-based encoding of the individuals of the population. Several specific mutation operators were considered in this study, which are move-based and swap-based operators.
This is a move-based operator. It selects a mesh router node in the grid area and moves it to another cell of the grid area (see Figure 2).
This is a swap-based operator. In this version, the operator selects two “small” rectangles at random in the grid area, and swaps the mesh routers nodes in them (see Figure 3).
This is a move-based operator. In this case, the operator chooses randomly a router and moves it a small (a priori fixed) number of cells in one of the four directions: up, down, left or right in the grid (see Figure 4). This operator could be used a number of times to achieve the effect of SingleMutate operator.
This is a move-based operator. The operator selects first at random a rectangle and then all routers inside the rectangle are moved with a small (a priori fixed) numbers of cells in one of the four directions: up, down, left or right in the grid (see Figure 5).
We carried out many simulations to evaluate the performance of WMNs using WMN-GA system. In this work, we consider the population size (n). We consider two parameters, m and n and the relation between them is: , and 1 ≤n≤4096. The grid size is considered 32×32. There are many distribution methods, but we take in consideration only the normal distribution. As selection method we used linear ranking and as mutation method we used single mutation. The crossover rate is considered 0.8 and the mutation rate 0.2.
We used box plots to analyze the range of data values. The bottom and top of the box are the 25th and 75th percentile (the lower and upper quartiles, respectively), and the band near the middle of the box is the 50th percentile (the median). The ends of the whiskers represent the minimum and maximum of all the data.
In Figure 6 is shown the size of giant component vs. population size. In this case, the number of mesh routers is considered 16. In Figure 7 is shown the number of covered users vs. population size. The number of clients is considered 48. We can see that with the increase of the population size, the size of giant component and the number of covered users is increased. The maximal number of users covered is 45 and this is reached for population size 32.
In Figure 8 is shown calculation time vs. population size. We measured the calculation time for 48 clients. As can be seen from the graph, the computational time is high and it increases almost exponentially. However, until the population size is 512 the calculation time is very small. For this reason, we made extensive simulations for population sizes: 8 and 512 considering number of generations 200 and 20,000. In Figure 9 are shown the simulation results for population size 8 and number of generations 200. In Figure 9(a) is shown the size of giant component vs. population size. In this case, the number of mesh routers is considered 16. In Figure 9(b) is shown the number of covered users vs. population size. The number of clients is considered 48. In Figure 10, we increased the population size to 512 and the number of generations is 200. In Figure 10(a) is shown the size of giant component vs. population size and in Figure 10(b) is shown the number of covered users vs. population size.
If we compare Figure 9(a) and Figure 10(a), we can see that in both cases all 16 mesh routers are connected with each other. Comparing the results for population sizes: 8 and 512 (Figure 9(b) and Figure 10(b)), we can see that with the increase of the population size, the performance of WMN is increased and the mesh routers can cover more mesh clients.
We made other simulations by changing the number of generations to 20,000. In Figure 11 and Figure 12 are shown the simulation results for the population size 8 and 512, respectively. In both cases, the connectivity between all routers is established (see Figure 11(a) and Figure 12(a)) and the number of covered users is almost the same (see Figure 11(b) and Figure 12(b)).
From the results, we can see that the best results are obtained when the number of generation is 20,000. Thus, for higher number of generations and larger population size, the system has better performance.
In this work, we carried out simulations with WMN-GA system to see effect of changes in population size and number of generations for node placement problem in WMNs.
We considered two population sizes: 8 and 512, and for every population size the number of generations was 200 and 20,000. As evaluation metrics, we used the size of giant component and number of covered users. From the simulations we found out the following results.
• With the increase of the population size, the size of giant component and the number of covered users is increased.
• When the number of clients is 48, the computational time is high and it increases almost exponentially.
• When the number of generation is increased to 20,000, we obtained better results.
• For larger population sizes and higher number of generations the system performance is better. However, the computation time is increased.
• The computational time is highly increased with the increasing of the population size, for the same number of generations.
In the future work, we would like to evaluate the performance of WMN-GA system for different parameters and different distributions of mesh routers and clients.
Akyildiz IF, Wang X, Wang W: Wireless mesh networks: a survey. Comput Network 2005, 47(4):445–487. 10.1016/j.comnet.2004.12.001
Nandiraju N, Nandiraju D, Santhanama L, He B, Wang J, Agrawal D: Wireless mesh networks: current challenges and future direction of web-in-the-sky. IEEE Wireless Comm 2007, 14(4):79–89. 10.1109/MWC.2007.4300987
Chen C-C, Chekuri C Urban wireless mesh network planning: the case of directional antennas. Tech Report No. UIUCDCS-R-2007-2874, Department of Computer Science, University of Illinois at Urbana-Champaign, 2007
Garey MR, Johnson DS: Computers and intractability -a guide to the theory of NP-completeness. Freeman, San Francisco; 1979.
Lim A, Rodrigues B, Wang F, Xua Zh: k -center problems with minimum coverage. Theor Comput Sci 2005, 332(1–3):1–17. 10.1016/j.tcs.2004.08.010
Amaldi E, Capone A, Cesana M, Filippini I, Malucelli F: Optimization models and methods for planning wireless mesh networks. Comput Networks 2008, 52:2159–2171. 10.1016/j.comnet.2008.02.020
Wang J, Xie B, Cai K, Agrawal DP: Efficient Mesh Router Placement in Wireless Mesh Networks. In Mobile adhoc and sensor systems. MASS-2007, Pisa, Italy; 2007:9–11.
Muthaiah SN, Rosenberg C: Single Gateway Placement in Wireless Mesh Networks. In Proc. of 8th International IEEE Symposium on Computer Networks, Turkey. (ISCN), Istanbul, Turkey; 2008:4754–4759.
Zhou P, Manoj BS, Rao R: A gateway placement algorithm in wireless mesh networks. In Proc. of the 3rd International Conference on Wireless Internet (Austin, Texas, October 22–24, 2007). ICST (Institute for Computer Sciences Social-Informatics and Telecommunications Engineering), Brussels; 2007:1–9.
Tang M: Gateways placement in backbone wireless mesh networks. Int J Comm Netw Syst Sci 2009, 2(1):45–50.
Franklin AA, Siva C, Murthy R: Node placement algorithm for deployment of two-tier wireless mesh networks. In Proc. of IEEE Global Communications Conference GLOBECOMM (2007). ,Washington DC, USA; 2007:4823–4827.
Vanhatupa T, Hännikäinen M, Hämäläinen TD: Genetic algorithm to optimize node placement and configuration for WLAN planning. In Proc. of 4th International Symposium on Wireless Communication Systems. 2007:612–616.
Holland J: Adaptation in natural and artificial systems. University of Michigan Press, Ann Arbor; 1975.
Xhafa F, Sanchez C, Barolli L: Genetic algorithms for efficient placement of router nodes in wireless mesh networks. In Proc. of IEEE International Conference on Advanced Information Networking and Applications. Perth, Australia; 2010:465–472.
This work is supported by a Grant-in-Aid for Scientific Research from Japanese Society for the Promotion of Science (JSPS). The authors would like to thank JSPS for the financial support.
The authors declare that they have no competing interests.
AB, SS and TO perticipated in: the design and implementation of WNN-GA system; analysis and interpretation of data and in the draft of the manuscript. ES, LB and FX pericipated in: the conceptation and design of the system; the discussion and evaluation of the proposed system and in giving the final approval of the version to be published. All authors read and approved the final manuscript.
About this article
Cite this article
Barolli, A., Sakamoto, S., Oda, T. et al. Performance evaluation of WMN-GA system for different settings of population size and number of generations. Hum. Cent. Comput. Inf. Sci. 4, 5 (2014). https://doi.org/10.1186/s13673-014-0005-y
- Wireless mesh networks
- Genetic algorithms
- Population size
- Size of giant component
- Number of covered users