- Research
- Open Access

# Performance evaluation of WMN-GA system for different settings of population size and number of generations

- Admir Barolli
^{1}, - Shinji Sakamoto
^{2, 3, 4, 5, 6}, - Tetsuya Oda
^{2, 3, 4, 5, 6}, - Evjola Spaho
^{2, 3, 4, 5, 6}Email author, - Leonard Barolli
^{2, 3, 4, 5, 6}and - Fatos Xhafa
^{2, 3, 4, 5, 6}

**4**:5

https://doi.org/10.1186/s13673-014-0005-y

© Barolli et al.; licensee Springer. 2014

**Received:**31 January 2014**Accepted:**17 March 2014**Published:**18 June 2014

## Abstract

Wireless Mesh Networks (WMNs) distinguish for their low cost nature that makes them very attractive for providing wireless Internet connectivity. Such infrastructures can be used to deploy community networks, metropolitan area networks, municipal and corporative networks, and to support applications for urban areas, medical, transport and surveillance systems. The main issues in WMNs are achievement of network connectivity and stability as well as QoS in terms of user coverage. In this paper, we deal with the effect of changes in population size and number of generations for node placement problem in WMNs for Normal distribution of mesh clients. We consider two population sizes 8 and 512 and for every population size the number of generations are 200 and 20,000. As evaluation metrics we used size of giant component and number of covered users. The simulation results have shown that the increase of the population size results in better performance. Best results are obtained for the number of generation 20,000. However, when the number of generation is increased, the computation time is also increased.

## Keywords

- Wireless mesh networks
- Genetic algorithms
- Population size
- Size of giant component
- Number of covered users

## Introduction

Wireless Mesh Networks (WMNs) are applicable in deployment of medical, transport and surveillance applications in urban areas, metropolitan, neighboring communities and municipal area networks. At the heart of WMNs are the issues of achieving network connectivity and stability as well as QoS in terms of user coverage. These issues are very closely related to the family of node placement problems in WMNs, such as mesh router nodes placement. Node placement problems have been long investigated in the optimization field due to numerous applications in location science (facility location, logistics, services, etc.) and classification (clustering). In such problems, we are given a number of potential facilities to serve costumers that are connected to facilities aiming to find locations such that the cost of serving all customers is minimized. In traditional versions of the problem, facilities could be hospitals, polling centers, fire stations serving to a number of clients and aiming to minimize some distance function in a metric space between clients and such facilities.

Facility location problems are thus showing their usefulness to communication networks, and more especially from WMNs field. WMNs [1],[2] 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 [3]. 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 [4]–[7], 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 [8]–[12].

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.

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

Genetic Algorithms (GAs) [13] 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 [14] for more details).

### Encoding

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.

### Selection operators

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*.

### Crossover operators

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.

#### SingleMutate

#### RectangleMutate

#### SmallMutate

*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.

#### SmallRectangleMutate

*a priori*fixed) numbers of cells in one of the four directions: up, down, left or right in the grid (see Figure 5).

## Simulation results

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: $\text{n}\phantom{\rule{1em}{0ex}}\triangleq {2}^{m}$, $\text{m}\phantom{\rule{1em}{0ex}}\triangleq \{\text{m}\phantom{\rule{1em}{0ex}}\in \phantom{\rule{1em}{0ex}}\text{Z}\phantom{\rule{1em}{0ex}}\mid 0\le \phantom{\rule{1em}{0ex}}\text{m}\phantom{\rule{1em}{0ex}}\le 12\}$ 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.

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.

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.

## Conclusions

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.

## Declarations

### Acknowledgements

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.

## Authors’ Affiliations

## References

- Akyildiz IF, Wang X, Wang W: Wireless mesh networks: a survey.
*Comput Network*2005, 47(4):445–487. 10.1016/j.comnet.2004.12.001MATHView ArticleGoogle Scholar - 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.4300987View ArticleGoogle Scholar - 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, 2007Google Scholar
- Garey MR, Johnson DS:
*Computers and intractability -a guide to the theory of NP-completeness*. Freeman, San Francisco; 1979.MATHGoogle Scholar - 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.010MATHView ArticleGoogle Scholar - 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.020MATHView ArticleGoogle Scholar - 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.Google Scholar - 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.Google Scholar - 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.Google Scholar - Tang M: Gateways placement in backbone wireless mesh networks.
*Int J Comm Netw Syst Sci*2009, 2(1):45–50.Google Scholar - 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.Google Scholar - 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.Google Scholar - Holland J:
*Adaptation in natural and artificial systems*. University of Michigan Press, Ann Arbor; 1975.Google Scholar - 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.Google Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.