473,403 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Need Help in Genetic Algorithm

3
Does anyone know how to evaluate the diversity of a population or how diverve is an individual in C++ ?? Thanks in advance!!
Oct 10 '06 #1
4 1943
Banfa
9,065 Expert Mod 8TB
You need to find some mathematrical formula for this evaluation. This will be nothing to do with C++ but part of genetics.

Once you have the formula then you can convert it to C++ and we can help that being what we do here :D
Oct 10 '06 #2
gotcha
3
You need to find some mathematrical formula for this evaluation. This will be nothing to do with C++ but part of genetics.

Once you have the formula then you can convert it to C++ and we can help that being what we do here :D
front spread = maximum distance among the solutions in space in each dimension seperately

fs = sqrt { for (i=0;i<N;i++) {sum += max distances in each dimension} }

N: # of objectives
Oct 11 '06 #3
Banfa
9,065 Expert Mod 8TB
Your text formula does not mention a square root but your pseudo coded formula seems to?
Oct 11 '06 #4
gotcha
3
Your text formula does not mention a square root but your pseudo coded formula seems to?
sorry it should be:

fs = sqrt { for (i=0;i<N;i++) {sum += max distances^2 in each dimension} }
Oct 11 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Joh | last post by:
hello, here is my trouble, i would to like to write a program which could help me to detect sequence of consecutive words in list in a very efficient way. (i need to do it upon large amount of...
0
by: Jelle Feringa / EZCT Architecture & Design Researc | last post by:
Could anyone recommend me a genetic algorithm package? So far I have found a few, such as GAS, pyGP, Genetic, and of course scipy.ga My problem is that most of the development of these packages...
2
by: SNAKE | last post by:
hey somebody have any experience using genetic algorithm? i have a problem, I'll try to write game "circle and cross" based on the genetic algorithm anybody can help me? /Snake
3
by: ThanhVu Nguyen | last post by:
Hi, I am looking for a forumn or newgroups that is about Genetic Programming. Since this group probably is the most active and and largest programming ng so I thought probably someone will know...
10
by: Ruben Hoste | last post by:
Hello, I'm currently looking for more information on Genetic Algorithms and more specifficaly on how to program them in Java or C++. This is all concerning my thesis. A lot of general information...
2
by: Xiao Jianfeng | last post by:
Hi all, I am looking for a genetic algorithms package for Python. I have googled the web before posting and found some links. The link of pygene(http://www.freenet.org.nz/python/pygene) cannot...
0
by: Vishal Patil | last post by:
Check out a new and simple Python base genetic algorithm framework at http://vishpat.googlepages.com/pgap -- Motivation will almost always beat mere talent.
8
by: sharadbags | last post by:
hi all I want to implement genetic algotithm using C++ for an optimisation problem can anyone suggest some good websites ,resources for programming in GA like tutorial etc. or anything helpful...
1
by: DumRat | last post by:
Hi, I wanted to create a genetic algorithm for this question : Suppose you are out shopping. You have to buy things from different n number of stores. And have to bring home the goods...
1
by: alpareshamwala | last post by:
pl. help me if u are good in genetic algorithms to implement the individuals and chromosomes... Alpa
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.