<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">WSN</journal-id><journal-title-group><journal-title>Wireless Sensor Network</journal-title></journal-title-group><issn pub-type="epub">1945-3078</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/wsn.2015.712014</article-id><article-id pub-id-type="publisher-id">WSN-61941</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Enhancing Performance of Multi-Rate WLANs: Ant Colony Approach
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>iang</surname><given-names>Ma</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Abdullah</surname><given-names>Al-Dhelaan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Mznah</surname><given-names>Al-Rodhaan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Computer Science, College of Computer &amp;amp; Information Sciences, King Saud University, Riyadh, Saudi Arabia</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>qiang.ma@student.ksu.edu.sa(IM)</email>;<email>dhelaan@ksu.edu.sa(AA)</email>;<email>rodhaan@ksu.edu.sa(MA)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>07</day><month>12</month><year>2015</year></pub-date><volume>07</volume><issue>12</issue><fpage>157</fpage><lpage>170</lpage><history><date date-type="received"><day>15</day>	<month>November</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>13</month>	<year>December</year>	</date><date date-type="accepted"><day>16</day>	<month>December</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The trade-off between users’ fairness and network throughput may be unacceptable in a multi-rate 802.11 WLAN environment. In this paper, we will design a new intuitive simplified mathematical model called simplified coefficient of variation (SCV) to closely reflect our topic. Through controlling the power of Access Points, SCV can optimize and improve the performance. Since our topic is a NP-hard problem, we use Ant Colony Algorithm to solve our model in a practical scenario. The simulation shows excellent results indicating that our model is efficient and superior to an existing method. Also we use software SAS to further reveal the relationships among the three indicators to illustrate the essence of our approach and an existing algorithm.
 
</p></abstract><kwd-group><kwd>Power Control</kwd><kwd> Proportional Fairness</kwd><kwd> Ant Colony</kwd><kwd> Optimization</kwd><kwd> Coefficient of Variation</kwd><kwd> Heuristic Function</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The rapid development of the Internet and the progress of wireless technology are making wireless networks play an increasingly important role in many areas. This is particularly true for the IEEE 802.11 wireless local area network (WLAN) technology. With its development, the increasing demands of service quality and a sharp rise in the number of user groups, the fairness and congestion etc. problems have become heavily concentrated in some places like offices, meeting rooms and other crowded places. In this case, many access points may be allocated, but without an overall channel or power planning, this will result in a large amount of co-channel interference, load imbalance, and network throughput decline, which will degrade the user experience.</p><p>Currently, many valuable solutions have been developed to solve above problems of WLAN, and are mainly focused on the following two aspects:</p><p>(a) Wireless channel planning. Through different methods, the limited channel resources will be reasonably assigned to all access points (APs) to make it possible to reduce co-channel interference and network overhead in order to improve overall network throughput.</p><p>(b) Power control to achieve load balancing. Through increasing or decreasing the AP’s power to adjust the signal strength of the AP, thus it changes the access topology of the user-AP in the network in order to reduce the scheduling overhead, and improve load balance, fairness etc.</p><p>This paper involves both aspects above. The rest of the paper is organized as follows: related work is discussed in Section 2, and Section 3 shows our motivation. After that, a brief introduction of ant colony algorithm as background will be provided in Section 4. Then we start to explain the new model SCV and implement it using ant colony algorithm, the simulation modeling using Matlab is explained in Section 5. After this, we give comparison and SAS analysis in Section 6 and then draw the conclusions in Section 7.</p></sec><sec id="s2"><title>2. Related Work</title><p>According to IEEE 802.11, a high-density WLAN deployment environment offers a short distance between APs and users since each user will be surrounded by many APs. In this case, each user will connect with the AP by the strongest received signal strength indicator (RSSI) by default. We know that the users are not uniformly distributed in an area, which makes some APs connect more users than the other APs. This will produce the load imbalance problem, as some APs are hungry while some APs are overloaded. This situation results in unfair use of resources.</p><p>As a part of our research, the basic solution has been introduced in [<xref ref-type="bibr" rid="scirp.61941-ref1">1</xref>] .</p><p>To solve interference problem, the author in [<xref ref-type="bibr" rid="scirp.61941-ref2">2</xref>] proposed an adaptive neuro fuzzy distributed power control algorithm to maximize the minimum Carrier to Interference Ratio (CIR) among all of co-channel users in each channel of system. The simulation results showed better performance comparing with a classical method in terms of convergence.</p><p>To solve congestion problem, the authors in [<xref ref-type="bibr" rid="scirp.61941-ref3">3</xref>] proposed an adaptive load balance allocation strategy for small antenna based wireless networks that can enhance the traffic-carrying capacity for variations in traffic. Their simulation results were confirmed to be efficiency.</p><p>In order to improve the throughput, the authors in [<xref ref-type="bibr" rid="scirp.61941-ref4">4</xref>] introduced three strategies which were Dirty Paper Coding (DPC) strategy, Noise strategy, and Opportunistic Interference Cancellation (OIC) strategy. Also they proposed corresponding optimal power control algorithms for each strategy. The simulation results showed their aims were achieved.</p><p>The popular 802.11 MAC protocol provides equal transmission chances to all users, which may achieve throughput-based fairness if all users have the same frame size during a cycle [<xref ref-type="bibr" rid="scirp.61941-ref5">5</xref>] - [<xref ref-type="bibr" rid="scirp.61941-ref8">8</xref>] . Recent studies have shown that time-based fairness is much better than throughput-based fairness in multi-rate WLANs [<xref ref-type="bibr" rid="scirp.61941-ref9">9</xref>] .</p><p>So far, we have two fairness criteria factors that are widely used in network management: proportional fairness [<xref ref-type="bibr" rid="scirp.61941-ref7">7</xref>] which allocates bandwidth to users in proportion to their bit rates to maximize the sum of the bandwidth utilities of the users, and max-min fairness [<xref ref-type="bibr" rid="scirp.61941-ref10">10</xref>] which allocates throughput as equally as possible through maximizing the minimum throughput. Proportional fairness and time-based fairness are equivalent in multi-rate WLANs when all users have the same weight [<xref ref-type="bibr" rid="scirp.61941-ref11">11</xref>] . The equivalence of max-min fairness and throughput-based fairness under the same condition (integral association) was proved in [<xref ref-type="bibr" rid="scirp.61941-ref12">12</xref>] .</p><p>The authors in [<xref ref-type="bibr" rid="scirp.61941-ref13">13</xref>] proposed a new algorithm called Power Control for AP (PCAP) to optimize the network utility by maximizing the average of the AP utility and minimizing the variance of the AP utility, the result directly maximized the “throughput” as its target, and then they started to calculate the users’ fairness indicator― “J” (Jain’s fairness index [<xref ref-type="bibr" rid="scirp.61941-ref14">14</xref>] ) as their byproduct. Though the result showed significant improving, the “J” is unreasonable to be a dependent variable. We will analyze the relationship between these two variables.</p><p>According to IEEE802.11, AP’s transmission power can be changed in an allowable range, this technique is called power control. Some previous studies, such as [<xref ref-type="bibr" rid="scirp.61941-ref15">15</xref>] [<xref ref-type="bibr" rid="scirp.61941-ref16">16</xref>] , have assumed that the user-AP associated topology will not change when adjusting the power of APs, this assumption is not the reality. On the contrary, some papers have noticed this phenomenon and developed techniques called cell breathing [<xref ref-type="bibr" rid="scirp.61941-ref17">17</xref>] .</p><p>To enhance load-balancing and network throughput, a variable polyhedron genetic algorithm (GA) is proposed in [<xref ref-type="bibr" rid="scirp.61941-ref18">18</xref>] . Which not only provides an AP service availability guarantee but also yields a near-optimal beacon range for each AP when the number of evolutions is large enough. Their simulation study indicates that the algorithm is superior over the default 802.11 AP association model.</p><p>Also the problem researches like oblem. Similarly, in order to solve such trade off problem, there are many researches, such as [<xref ref-type="bibr" rid="scirp.61941-ref19">19</xref>] , the authors proposed an algorithm that transformed the trade off problem into a monotonic optimization problem. Also the problem was solved with geometric programming in [<xref ref-type="bibr" rid="scirp.61941-ref20">20</xref>] , but it is not suitable for the low Signal to Interference Ratio (SIR) case. While in [<xref ref-type="bibr" rid="scirp.61941-ref21">21</xref>] , the authors proposed a centralized algorithm called Non-Linear Approximation Optimization for Proportional Fairness to derive the user-AP association via relaxation, and also gave a distributed heuristic algorithm called Best Performance First which provides an AP selection criterion for new comers.</p><p>Regarding the tradeoff problem, also some other valuable solutions are given. Like [<xref ref-type="bibr" rid="scirp.61941-ref22">22</xref>] , the authors derived the stability region of a multiuser multichannel WLAN system and determined the throughput optimal channel switching scheme within a certain class of schemes. In [<xref ref-type="bibr" rid="scirp.61941-ref23">23</xref>] , the authors proposed an extension of the AP aggregation algorithm to ensure the minimum average throughput for each host in the field.</p><p>In [<xref ref-type="bibr" rid="scirp.61941-ref24">24</xref>] , the authors proposed a novel AP association approach LBAA, taking AP’s load-balancing, Wireless Mesh Networks’ (WMNs’) multi-hop characteristic, and user’s RSSI into consideration to solve network congestion and performance degradation problem in Wireless Mesh Networks (WMNs).</p><p>In [<xref ref-type="bibr" rid="scirp.61941-ref25">25</xref>] , to solve the fairness problem in Wireless Mesh Networks (WMNs), the authors proposed a probabilistic approach to provide proportional fairness without solving global non-linear and non-concave optimization. Their simulation result showed that the proposed scheme works better than the standard IEEE 802.11 based EDCA MAC in terms of fairness and throughput.</p><p>In summary, there are many valuable research papers related to the above trade off problem. Up to date, none of those researches in term of the tradeoff between fairness and throughput could offer a rational, clearly designed mathematical model which can be easily and widely implemented using the well known AI algorithms. Thus our research aims to fill such gap; we will design a reasonable mathematical model, which is SCV. It should have a simple form, easy to be understood. The model itself should be highly effective and efficient to match our topic, and should be a bridge to link our topic with AI algorithms. So we choose one of representative AI algorithms―Ant Colony, and design its detail to implement the SCV model. At the end, we will compare its performance with an existing algorithm-PCAP in [<xref ref-type="bibr" rid="scirp.61941-ref13">13</xref>] , also through SAS analysis, we will reveal the essence of our approach which has not been discussed at such micro level in the previous research.</p><p>In this paper, the contributions are listed as follows: 1) we describe the “trade-off” using “J of user” and “J of AP”, which refer to the fairness of users and fairness of APs respectively. Then we design our target function using many skills to deal with those complex formulas, after that we get our simplified coefficient of variation (SCV) model, which is a clear mathematical function to solve such trade-off problem. This is the core contribution of our paper; 2) we define the problem as an informed search NP-hard problem and apply Ant Colony algorithm to solve the SCV model; 3) we use multi-channel allocation to improve the transmission rate; 4) we use Statistical Analysis System (SAS) for analysis to reveal the relationships of three indicators and the essence of algorithms; 5) SCV opens a door for many AI algorithms; it is a bridge between Network &amp; AI.</p></sec><sec id="s3"><title>3. Motivation</title><sec id="s3_1"><title>3.1. The Essence of PCAP: throughput</title><p>From our SAS analysis in <xref ref-type="fig" rid="fig3">Figure 3</xref>, three indicators (Juser: J of user; Jap: J of AP; Tpt: relative throughput) show that J of AP can represent throughput (value &gt; 0.8, so it is highly linear related).</p><p>Through our statistics calculation, PCAP focus on J of AP only, which means it only focus on throughput. This is a deficiency of Target Function design, which is not well reflecting our topic.</p></sec><sec id="s3_2"><title>3.2. The Essence of SCV</title><p>The problem is defined as a NP-hard problem since we apply a practical scenario that includes 20 APs, each AP has 10 levels of power, so the state space of the problem will be 10<sup>20</sup>, making it neither solvable nor verifiable in polynomial time, so it is NP-hard.</p><p>From the computation theory, we know that we cannot get an accurate solution. Comparing with other NP- hard problems such as TSP (Traveling Salesman Problem), we get some heuristic methods. Since existing models either using complex definition such as utility or involving many parameters such as channel gain, those models are not clear enough to apply informed search techniques, so first we need to build a clear, simplified model SCV, and then apply the Ant Colony algorithm to solve the model.</p><p>Since our topic is: “J of user (fairness of users) &amp; throughput”, which means to make balance between these two parameters. Obviously the two parameters have different units, then we have to convert the “throughput” to “J of AP” (already explained, it can represent throughput, with high linear relation).</p><p>Then our SCV gives a new designed target function:</p><disp-formula id="scirp.61941-formula273"><graphic  xlink:href="http://html.scirp.org/file/2-9501443x6.png"  xlink:type="simple"/></disp-formula><p>which reflects the balance of two parameters (J of user &amp; throughput), and we will rewrite to get its final form f.</p></sec></sec><sec id="s4"><title>4. Ant Colony Algorithm</title><p>This part is clearly explained in [<xref ref-type="bibr" rid="scirp.61941-ref26">26</xref>] . The Ant Colony algorithm is a method from the field of Swarm Intelligence. Ant Colony Algorithm, Elite Ant System, and Rank-based Ant System compose the Ant Colony Optimization methods.</p><p>The Ant Colony algorithm is inspired by the foraging behavior of ants, specifically the pheromone communication among ants regarding a short path between the living place and a food source.</p><p>Ants initially wander randomly around their environment. Once the food is located, the ants that pass by the food will begin laying down pheromone in the environment. Numerous trips between the food and the living place are performed, and if the same path is followed that leads to food then additional pheromone is laid down. And also at the same time, the pheromone decays in the environment, so that older paths are less likely to be followed. Other ants may discover the same path that has strongest pheromone and also lay down pheromone when they are passing by. The positive feedback process makes more ants produce paths that are further refined through use.</p><p>The goal of this strategy is to exploit heuristic information to construct candidate solutions and hold the information as the history. Paths are constructed in a probabilistic step-wise manner. The probability of selecting a path is determined by both heuristic contribution and historical contribution. History is updated proportional to the quality of candidate paths and is uniformly decreased ensuring the most recent and useful information is retained. We will use 2 important formulas:</p><p>(a) After each ant conducts its tour of the trail, the pheromone is updated using the following formula:</p><disp-formula id="scirp.61941-formula274"><graphic  xlink:href="http://html.scirp.org/file/2-9501443x7.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula275"><graphic  xlink:href="http://html.scirp.org/file/2-9501443x8.png"  xlink:type="simple"/></disp-formula><p>Q is a constant and L<sub>k</sub> is the tour’s length of the k<sup>th </sup>ant.</p><p>(b)Transition probability:</p><disp-formula id="scirp.61941-formula276"><graphic  xlink:href="http://html.scirp.org/file/2-9501443x9.png"  xlink:type="simple"/></disp-formula><p>where α and β are controlling parameters that control the relative importance of trail versus visibility.</p></sec><sec id="s5"><title>5. Model Design and Simulation</title><p>Now we are going to explain our SCV model and implement it in Ant Colony Algorithm.</p><sec id="s5_1"><title>5.1. The Way APs Attract Users</title><p>The user will select the strongest Received Signal Strength Indicator (RSSI) as default. In the model [<xref ref-type="bibr" rid="scirp.61941-ref27">27</xref>] , <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x10.png" xlink:type="simple"/></inline-formula>where “a” is a constant factor, “P” is received power by user, “X” is distance between user and selected AP, while “<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x11.png" xlink:type="simple"/></inline-formula>” has different value in different scenarios, generally between 1.6 and 6.5 [<xref ref-type="bibr" rid="scirp.61941-ref28">28</xref>] . The formula only determines the association matrix of user-AP. In practice, the general power range of the AP is 10 dBm - 30 dBm, i.e. 1 mw ~1 w, here we adopt <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x12.png" xlink:type="simple"/></inline-formula> for indoor case. From the formula, the value of “a” does not affect the association results, to simplify the mathematical form, we take<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x13.png" xlink:type="simple"/></inline-formula>, so our model adopts a simplified form:</p><disp-formula id="scirp.61941-formula277"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x14.png"  xlink:type="simple"/></disp-formula></sec><sec id="s5_2"><title>5.2. Study the SINR [r<sub>ij</sub>] of the User [i]</title><p>We use r<sub>ij</sub> to denote SINR (Signal to Interference plus Noise Ratio). Assuming the user [i] connects to AP[j], the power of AP[j] is P<sub>j</sub>. Wherein “g” are channel gains, A<sub>i</sub> is a set of all APs within the same channel of AP[j]. N<sub>0j</sub> is an additive white Gaussian noise generated by AP[j].</p><disp-formula id="scirp.61941-formula278"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x15.png"  xlink:type="simple"/></disp-formula><p>It is worth noting that N<sub>0j</sub> can be adjusted to an exact value [<xref ref-type="bibr" rid="scirp.61941-ref29">29</xref>] [<xref ref-type="bibr" rid="scirp.61941-ref30">30</xref>] . So we can set a constant<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x16.png" xlink:type="simple"/></inline-formula>,</p><disp-formula id="scirp.61941-formula279"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x17.png"  xlink:type="simple"/></disp-formula></sec><sec id="s5_3"><title>5.3. Study the Relationship between User [i]’s Transmission Rate v<sub>i</sub> and Its SINR [r<sub>ij</sub>]</title><p>From <xref ref-type="table" rid="table1">Table 1</xref> in [<xref ref-type="bibr" rid="scirp.61941-ref13">13</xref>] , v<sub>i</sub> denotes user’s transmission rate and r<sub>ij</sub> is SINR. We see the monotonically increasing relationship between the two variables. Here we might assume that two variables meet the linear relationship as an approximation, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x18.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x19.png" xlink:type="simple"/></inline-formula>is a constant of proportionality. Then connect this to (2) and (3) we have:</p><disp-formula id="scirp.61941-formula280"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x20.png"  xlink:type="simple"/></disp-formula><p>So λ is a constant:</p><disp-formula id="scirp.61941-formula281"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x21.png"  xlink:type="simple"/></disp-formula></sec><sec id="s5_4"><title>5.4. Study the Effective Speed V̅<sub>i</sub></title><p>Let N[j] denote the total number of users which connect with AP[j]. P<sub>j</sub> is AP[j]’s power. Because the users are time based sharing the chance of AP[j], so we use <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x22.png" xlink:type="simple"/></inline-formula> to denote the effective speed of v<sub>i</sub>:</p><disp-formula id="scirp.61941-formula282"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x23.png"  xlink:type="simple"/></disp-formula></sec><sec id="s5_5"><title>5.5. Study the AP’s Power</title><p>According to the simulation result in [<xref ref-type="bibr" rid="scirp.61941-ref13">13</xref>] , we know that usually 10 Levels of AP power will be enough to achieve a good result. Therefore, in our model, p<sub>max</sub> and p<sub>min</sub> have relationship as following: p<sub>max</sub>/p<sub>min</sub>=10, p<sub>max</sub> will be the basis of calculation, since we need to increase the p<sub>j</sub>, so the 10 APs’ power value is in <xref ref-type="table" rid="table2">Table 2</xref>.</p><p>Note here the unit of power is “mw”, not “dBm”. Since <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x24.png" xlink:type="simple"/></inline-formula> (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x25.png" xlink:type="simple"/></inline-formula>), here l<sub>j</sub> denotes the level of AP’s power, so the Formula (6) can be rewritten as follows:</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> v<sub>i</sub> - r<sub>ij</sub> relationship</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >r<sub>ij</sub> (dB)</th><th align="center" valign="middle" >6 - 7.8</th><th align="center" valign="middle" >7.8 - 9</th><th align="center" valign="middle" >9 - 10.8</th><th align="center" valign="middle" >10.8 - 17</th><th align="center" valign="middle" >17 - 18.8</th><th align="center" valign="middle" >18.8 - 24</th><th align="center" valign="middle" >24 - 24.6</th><th align="center" valign="middle" >24.6-</th></tr></thead><tr><td align="center" valign="middle" >V<sub>i</sub> (Mbps)</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >18</td><td align="center" valign="middle" >24</td><td align="center" valign="middle" >36</td><td align="center" valign="middle" >48</td><td align="center" valign="middle" >54</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Level-value relationship</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Level</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >…</th><th align="center" valign="middle" >10</th></tr></thead><tr><td align="center" valign="middle" >Value</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x26.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x27.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >…</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x28.png" xlink:type="simple"/></inline-formula></td></tr></tbody></table></table-wrap><disp-formula id="scirp.61941-formula283"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x29.png"  xlink:type="simple"/></disp-formula><p>Let M be the total number of users and N be the total number of APs. From statistics we know that the Expectation of V̅<sub>i</sub> for all users is denoted as E(V̅<sub>i</sub>), and Variance of V̅<sub>i</sub> for all users is denoted as S<sup>2</sup>(V̅<sub>i</sub>). We have the following (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x30.png" xlink:type="simple"/></inline-formula>;<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x31.png" xlink:type="simple"/></inline-formula>):</p><disp-formula id="scirp.61941-formula284"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x32.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula285"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x33.png"  xlink:type="simple"/></disp-formula><p>Let b[i] denote the effective transmission speed from user[i] to AP[j], we have b[i] = V̅<sub>i</sub>. Moreover, let U[j] denote the transmission speed from the AP[j] to backbone. The Expectation of b[i] is denoted as:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x34.png" xlink:type="simple"/></inline-formula>, and Variance of b[i] is denoted as:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x35.png" xlink:type="simple"/></inline-formula>, the Expectation of U[j] is denoted as:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x36.png" xlink:type="simple"/></inline-formula>, and Variance of U[j] is denoted as:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x37.png" xlink:type="simple"/></inline-formula>, so continue we have formulas as following:</p><disp-formula id="scirp.61941-formula286"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x38.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula287"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x39.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula288"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x40.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula289"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x41.png"  xlink:type="simple"/></disp-formula><p>Here cvusers denotes the coefficient of variation of transmission speed of all users, and cvAPs denotes the coefficient of variation of transmission speed of all APs, we have:</p><disp-formula id="scirp.61941-formula290"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x42.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula291"><label>(15)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x43.png"  xlink:type="simple"/></disp-formula><p>Note, here we adopt the definition of J in [<xref ref-type="bibr" rid="scirp.61941-ref13">13</xref>] , where we have<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x44.png" xlink:type="simple"/></inline-formula>, above is the relationship between J and the square of coefficient of variation.</p></sec><sec id="s5_6"><title>5.6. Cost Function Construction</title><p>According to our topic, we need a function that can describe the tradeoff between fairness of users and throughput of network. In [<xref ref-type="bibr" rid="scirp.61941-ref13">13</xref>] , the algorithm is divided into two steps: increase average value and decrease variance value of AP utility to increase throughput of network. They are equal to decreasing <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x45.png" xlink:type="simple"/></inline-formula> or<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x46.png" xlink:type="simple"/></inline-formula>. So increasing J of users is equal to decreasing<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x47.png" xlink:type="simple"/></inline-formula>.</p><p>Let F denote a target function as follows:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x48.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x49.png" xlink:type="simple"/></inline-formula>is a weight proportion factor, it is very important reflecting our requirement that how to make the balance between fairness and throughput, it is a quantifiable indicator</p><p>Here we do some mathematical derivation to illustrate how we get a reasonable value of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x50.png" xlink:type="simple"/></inline-formula>. Considering the static grouping problem: m numbers are average divided by n groups, therefore each group has m/n numbers. Given that the expectation of total numbers is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x51.png" xlink:type="simple"/></inline-formula>, and their variance is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x50.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x52.png" xlink:type="simple"/></inline-formula>. Cvnumbers denotes the coefficient of variation of m numbers. Cvgroups denotes the coefficient of variation of n groups. Defined as before, we have:</p><disp-formula id="scirp.61941-formula292"><graphic  xlink:href="http://html.scirp.org/file/2-9501443x53.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula293"><graphic  xlink:href="http://html.scirp.org/file/2-9501443x54.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula294"><graphic  xlink:href="http://html.scirp.org/file/2-9501443x55.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula295"><label>(16)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x56.png"  xlink:type="simple"/></disp-formula><p>From the above, it means <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x57.png" xlink:type="simple"/></inline-formula> is much smaller than<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x58.png" xlink:type="simple"/></inline-formula>, comparing this example to our function “F”, in function “F” we should amplify the small part since two parts have relationship. So we decide to give value to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x59.png" xlink:type="simple"/></inline-formula>, let<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x59.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x60.png" xlink:type="simple"/></inline-formula>.</p><disp-formula id="scirp.61941-formula296"><label>(17)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x61.png"  xlink:type="simple"/></disp-formula><p>where in</p><disp-formula id="scirp.61941-formula297"><label>(18)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x62.png"  xlink:type="simple"/></disp-formula><p>Note that M and N are constants as defined before. M is total number of users, N is total number of APs. When “F” goes to minimum, it is equal to “<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x63.png" xlink:type="simple"/></inline-formula>” goes to minimum. So (18) will be our simplified target function to achieve the purpose of the tradeoff between Fairness (users) and throughput (network).</p></sec><sec id="s5_7"><title>5.7. Throughput</title><p>From Formula (12) we know that:</p><disp-formula id="scirp.61941-formula298"><label>(19)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x64.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula299"><label>(20)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x65.png"  xlink:type="simple"/></disp-formula><p>throughput<sub>real</sub> is real throughput, and throughput<sub>relative</sub> is relative throughput. Since the λp<sub>min</sub> is constant, we use throughput<sub>relative</sub> to represent throughput<sub>real</sub>.</p></sec><sec id="s5_8"><title>5.8. Ant Colony Design &amp; Simulation</title><p>In this part we are going to place a total number of N = 20 APs on a 4 by 5 grid, with each AP on a grid point. The coverage area of each AP can stretch across the whole area. The distance between two adjacent APs is set to 100 meters. The maximum transmission power of each AP is set to 20 dBm (100 mw), so the minimum transmission power of each AP is set to 100/10 = 10 mw = 10 dBm.</p><p>We arrange M = 200 users randomly distributed in the whole area. According to [<xref ref-type="bibr" rid="scirp.61941-ref31">31</xref>] , a separation of four channels can be used without reducing the performance, so the possibilities could be opened to channels 1, 5, 9 and 13. In this paper we decide to use these channels in order to get a bigger<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x66.png" xlink:type="simple"/></inline-formula>.</p><p>Let AP<sub>j</sub> → Ci denote AP<sub>j</sub> using channel i, we use 1, 5, 9, 13 these channels to configure the network as in <xref ref-type="table" rid="table3">Table 3</xref>.</p></sec><sec id="s5_9"><title>5.9. Ant Colony Algorithm Design</title><p>(a) To initialize 200 users’ and 20 APs’ coordinates. NC_max is the maximum number of iterations, m is the number of ants, Alpha is a parameter to characterize the importance of pheromone, Beta is a parameter to characterize the importance of heuristic information, and Rho is a pheromone evaporation coefficient. Also we need to initialize pheromone matrix Tau: Tau = ones (10, 10, 19). We calculate the average distance for each AP to all users then to construct a row vector called xaverage (1 &#215; 20): xaverage = sum (Distance)/200.</p><p>(b) Heuristic Matrix Eta Design: <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x67.png" xlink:type="simple"/></inline-formula>is the average distance from AP to all the users, then in order to obtain an attractive balance, based on our attractive model in Formula (1), the ratio of two power levels is equal to the</p><p>ratio of the two<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x68.png" xlink:type="simple"/></inline-formula>, so that both APs may have the similar chance to attract users. Heuristic matrix is Eta (10</p><p>&#215; 10 &#215; 19), from the 1st AP to 20th AP, which has total of 19 pages, and each page is a matrix (10 level &#215; 10 level) describing the heuristic information from all power levels of current AP to all power levels of the next AP, and we set the value of these heuristic transition points as “1”. We introduce a new mechanism: we give such heuristic matrix a quantitative parameter defined as “similar”, namely the degree of similarity between non-heuristic points and the heuristic points, and we set the value of non-heuristic points in the heuristic matrix as “similar&#215;1”. Then we finish the design of heuristic matrix Eta.</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> AP-channel relationship</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x69.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x70.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x71.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x72.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x73.png" xlink:type="simple"/></inline-formula></th></tr></thead><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x74.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x75.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x76.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x77.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x78.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x79.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x80.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x81.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x82.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x83.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x84.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x85.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x86.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x87.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x88.png" xlink:type="simple"/></inline-formula></td></tr></tbody></table></table-wrap><p>(c) We set totally 10 ants at<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x89.png" xlink:type="simple"/></inline-formula>, and each ant is in a grid. Here the grid denotes one power level, so there are 10 grids (10 power levels). Initially, all the ants are in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x90.png" xlink:type="simple"/></inline-formula> (city1), then 10 ants will move to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x91.png" xlink:type="simple"/></inline-formula> (city2) together but choose the different grid (power level) according to the probability function: P = (Tau.^Alpha). * (Eta.^Beta), then repeat the procedure until moving to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x92.png" xlink:type="simple"/></inline-formula> (city20) to complete their travel. Then we start to calculate the cost function of 10 paths (a path is defined as the route from <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x93.png" xlink:type="simple"/></inline-formula> to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x89.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x90.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x91.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x92.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x93.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x94.png" xlink:type="simple"/></inline-formula>, and the value of each AP is a power level) and select the minimum cost, then record such path. After this, finally we will update the pheromone which includes decreasing all of the paths’ pheromone according to parameter Rho and increasing all of the paths’ pheromone traveled by ants.</p><p>(d) Repeat step(c) until reaching the NC_max (a constant), and output all cycles’ results.</p></sec></sec><sec id="s6"><title>6. Result Analysis</title><p>In this part, some definitions are as following. m is the number of ants, Alpha is a parameter to characterize the importance of pheromone, Beta is a parameter to characterize the importance of heuristic information, and Rho is a pheromone evaporation coefficient. NC_max is a constant that describes the number of iterations. Q and “similar” are constants according to the algorithm.</p><p>Let m = 10; Alpha = 1; Beta = 2; Rho = 0.1; NC_max = 200; Q = 100; similar = 0.9.</p><sec id="s6_1"><title>6.1. Simulation Analysis</title><p>(a) The solution of ant colony algorithm has many parameters, so we need to run multiple times on the same data set and same parameters and select the average result, also to search for the more suitable parameters’ values. Here we use <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x95.png" xlink:type="simple"/></inline-formula> to represent<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x96.png" xlink:type="simple"/></inline-formula>. We know that the maximum of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x96.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x97.png" xlink:type="simple"/></inline-formula> is:<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x95.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x96.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x97.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x98.png" xlink:type="simple"/></inline-formula>, but it will never be achieved, at least because of users’ distribution.</p><p>(b) All parameters can affect the calculation result. Generally, it is suitable to set Alpha = 1; Beta = 2; Rho = 0.1; and similar = 0.9 to get better results.</p><p>(c) Strictly speaking the convergence of ant colony algorithm is defined as that the pheromone in the iteration process without change, or at least the obtained path without change. This is usually in the theoretical analysis. In practical applications due to a number of random factors, it is very difficult to achieve this status. So as long as the actual optimal solutions have vibration around the average straight line after each iteration, this is considered as convergence, and such average line is called convergence line. It can be seen from <xref ref-type="fig" rid="fig1">Figure 1</xref> and <xref ref-type="fig" rid="fig2">Figure 2</xref>, after traveling 200 times, all of the parameters have been around the horizontal line with slight vibration, and these mean convergence.</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> {Max J of user, Max J of AP}-times plot</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-9501443x99.png"/></fig><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> {Relative throughput, Min value of cost function}-times plot</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-9501443x100.png"/></fig></sec><sec id="s6_2"><title>6.2. SAS Analysis</title><p>We use the samples from experimental data to study the correlation coefficients among these indicators. Wherein Juser denotes J of user, Jap denotes J of AP, Tpt denotes<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x101.png" xlink:type="simple"/></inline-formula>, cost denotes the f in (18).</p><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows that at Alpha = 0.05 significance level, all the p-values are less than 0.05, we reject the H<sub>0</sub> and accept H<sub>1</sub> that these variables are linearly related, wherein the Tpt-(Jap, Juser) have highly significant linear correlations, while correlations of Jap-Juser is weak. We compared the degree of concentration of those data points in <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref>. It is clear that data points are more concentrated in <xref ref-type="fig" rid="fig5">Figure 5</xref>. This means the linear correlation of Tpt-Jap is much higher than the linear correlation of Tpt-Juser, which also proves the effectiveness of SCV model (coefficient of Tpt-Jap &gt; 0.8, Tpt-Juser = 0.17, so it is more effective to use J of AP whereas not J of user to represent the throughput).</p></sec><sec id="s6_3"><title>6.3. Comparison Analysis</title><p>We select average case in <xref ref-type="fig" rid="fig1">Figure 1</xref>, at the 100th time, the J of User is almost equal to 0.75, and corresponding J of AP is almost equal to 0.94, the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x102.png" xlink:type="simple"/></inline-formula> is almost equal to 145, since its maximum value is 200 as mentioned before, then the throughput of the network is equal to 145/200 = 72.5% of the network bandwidth. And the corresponding cost of f is almost equal to 0.061.</p><p>Here we want to compare our solution with PCAP in <xref ref-type="table" rid="table4">Table 4</xref> from [<xref ref-type="bibr" rid="scirp.61941-ref13">13</xref>] , since we use different definitions to denote throughput of AP and throughput of network, we have to use the indirect method to illustrate some issues. According to [<xref ref-type="bibr" rid="scirp.61941-ref13">13</xref>] , we can transfer and calculate their J of AP and their throughput percentage of network bandwidth:</p><disp-formula id="scirp.61941-formula300"><label>(21)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x103.png"  xlink:type="simple"/></disp-formula><p>So their</p><disp-formula id="scirp.61941-formula301"><label>(22)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x104.png"  xlink:type="simple"/></disp-formula><p>And we have:</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Correlation coefficients</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-9501443x105.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Tpt-Juser linear regression</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-9501443x106.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Tpt-Jap linear regression</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-9501443x107.png"/></fig><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> The statistics of the results</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Algorithm</th><th align="center" valign="middle" >Average AP Utility <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x108.png" xlink:type="simple"/></inline-formula></th><th align="center" valign="middle" >AP Utility Variance (σ<sub>u</sub>)</th><th align="center" valign="middle" >Total Network Utility</th><th align="center" valign="middle" >Jain’s Fairness Index</th><th align="center" valign="middle" >Average Power (dBm)</th></tr></thead><tr><td align="center" valign="middle" >PCAP</td><td align="center" valign="middle" >3.82 &#215; 10<sup>9</sup></td><td align="center" valign="middle" >2.98 &#215; 10<sup>9</sup></td><td align="center" valign="middle" >117.42</td><td align="center" valign="middle" >0.90</td><td align="center" valign="middle" >17.15</td></tr><tr><td align="center" valign="middle" >MARL</td><td align="center" valign="middle" >2.67 &#215; 10<sup>9</sup></td><td align="center" valign="middle" >5.00 &#215; 10<sup>9</sup></td><td align="center" valign="middle" >102.30</td><td align="center" valign="middle" >0.85</td><td align="center" valign="middle" >17.28</td></tr><tr><td align="center" valign="middle" >SR</td><td align="center" valign="middle" >1.46 &#215; 10<sup>9</sup></td><td align="center" valign="middle" >12.80 &#215; 10<sup>9</sup></td><td align="center" valign="middle" >99.66</td><td align="center" valign="middle" >0.75</td><td align="center" valign="middle" >18.06</td></tr><tr><td align="center" valign="middle" >SSF</td><td align="center" valign="middle" >1.11 &#215; 10<sup>9</sup></td><td align="center" valign="middle" >27.31 &#215; 10<sup>9</sup></td><td align="center" valign="middle" >79.59</td><td align="center" valign="middle" >0.37</td><td align="center" valign="middle" >20.00</td></tr></tbody></table></table-wrap><disp-formula id="scirp.61941-formula302"><label>(23)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x109.png"  xlink:type="simple"/></disp-formula><p>Then their throughput percentage of network bandwidth is:</p><disp-formula id="scirp.61941-formula303"><label>(24)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x110.png"  xlink:type="simple"/></disp-formula><p>In <xref ref-type="fig" rid="fig1">Figure 1</xref>, our J of AP is superior to theirs in (22). From the throughput point of view, our throughput percentage of network bandwidth is 72.5% &gt; 61.3% in (24), so our method is better than PCAP. But from the fairness of users (J of user) point of view, PCAP is better than ours since 0.75 &lt; 0.9 in (22).</p><p>According to (17), we convert (22) into our function F, we have:</p><disp-formula id="scirp.61941-formula304"><label>(25)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x111.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.61941-formula305"><label>(26)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-9501443x112.png"  xlink:type="simple"/></disp-formula><p>So the overall performance depends on the requirement of administrators, which indicator they most concern. We define the value of “F” as the overall performance criteria of algorithm, note smaller “F” is better, and then from (25) and (26) we know that our SCV model is much better than PCAP. The above comparison analysis result is in <xref ref-type="table" rid="table5">Table 5</xref>.</p><p>Theoretically, our design of target function “F” in (17) is more simple and rational than PCAP algorithm, since we joint consider the J of user and throughput (represented by J of AP), we regard them as two variables to reflect our topic which is a balance problem. While the target of PCAP is the throughput, the authors used two sub-algorithms to achieve J of AP only, and then got their by-product: J of user.</p><p>Technically, our SCV math model is a door that leads this problem to AI algorithms. The clear target function “F” is easy to be applied to other AI algorithms, while PCAP cannot.</p></sec></sec><sec id="s7"><title>7. Conclusions</title><p>The objective of this paper is to improve the trade-off between user fairness (J of user) and network throughput (represented by J of AP) via power control in multi-rate WLANs.</p><p>In this article, we first construct a new simplified model called SCV. The goal of the model is to derive a target function “F” in (17) and its simplified form “<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-9501443x113.png" xlink:type="simple"/></inline-formula>” (18) as our key foundation. Then we use Ant Colony Algorithm to solve our model, and we conduct a simulation in Matlab. After that we give analysis of our SCV model and simulation results confirm that our model is efficient and superior to PCAP in some aspects and overall performance under new criteria designed for such specific problem. In addition, based on the data samples from the state space, we use SAS to conduct correlationship analysis mainly among three indicators, and reveal their relationships.</p><p>SCV (Target function F) opens a door for many AI algorithms to apply in this problem; it is a bridge between Network &amp; AI.</p><p>Our future work is to derive a more accurate target function, and adjusts the values of parameters to find more suitable combination so that to improve the performance. Also we are working on other AI solutions based on SCV model.</p><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> Comparison result</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >PCAP</th><th align="center" valign="middle" >SCV-ant</th></tr></thead><tr><td align="center" valign="middle" >J of user (↑win)</td><td align="center" valign="middle" >0.9</td><td align="center" valign="middle" >0.75</td></tr><tr><td align="center" valign="middle" >J of AP (↑win)</td><td align="center" valign="middle" >0.9</td><td align="center" valign="middle" >0.94</td></tr><tr><td align="center" valign="middle" >throughput % (↑win)</td><td align="center" valign="middle" >61.3%</td><td align="center" valign="middle" >72.5%</td></tr><tr><td align="center" valign="middle" >Function “F” value (↓win)</td><td align="center" valign="middle" >2.17</td><td align="center" valign="middle" >1.2</td></tr></tbody></table></table-wrap></sec><sec id="s8"><title>Acknowledgements</title><p>The authors extend their appreciation to the Deanship of Scientific Research at King Saud University for funding this work through research group No. RGP-264.</p></sec><sec id="s9"><title>Cite this paper</title><p>QiangMa,AbdullahAl-Dhelaan,MznahAl-Rodhaan, (2015) Enhancing Performance of Multi-Rate WLANs: Ant Colony Approach. Wireless Sensor Network,07,157-170. doi: 10.4236/wsn.2015.712014</p></sec></body><back><ref-list><title>References</title><ref id="scirp.61941-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Ma, Q., Al-Dhelaan, A. and Al-Rodhaan, M. (2015) Using Hopfield Neural Network to Improve the Performance of Multi-rate WLANs. Proceedings of 4th WSEAS International Conference on Circuits, Systems, Communications, Computers and Applications, Kuala Lumpur, May 2015, 170-178.</mixed-citation></ref><ref id="scirp.61941-ref2"><label>2</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Asoodeh</surname><given-names> S. </given-names></name>,<etal>et al</etal>. (<year>2008</year>)<article-title>New Algorithm for Power Control in Cellular Communication with ANFIS</article-title><source> WSEAS Transactions on Communications</source><volume> 7</volume>,<fpage> 8</fpage>-<lpage>14</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.61941-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Chen, J.-S., Wang, N.-C., Hong, Z.-W. and Chang, Y.-W. (2009) An Adaptive Load Balance Allocation Strategy for Small Antenna Based Wireless Networks. WSEAS Transactions on Communications, 8, 588-597.</mixed-citation></ref><ref id="scirp.61941-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Hu, Q. and Tang, Z.Z. (2010) Study on Power and Rate Control Algorithm for Cognitive Wireless Networks. WSEAS Transactions on Communications, 9, 281-289.</mixed-citation></ref><ref id="scirp.61941-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Tan, G. and Guttag, J. (2004) Time-Based Fairness Improves Performance in Multi-Rate WLANs. Proceedings of Usenix Annual Technical Conference, USENIX Association Berkeley, 23.</mixed-citation></ref><ref id="scirp.61941-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Heusse, M., Rousseau, F., Berger Sabbatel, G. and Duda, A. (2003) Performance Anomaly of 802.11b. Proceedings of IEEE INFOCOM, San Francisco, 30 March-3 April 2003, 836-843. http://dx.doi.org/10.1109/infcom.2003.1208921</mixed-citation></ref><ref id="scirp.61941-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Kelly, F.P. (1997) Charging and Rate Control for Elastic Traffic. European Transactions on Telecommunications, 8, 33-37. http://dx.doi.org/10.1002/ett.4460080106</mixed-citation></ref><ref id="scirp.61941-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Banchs, A., Serrano, P. and Oliver, H. (2007) Proportional Fair Throughput Allocation in Multi-Rate IEEE 802.11e Wireless LANs. Wireless Networks, 13, 649-662. http://dx.doi.org/10.1007/s11276-006-6972-9</mixed-citation></ref><ref id="scirp.61941-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Babu, A.V. and Jacob, L. (2005) Performance Analysis of IEEE 802.11 Multi-Rate WLANs: Time Based Fairness vs. Throughput Based Fairness. Proceeding of IEEE International Conference on Wireless Networks, Communications, and Mobile Computing, Sheraton Maui Resort Maui, June 2005, 203-208.</mixed-citation></ref><ref id="scirp.61941-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Bertsekas, D. and Gallager, R. (1987) Data Networks. Prentice-Hall, Upper Saddle River.</mixed-citation></ref><ref id="scirp.61941-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Li, W., Cui, Y., Wang, S.L. and Cheng, X.Z. (2010) Approximate Optimization for Proportional Fair AP Association in Multi-Rate WLANs. Proceedings of 5th International Conference on Wireless Algorithms, Systems, and Applications, Beijing, 15-17 August 2010, 36-46.</mixed-citation></ref><ref id="scirp.61941-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Bejerano, Y., Han, S.J. and Li, L. (2007) Fairness and Load Balancing in Wireless LANs Using Association Control. IEEE/ACM Transactions on Networking, 15, 560-573. http://dx.doi.org/10.1109/TNET.2007.893680</mixed-citation></ref><ref id="scirp.61941-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Li, W., Cui, Y., Cheng, X.Z., Al Rodhaan, M.A. and Al Dhelaan, A. (2011) Achieving Proportional Fairness via AP Power Control in Multi-Rate WLANs. IEEE Transactions on Wireless Communications, 10, 3784-3792.  
http://dx.doi.org/10.1109/twc.2011.091411.101899</mixed-citation></ref><ref id="scirp.61941-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Jain, R., Chiu, D.M. and Hawe, W.R. (1984) A Quantitative Measure of Fairness and Discrimination for Resource Allocation in Shared Computer System. Digital Equipment, Tech. Dec-Tr-301.</mixed-citation></ref><ref id="scirp.61941-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Mhatre, V.P., Papagiannaki, K. and Baccelli, F. (2007) Interference Mitigation through Power Control in High Density 802.11 WLANs. 26th IEEE International Conference on Computer Communications, INFOCOM, Anchorage, 6-12 May 2007, 535-543. http://dx.doi.org/10.1109/infcom.2007.69</mixed-citation></ref><ref id="scirp.61941-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Hasu, V. and Koivo, V. (2006) Fair Transmission Rate Allocation: A Power Control Feasibility Approach. 10th IEEE Singapore International Conference on Communication Systems, ICCS, Singapore, 30 October-1 November 2006, 1-5.  
http://dx.doi.org/10.1109/iccs.2006.301457</mixed-citation></ref><ref id="scirp.61941-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Bejerano, Y. and Han, S.J. (2009) Cell Breathing Techniques for Load Balancing in Wireless LANs. IEEE Transactions on Mobile Computing, 8, 735-749. http://dx.doi.org/10.1109/TMC.2009.50</mixed-citation></ref><ref id="scirp.61941-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Wang, S.L., Huang, J.H., Cheng, X.Z. and Chen, B. (2014) Coverage Adjustment for Load Balancing with an AP Service Availability Guarantee in WLANs. Wireless Networks, 20, 475-491. http://dx.doi.org/10.1007/s11276-013-0615-8</mixed-citation></ref><ref id="scirp.61941-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Qian, L.P. and Jun, Y. (2009) Monotonic Optimization for Non-Concave Power Control in Multiuser Multicarrier Network Systems. Proceedings of IEEE INFOCOM 2009, Rio de Janeiro, 19-25 April 2009, 172-180.  
http://dx.doi.org/10.1109/INFCOM.2009.5061919</mixed-citation></ref><ref id="scirp.61941-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Chiang, M., Tan, C.W., Palomar, D.P., O’Neill, D. and Julian, D. (2007) Power Control by Geometric Programming. IEEE Transactions on Wireless Communications, 6, 2640-2651. http://dx.doi.org/10.1109/TWC.2007.05960</mixed-citation></ref><ref id="scirp.61941-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Li, W., Wang, S.L., Cui, Y., Cheng, X.Z., Xin, R., Al-Rodhaan, M.A. and Al-Dhelaan, A. (2014) AP Association for Proportional Fairness in Multirate WLANs. IEEE/ACM Transactions on Networking, 22, 191-202.  
http://dx.doi.org/10.1109/tnet.2013.2245145</mixed-citation></ref><ref id="scirp.61941-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Wang, Q.S. and Liu, M.Y. (2013) Throughput Optimal Switching in Multichannel WLANs. IEEE Transactions on Mobile Computing, 12, 2470-2482. http://dx.doi.org/10.1109/tmc.2012.228</mixed-citation></ref><ref id="scirp.61941-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Islam, M.E., Funabiki, N., Nakanishi, T. and Watanabe, K. (2013) An Extension of Access-Point Aggregation Algorithm to Ensure Minimum Host Throughput for Wireless Local Area Networks. 2013 1st International Symposium on Computing and Networking, Matsuyama, 4-6 December 2013, 141-147. http://dx.doi.org/10.1109/CANDAR.2013.27</mixed-citation></ref><ref id="scirp.61941-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Cui, Y., Ma, T.Z., Liu, J.C. and Das, S. (2013) Load-Balanced AP Association in Multi-Hop Wireless Mesh Networks. The Journal of Supercomputing, 65, 383-409. http://dx.doi.org/10.1007/s11227-010-0519-7</mixed-citation></ref><ref id="scirp.61941-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Chakraborty, S., Swain, P. and Nandi, S. (2013) Proportional Fairness in MAC Layer Channel Access of IEEE 802.11s EDCA Based Wireless Mesh Networks. Ad Hoc Networks, 11, 570-584. http://dx.doi.org/10.1016/j.adhoc.2012.08.003</mixed-citation></ref><ref id="scirp.61941-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Brownlee, J. (2011) Clever Algorithms: Nature Inspired Programming Recipes. LuLu, Raleigh.</mixed-citation></ref><ref id="scirp.61941-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Ding, X.L., Li, F.H., Li, H.W., Jiang, Y. and Wu, J.P. (2007) Dynamic Load Balancing Mechanism in WLAN Based on Power Control and Location Information. Journal of Xiamen University (Natural Science), 46, 150-155.</mixed-citation></ref><ref id="scirp.61941-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Goldsmith, A. (2004) Wireless Communications. Stanford University, Stanford.</mixed-citation></ref><ref id="scirp.61941-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Yin, Z.Q., Shi, C.H., Chen, M.S. and Liu, S.Z. (2008) A White and Gaussian White Noise Generator with Adjustable Parameters. Fire Control and Command Control, 33, 109-111.</mixed-citation></ref><ref id="scirp.61941-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Wang, P.Y., Zhai, L.L. and Shi, J.F. (2013) Design of Gaussian White Noise Generator with Adjustable Parameters Based on FPGA. Shipboard Electronic Countermeasure, 36, 113-115.</mixed-citation></ref><ref id="scirp.61941-ref31"><label>31</label><mixed-citation publication-type="other" xlink:type="simple">Villegas, E.G., López-Aguilera, E., Vidal, R. and Paradells, J. (2007) Effect of Adjacent-Channel Interference in IEEE 802.11 WLANs. 2nd International Conference on Cognitive Radio Oriented Wireless Networks and Communications, Orlando, 1-3 August 2007, 118-125. http://dx.doi.org/10.1109/CROWNCOM.2007.4549783</mixed-citation></ref></ref-list></back></article>