Re: [jgap-users] Reproduction by neighborhood
Brought to you by:
klausikm
From: Klaus M. <jg...@kl...> - 2013-02-15 10:36:08
|
Simon, good question. I think this is currently not implemented as JGAP core functionality. But of course you can do an implementation of your own: 1) NaturalSelectors such as BestChromosomesSelector or WeightedRouletteSelector do select, which chromosomes will be passed from the current to the next population 2) Genetic Operators such as CrossoverOperator or MutationOperator change single chromosomes, e.g. by crossing them over or by mutating them. So it seems as you need at least a custom CrossingoverOperator. If you have problems during implementation, please let me know. Best Klaus www.klaus-meffert.com <http://www.klaus-meffert.com/> _____ From: Simon Greaves [mailto:si...@ya...] Sent: Thursday, February 14, 2013 7:12 PM To: jga...@li... Subject: [jgap-users] Reproduction by neighborhood Hi, I'm trying to implement Cellular Genetic Algorithms using JGAP. This implies that reproduction doesn't happen between any two chromosomes, but only between two neighboring chromosomes. Is there something in JGAP that works this way already? I'm looking but I haven't found anything. If not then I suppose I need to implement my own, but I can't figure out if it's a natural selector that I need to implement... If you could point me to any way of introducing a way for reproduction between chromosomes to be limited by geography. Thanks a lot Simon |