|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Evolutionary Progress PlotHi, how can I get the best individual from each generation during the evolution? I wanna plot a Evolutionary Progress in a chart like Fig. 3 on the link bellow:
http://lachlan.bluehaze.com.au/cpdnews98/art14.htm Thank you very much! Ary Junior ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ jgap-users mailing list jgap-users@... https://lists.sourceforge.net/lists/listinfo/jgap-users |
|
|
Re: Evolutionary Progress PlotAry,
please do the following:
for (int i = 0; i <
MAX_ALLOWED_EVOLUTIONS; i++) {
population.evolve(); IChromosome fittest =
population.determineFittestChromosome();
} For an example of how to paint charts, see package
examples.monalisa (thanx to Yann for the initial implementation of the Mona Lisa
Painting Problem).
Best
From: Ary Junior [mailto:aryjunior@...] Sent: Saturday, January 24, 2009 8:31 PM To: jgap-users@... Subject: [jgap-users] Evolutionary Progress Plot Hi, how can I get the best individual from each generation during the evolution? I wanna plot a Evolutionary Progress in a chart like Fig. 3 on the link bellow: ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ jgap-users mailing list jgap-users@... https://lists.sourceforge.net/lists/listinfo/jgap-users |
|
|
Re: Evolutionary Progress PlotHi Klaus, I did as you suggested and got the two attached EPP charts with two different problems... the axis labels translation is "Adsorption energy (eV) X Genertaions"... based on these charts I like to make any questions:
1) Is there elitism in JGAP? The best individual in one generation is cloned to the next generation? If no, how can I do it? 2) Can you explain me why I in my EPP chart, there are generations where the best individual is worse than the best individual of the previous generation? It can be checked by the peaks in the two charts. 3) When the individual pairs are selected for crossover, the criteria is the fitness function value or an probability expression based on this value that I return to JGAP in my FitnessFuction derived class? 4) For example, if I run JGAP with an initial population of 20 individuals over 40 generations, why the total of individuals evaluated in my fitness function is major than 800? Thank you very much!!! On Sun, Jan 25, 2009 at 2:49 PM, Klaus Meffert <jgap@...> wrote:
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ jgap-users mailing list jgap-users@... https://lists.sourceforge.net/lists/listinfo/jgap-users |
|
|
Re: Evolutionary Progress PlotAry,
please find my answers as follows:
1) Yes, but see 2) please. One operator in question is
org.jgap.impl.BestChromosomesSelector, another
org.jgap.impl.WeightedRouletteSelector
2) Maybe the configuration option
setPreservFittestIndividual is not used (when setting up your
configuration)
3) Could be both, please see source code of the operator
you are using, e.g. org.jgap.impl.CrossoverOperator
4) Will be added fo FAQ soon and explained more detailled:
This is because of internal handling.
Best
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ jgap-users mailing list jgap-users@... https://lists.sourceforge.net/lists/listinfo/jgap-users |
| Free embeddable forum powered by Nabble | Forum Help |