Abstract
Routing is regarded as the process that transfers packets from a given source to a given destination with minimum cost, so the routing algorithm has the most specific role of acquiring, organizing and distributing information regarding various network states. So, routing is considered as one of the most important issue for various wireless infrastructures-less networks as most of the Quality of Service (QOS) parameters are related to how efficiently and effectively routes are managed. The traditional approach like Dijkstra’s shortest path algorithm was not able to optimize the QOS issues along with finding the shortest/fittest path. So this chapter utilizes heuristic-based genetic approach to solve and optimize routing-related issues. The proposed and simulated algorithm finds the fittest path from source to destination and optimizes various QOS parameters like hop count, delay, throughput, etc. The proposed heuristic-based approach is compared with traditional Dijkstra’s approach through MATLAB simulator for further validation and affirmation of presented methodology.
Access provided by CONRICYT-eBooks. Download chapter PDF
Similar content being viewed by others
Keywords
- Genetic algorithm
- Packet delivery ratio (PDR)
- Packet drop rate (pdr)
- End-to-end delay (EED)
- Hop count (HC)
- Selection
- Crossover
- Mutation
1 Introduction
With the growth-based networks using wireless framework, the performance of these networks leads to the reliability of Internet which in turn largely depends on how the routing protocols operate [1]. The operation of these routing protocols is dependent upon the network technology, its configuration parameters focusing upon the traffic load on the routers and its links. Specifying the concept of wireless systems routing becomes a highly challenging task due to the mobility of these types of systems. The traditional routing protocols utilized in the current networks are developed to exploit dynamic optimization by finding optimized paths based on shortest distance, minimal bandwidth and delay and limited power and capability of links, etc. Number of topology changes frequent in nature occur in wireless-based cloud systems due to mobility of wireless nodes and their energy conservation therefore, dynamic optimization problem (DOP) for route discovery becomes quite important. For finding solutions of various routing issues, traditional methodologies utilizing deterministic algorithms like shortest path tree (SPT) and search heuristics based neoteric approaches like genetic algorithm, ant colony optimization, simulated annealing, etc., are explored. Deterministic systems, on one hand, construct only on one route tree for a given route discovery request whereas meta-heuristic based algorithms search number of route trees and from them select optimized one as the final route, as these algorithms have polynomial time complexity, hence providing enhanced Quality of Service (QOS) based solutions for cloud-based wireless networks. When compared with deterministic systems (Previous Dijkstra’s Algorithm), GA-based meta-heuristic approach works on a population of possible solutions rather than on a single solution. The individual chromosomes (initial population) of the GA-based approach undergo selection operation on the basis of their fitness value followed by the natural genetic-based crossover operation for offspring generation by randomly exchanging the individual genetic data focusing on the fact that GA is stochastic in nature rather than deterministic [2–6]. This chapter exploits GA-based methodology of soft computing for optimization of various QOS parameters like packet delivery ratio (PDR), packet drop rate (pdr), end-to-end delay (EED) and hop count (HC) for wireless-based cloud networks by selection of optimal or fitness route from a given source to a given destination from a route set of different connectivity qualities. Upcoming sections of this chapter will highlight on utilizing soft computing based GA approach for optimization of QOS in wireless-based cloud networks by validation through simulated results.
2 Importance of Genetic Algorithm
Natural evolution is the main source of inspiration for genetic algorithms for becoming a heuristic and optimization methodology proving to be applied successfully for various complex and significant real-world problems. This section of the chapter focuses on utilizing the success of GA-based approach for improving the quality of service (QOS) parameters of traditional routing approaches (e.g. Dijkstra’s) being used in the current routing protocols of wireless-based networks or cloud networks. GA has been a great interest for various mathematicians, immunologists, etc. Before discussing how GA has enhanced QOS parameters of wireless and cloud networks (discussed in next section), we will first focus on the GA construction and its theoretical specific strands speculatively. Darwinian principle of evolution is the main motivation for GA-based heuristic and solution search heuristic and solution search based optimization methodology. For evolving for solutions to various problems GA utilizes evolutionary processes which are highly abstracted in version. Populations of GA operation are the chromosomes which are binary strings. Fitness function of GA-based approach is a real number in the solution representation of chromosomes specifying how good solution is for a particular problem [7–16].
The successor population or the next generation of GA is produced through fitness selection and recombination of the randomly generated population of chromosomes. Recombination process selects the genetic material of parent chromosomes which undergoes recombination to form child chromosomes and continues further inheritor population. Process iteration evolves a successive generation sequence leading to increase in the chromosomes average fitness until reaching a stopping criterion. Hence, GA evolved as a best (optimized) solution for a given problem. For computationally intractable problems, Holland [17] proposed GA for finding good solutions. The theoretical concepts of GA and its straight forward implementation were proved by Schema Theorem written by Goldberg [18] and its block hypothesis [17]. These results led to the growth of GA in solutions of practical problems of sciences, industry and engineering also discussed in this chapter for QOS-based route optimization in cloud-based wireless networks. GA-based approach is quite dynamic in nature using methodologies not utilized by traditional approaches, hence its success leads to the growth of other intelligent meta-heuristic based approaches like neural network (NN), ant colony optimization (ACO), particle swarm optimization (PSO), artificial intelligence (AI), etc. [19].
2.1 Structure of Genetic Algorithm
Implementation of GA is not very complex as it is constructed from distinct reusable components having trivial adaptation. The components of GA which form its basic structure include encoding of chromosomes, development of fitness function, selection of population based on fitness function, recombination and scheme evolution being the last operations. Figure 1 shows the evolution flow of genetic algorithm.
-
(i)
Chromosome Encoding
Chromosomes in a GA for a particular problem are the representation of strings represented as {A, C, G, T} which is a biological abstraction of DNA chromosome. Locus is the particular position in a chromosome called a gene, and the letter at the point of locus is called as allele value or allele. Allele values are the bit strings of chromosomes that are represented as character alphabets {0.1}. GA operates on bit strings of length around 100 for a solution space of 2100–1030 individuals.
-
(ii)
Fitness
Fitness function for a particular problem specifies computation by evaluating chromosomes of genetic algorithm.
-
(iii)
Selection
Selection process of GA utilizes fitness function for the evolution of the genetic chromosomes by applying a selective pressure. On the basis of their fitness, chromosomes are selected for recombination where better is the fitness of chromosomes greater is the chances of selection. Roulette wheel, random stochastic selection, tournament selection and truncation selection are generally utilized as traditional selection methods.
-
(iv)
Recombination
Members of a successor population are formed through recombination process by selected chromosomes of a given population. This is done by simulating the mixed material occurring at the tie of organisms’ reproduction. Crossover and mutation are the two basic components of the recombination process where crossover produces one/two child chromosomes by mixing genetic material of the two parent chromosomes being selected.
The given example below represents the crossover operation done over a 10-bit string.
Mutation operation of GA flips one/more allele values by acting on the various individual chromosomes. When mutation rate ≥ the random value, then the flipping of allele values takes place as 0–1 or vice versa. For better results and overcoming the problem of local/global minima, mutation rates are chosen quite small like 0.001, etc.
-
(v)
Evolution
Many evolutionary schemes are based upon how much the initial chromosomes are unchanged with respect to the inheritor population. Complete replacement and replacement with elitism are some of the methods utilized for the evolution.
2.2 Design of GA
The nature of the problem is the most important criterion for the design and encoding of GA. After the encoding methodology is being selected, next decision is about the type of fitness function, size of the population, respective rates of crossover and mutation operators, application of the evolutionary scheme and also the specific and appropriate start and stop conditions. The design of GA basically depends upon experience of combination, modelling which is problem specific and experimentation based upon various evolution schemes [20–25]. A typical and classical GA design based upon complete replacement using standard operators of GA includes
-
(1)
Random generation of a population comprising of P chromosomes.
-
(2)
From the source population of initial chromosomes (C), fitness function F(C) is calculated.
-
(3)
A vacuous successor population is created and the following steps are repeated till creation of P chromosomes takes place.
-
(a)
Two chromosomes c1 and c2 are selected based upon the proportional fitness function from the initial source population.
-
(b)
Utilizing crossover rate pc one point crossover is applied to obtain c as the child chromosome.
-
(c)
A consistent rate of mutation pm is applied to produce c′.
-
(d)
c′ is being added to the inheritor population.
-
(a)
-
(4)
Source population is then replaced with the population of successor.
-
(5)
Step 2 is being returned, not meeting the stopping criterion.
2.3 Approaches of GA
The basic two goals for justifying theory of GA include explaining the classes of problem to which GA is particularly suitable and if suitable, why. Next includes the optimal design and implementation of GA through various techniques and approaches.
-
(i)
Schema and the Building Blocks: The central result of GA theory is based upon the Schema Theorem [17]. A set of chromosomes containing the pattern specifies the schema. Schema is referred as the string symbols from the alphabet {0, 1, *}. For chromosomes of length 10 bit, schema specifies using the string
Chromosomes belonging to the schema include
Chromosomes that do not belong to the schema, not matching the pattern, include
All the chromosomes that belong to the schema are **********.
For a schema X, the length lX is specified as antithesis of the allele positions of the first bits and the last bits that are being defined of X. The numbers of bits being defined specify order of X. For example, the schema 01***100** has defined bits that has the order 5. The position of last defined bit is 8 and that of first is at position 1. So, the length of schema is 8 − 1 = 7.
Theorem is defined by taking X as schema and chromosomes as mX that belong to X that is present in the population I of the GA being evolved. Then the number of is chromosomes expected to belong to X in the population i + 1 is denoted by
mX (i + 1), is represented by the formula
where
FX (i) is the relative fitness of the chromosomes that belong to X that is being divided by the average fitness of the population of chromosomes.
pc is the probability of crossover operation.
pm is the probability of nutation operation.
-
(ii)
The Simple GA (SGA): SGA provides a dynamic mathematical framework for exploring fundamental properties of GA. It answers to the various questions expected
-
(a)
Locus Ω in SGA at time t?
-
(b)
Convergence of SGA at a global optimum based on what conditions?
-
(c)
Design choice of GA based on conditions of point (b).
-
(d)
What will be the mutation and selection operators?
-
(e)
What will be the selection schemes?
-
(f)
How the evolution points correspond to local/global minima.
-
(a)
-
(iii)
Statistical mechanics: [26] developed and utilized the theory of statistical mechanics for GA evolution having a fitness function (FF) based on Ising Model that has states of low energy of a spin glass through which investigation of dynamics for GA is done.
-
(iv)
GA is utilized in model fitting and optimal control in various applications, e.g. cancer chemotherapy optimization by GA.
3 Genetic-Based Heuristic Approach to Optimize QOS in Networks
Depending upon the various linguistic rules, network conditions currently and the policy, GA performs evaluation of the paths; output of the routing algorithm is resulted, after evaluating all the routes having good enough route values depending upon the evaluation function [27–30]. After performance evaluation of the values, the next loops are being selected from the various neighbouring nodes. The selection of the routing by the GA-based heuristic approach is done by optimizing QOS parameters like packet delivery ratio (PDR), hop count (HC), etc. The flowchart of genetic-based heuristic approach is depicted in Fig. 2. Given below are the specific parameters required for the GA-based heuristic approach
-
1.
Genetic-based representation specifying node ID’s of the path of the source node through gene’s first position and last position gene represents the destination node.
-
2.
Population initialization (PI) is the randomly generated routing path from the initial population chromosomes.
-
3.
Fitness function (FF) is represented by function fval containing the object function including the arguments as initial route x, a matrix containing a proactive/reactive routing table, start location and end location. Route cost is initiallized as 0 and further values of route cost are obtained on the basis of steps given below:
-
(a)
Value of x1 is generated by subtracting 1 from size matrix and multiplying by x.
-
(b)
Next round x1 is generated as x1 = (A, B), where A = absolute value of x1 rounded and mod operator applied, B = increment of size matrix by 1.
-
(c)
A condition is applied to generate the route cost where comparison (==) is done between x1 and x which is further incremented by 2.
-
(d)
A for loop is followed, then route cost is generated as x1 matrix ith value, x1 matrix (i + 1) value added to initial route cost which is considered f value of route cost. Else the final value of route cost is size of matrix multiplied by 100 and added to 100.
-
(a)
-
4.
Selection operator selects higher quality chromosomes based on FF to get the next generation.
-
5.
Crossover and mutation are utilized to exchange partial chromosomes to overcome local/global minima issue.
-
6.
GA-based approach is utilized as a solution for finding the shortest path from source (S) to destination (D) dynamically in a peer-to-peer cloud network. GA considers a peer-to-peer cloud network having an upper delay bound with a source node and destination node to get an optimized least cost path in a topological area.
-
7.
The QOS parameters like packet delivery ratio, packet drop rate, end-to-end delay and hop count are taken into consideration for performance analysis.
The simulation parameters taken into analysis of the meta-heuristic based genetic approach to optimize QOS in cloud networks are simulation time, network length and width, nodes of peer-to-peer cloud network, transmission range, node speed, node data rate, node traffic and speed and angle variation factor [31–33]. Figures 3, 4, 5, 6 and 7 specify the validation of the proposed approach through a MATLAB simulator.
Figure 3 depicts the simulation of previous (Dijkstra’s) approach and proposed (Genetic-based heuristic) approach through varying node speed, validating the proposed approach through blue line, specifying how through the application of heuristic approach, the packet drop rate has decreased significantly.
Figure 4 depicts the simulation of previous (Dijkstra’s) approach and proposed (Genetic-based heuristic) approach through varying node speed, validating the proposed approach through blue line, specifying how through the application of heuristic approach, the packet delivery ratio has increased significantly.
Figure 5 depicts the simulation of previous (Dijkstra’s) approach and proposed (Genetic-based heuristic) approach through varying node speed, validating the proposed approach through blue line, specifying how through the application of heuristic approach, the end-to-end delay has decreased significantly.
Figure 6 depicts the simulation of previous (Dijkstra’s) approach and proposed (Genetic-based heuristic) approach through varying node speed, validating the proposed approach through blue line, specifying how through the application of heuristic approach, the hop counts have decreased significantly.
Figure 7 is just a background illustration of working of genetic algorithm which validates the proposed approach.
4 Conclusions
Talking about real-world peer-to-peer wireless network, routing is considered to be the parameter that will meet the most stringent QOS performance parameters. Uncertainty that is being created through user mobility in peer-to-peer networks makes the seamless data transmission quite a challenging task. A number of conflicting issues are raised in these networks. In real-world scenario when a particular objective function is optimized, other dependent objective can be sacrificed. The results shown in Sect. 3 specify how the heuristic-based genetic approach has led to neoteric optimized results mainly exploited to finding fittest shortest path leading to optimized QOS performance parameters. The conventional shortest path selection approach like Dijkstra’s (taken as previous approach in Sect. 3 simulation) was not able to provide better performance in terms of QOS optimization. Taking into consideration number of simulation parameters, the simulated, validated approach discussed in this chapter provides a flexible network by enhancing various QOS issues.
References
Abdullah J et al (2008) GA based QOS route selection algorithm for mobile ad-hoc networks. In: Proceedings of IEEE conference on telecommunication technologies
Begumhan TD, Turgut R, Than VL (2003) Optimizing clustering algorithm in mobile adhoc networks using simulated annealing. IEEE
Bellavista P, Corradi A, Gianneli C (2011) A unifying perspective on context-aware evaluation and management of heterogeneous wireless connectivity. IEEE Commun Surv Tut 13:337–357
Cizmar A, Papaj J, Dobos L (2012) Security and QOS integration model for MANET. Comput Inform 31:1025–1044
Cheng H (2010) Genetic algorithms with immigrants schemes for dynamic multicast problems in mobile ad-hoc networks. Eng Appl Artif Intell, 806–819
Defrawy KE, Tsudik G (2011) ALARM: anonymous location-aided routing in suspicious MANET’s. IEEE Trans Mob Comput 10(9):1345–1358
Fessi BA, BenAbdullah S, Hamdi M, Boudriga N (2009) A new genetic algorithm approach for intrusion response system in computer networks. IEEE Symp Comp Commun, 342–347
De Rango F, Socievole A (2011) Meta-heuristics techniques and swarm intelligence in mobile ad-hoc networks. In: Book on mobile ad-hoc network and applications, vol 11
Gabrielle A (2011) Simulation of a secure ad-hoc network. Norwegian University of Science and Technology, Department of Telematics
Ghazal MA, Sayed A, Kelash H (2007) Routing optimization using genetic algorithm in ad-hoc networks. In: IEEE international symposium on signal processing and information technology
Gunasekaran R et al (2009) An improved parallel genetic algorithm for path bandwidth calculation in TDMA based mobile ad-hoc networks. In: IEEE conference on advances in computing, control and telecommunications technologies
Jagadeesan AT, Duraiswamy K (2010) Cryptographic key generation from multiple biometric modalities: Fusing minutiae with Iris feature. Int J Comput Appl 2(6)
Jyotika K, Baregar AJ (2013) Security using image processing. Int J Manag Info Technol 5(2)
Krishna BA, Radha S, Reddy KCK (2007) Data security in ad-hoc networks using randomization of cryptographic algorithms. J Appl Sci, 4007–4012
Nandi B, Barman S, Paul S (2010) Genetic algorithm based optimization of clustering in ad-hoc networks. Int J Comput Sci Inf Secur 7(1)
Sanderson S, Erbetta J (2000) Authentication for secure environments based on Iris scanning technology. IEEE Colloq Vis Biomet
Holland JH (1975) Adaptation in natural and artificial systems. The University of Michigan Press, Ann Arbor, MI
Goldberg DE (1989) Genetic algorithms in search, optimization and machine learning. Addison-Wesley, Reading, MA
Engelbrecht AP (2002) Computational intelligence an introduction. Wiley, New York
Sanzgiri K, Laflamme D, Dahill B, Levine BN (2005) Authenticated routing for ad-hoc network. IEEE J Sel Areas Commun
Shannon RE (1989) Introduction to the art and science of simulation. In: Proceedings of 30th conference on winter simulation
Zafar S, Soni MK, Beg MMS (2015) An optimized genetic stowed approach to potent QOS in MANET. Proc Comput Sci 62:410–418. https://doi.org/10.1016/j.proc.08.434. ISSN: 1877-0509
Zafar S, Soni MK (2014) Sustaining security in MANET: biometric stationed authentication protocol (BSAP) inculcating meta-heuristic genetic algorithm. Int J Mod Educ Comput Sci 9:28–35. Published Online September in MECS. http://www.mecs-press.org/,, https://doi.org/10.5815/ijmecs.2014.09.05. ISSN: 2075-0161(Print), ISSN: 2075-017X (Online) Impact Factor 0.669 (2015)
Zafar S, Soni MK, Beg MMS (2014) Sustaining security: encircling wavelet quartered extrication algorithm for crypt-biometric perception. In: International conference on data mining and intelligent computing (ICDMIC). IEEE Conference Publications, pp 1–6. https://doi.org/10.1109/ICDMIC.2014.6954263
Zafar S, Soni MK (2014) Trust based QOS protocol (TBQP) using meta-heuristic genetic algorithm for optimizing and securing MANET. IEEE Explore, pp 173–177. https://doi.org/10.1109/ICROIT.2014.6798315
Prügel-Bennett A, Shapiro JL (1994) An analysis of genetic algorithms using statistical mechanics. Phys Rev Lett 72(9):1305–1309
Zafar S, Soni MK (2014) A novel crypt-biometric perception algorithm to protract security in MANET. Int J Comput Netw Inf Secur 6(12):64–71. https://doi.org/10.5815/ijcnis.12.08. ISSN: 2074-9090 (Print). ISSN: 2074-9104 (Online), https://doi.org/10.5815/ijcnis. Published by: MECS Publisher, November 2014, Impact factor 0.726 (2015)
Umadevi V, Chezhian R, Khan ZU (2012) Security requirements in mobile ad-hoc networks. Int J Adv Res Comput Commun 1(2)
Yen YS et al (2008) A genetic algorithm for energy-efficient based multicast routing on MANET. J Comput Commun, 2632–2641
Zarza L, Pegueroles J, Soriano M (2007) Interpretation of binary strings as security protocols for their evolution by means of genetic algorithms
Sherin Z, Soni MK (2014) Secure routing in MANET through crypt-biometric technique. In: Proceedings of the 3rd international conference on frontiers of intelligent computing: theory and applications (FICTA), pp 713–720
Zafar S, Soni MK, Beg MMS (2015) QOS optimization in networks through meta-heuristic quartered genetic approach. ICSCTI, IEEE
Zafar S, Soni MK, Beg MMS (2016) Iris signature methodology for securing MANET. MR Int J Eng Technol 8(1)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer Nature Singapore Pte Ltd.
About this chapter
Cite this chapter
Zafar, S. (2017). Utilizing Genetic-Based Heuristic Approach to Optimize QOS in Networks. In: Ali, R., Beg, M. (eds) Applications of Soft Computing for the Web. Springer, Singapore. https://doi.org/10.1007/978-981-10-7098-3_14
Download citation
DOI: https://doi.org/10.1007/978-981-10-7098-3_14
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-7097-6
Online ISBN: 978-981-10-7098-3
eBook Packages: Computer ScienceComputer Science (R0)