Fitness function - canonical genetic algorithm, Computer Engineering

Assignment Help:

Fitness function - canonical genetic algorithm:

Conversely the fitness function will use an evaluation function to calculate a value of worth for the individual accordingly that they can be compared against each other. Frequently the evaluation function is written g(c) for a particular individual c. hence correctly specifying such evaluation functions is a risky job that we look at later. However the fitness of an individual is calculated through dividing the value it gets for g with the average value for g over the entire population as: 

Here fitness(c) = g(c)/(average of g over the entire population)

Therefore we see that every individual has at least a chance of going with the intermediate population unless they score zero for the evaluation function. In fact as an example of a fitness function requiring an evaluation function, assume our GA agent has calculated the evaluation function for every member of the population plus the average is 17. After then, for a particular individual c0, the value of the evaluation function is 25. Moreover the fitness function for c0 would be calculated as 25/17 = 1.47. Because, one copy of c0 will definitely be added to the IP  plus one copy will be added with a probability of 0.47 as in e.g., a 100 side dice is thrown and only if it returns 47 or less so there is another copy of c0 added to the IP.


Related Discussions:- Fitness function - canonical genetic algorithm

Additions of numbers by using 2’s complement, Add +25 to -15 by using 2's c...

Add +25 to -15 by using 2's complement ? Ans. Firstly convert the numbers 25 and 15 in its 8-bit binary equivalent and determine the 2's complement of 15, after that add +25 to -

Combinational logic circuits, A circuit can be designed to perform manydiff...

A circuit can be designed to perform manydifferent functions e.g.a circuit has 3 inputs A, B and C and 3 outputs:Output X is logic level 1 (or 'high') if one or moreinputs are at l

C programming, A palindrome is a string that reads the same from both the e...

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Explain about interlacing, Q. Explain about Interlacing? Interlacing is...

Q. Explain about Interlacing? Interlacing is a procedure in which in place of scanning the image one-line-at-a-time it's scanned alternatelyit implies thatalternate lines are s

Can matchcode object contain ids with different update types, Can matchcode...

Can matchcode object contain Ids with different update types? Yes.

Define ufd and mfd, Define UFD and MFD.   In the two-level directory st...

Define UFD and MFD.   In the two-level directory structure, every user has own user file directory (UFD). Every UFD has a same structure, but lists only the files of a single u

Define deadlock with resource request and allocation graph, Define Deadlock...

Define Deadlock with Resource request and allocation graph (RRAG) Deadlocks can be described through a directed bipartite graph termed as a RRAG that is Resource Request All

Explain the outsourcing barriers that an organization faces, Explain the ou...

Explain the outsourcing barriers that an organization faces. 1. Critical operations that cannot be outsourced. 2. Negative customer reaction. 3. Employee resistance. 4

What is frontpage, Front page is a software used to make a webpage.

Front page is a software used to make a webpage.

What is load testing, Load testing is to test that if the application works...

Load testing is to test that if the application works well with the loads that result from large number of concurrent users, transactions and to verify whether it can handle peak u

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd