Click to share on Facebook (Opens in new window)

Genetic Algorithm – Example 3.
Filed under:.

Projects — Leave a comment February 27

2011 I quote below a personal portable implementation (in C++) of a classic genetic algorithm (evolutionary algorithm) used to maximize the function f(x) = sin(x) in the domain 0 <= x <= 2pi. You can compile the program with the g++ compiler. The Genetic Algorithm implements the following features: Monoparametric optimization problem (with continuous parameter).
Binary encoded genotypes (with integers).
Genotypes of only one chromosome.
Number of iterations as the termination criterion.
Elitism by cloning of the best individuals .
Roulette wheel method for the selection of parents.
Generational replacement of parents and children.
One-point crossover and cloning of parents.
Deterministic method of mutation ( probability of mutation per bit).
Use of the climbing operator “phenotype mutation”.
For more information you can get the project itself: `evolutionary-computation-paradigms‘ Rate this:.
Share this:.
Click to share on Facebook (Opens in new window).

Click to share on LinkedIn (Opens in new window)

Click to share on Twitter (Opens in new window)

Click to print (Opens in new window)

Click to email this to a friend (Opens in new window)

Like this:.
Like Loading.
Related.
Tags: , crossover, elitism, , genetic, hill climbing, mutation, , , .

Roulette wheel Comments RSS feed Leave a Reply Cancel reply

Enter your comment here.
Fill in your details below or click an icon to log in:.
Email (Address never made public) Name Website You are commenting using your WordPress.com account.
( Log Out /   ) You are commenting using your Google account.
( Log Out /   ) You are commenting using your Twitter account.
( Log Out /   ) You are commenting using your Facebook account.
( Log Out /   ) Cancel Connecting to %s Notify me of new comments via email.
Notify me of new posts via email.

« Genetic Algorithm – Example 2

Genetic Algorithm – Example 4.
».
(79).
(21).
(15).
(26).
(4).
(7).
(55).
(24).
(4).
(16).
(14).
(4).
(7).
(10).
(78).
(11).
(9).
(1).
February 2011 M T W T F S S  123456 78910111213 14151617181920 21222324252627 28   « Dec Mar ».
(2).
(4).
(1).
(1).
(2).
(1).
(1).
(1).
(2).
(1).
(9).
(1).
(8).
(1).
(1).
(2).
(4).
(7).
(1).
(1).
(1).
(8).
(12).
(1).
(2).
(1).
(2).
(1).
(2).
(1).
(1).
(4).
(20).
(13).
(5).
(2).
(10).
(13).
(10).
(10).
(20).
287,006 hits.
Send to Email Address Your Name Your Email Address Cancel Post was not sent – check your email addresses.
Email check failed.

Please try again Sorry

your blog cannot share posts by email.
%d bloggers like this:.

Leave a Reply

Your email address will not be published. Required fields are marked *