Hello,
I am completely new to genetic algorithm, so can anyone please help answering some of my questions below?
- Based on what I read, natural selection selects chromosomes to be mated by genetic operators, but why does the doc on Configuration says, "Normally, you would add a selector that is applied after the genetic operators are processed (a_processBeforeGeneticOperators = false)." Also, in one evolution, how many times does a natural selector runs? How many chromosomes does it select? Does it run until all the population is selected? If not, what happens to those that are not selected?
- Is there any example of implementing a natural selector?
- When I plug in the code:
- Configuration conf = new DefaultConfiguration();
- NaturalSelector roulette = new WeightedRouletteSelector(conf);
- conf.addNaturalSelector(roulette, false);
- I got an error of java.lang.NoClassDefFoundError: gnu/trove/THashMap. When I take out the conf in the constructor, it gave me java.lang.IllegalArgumentException: Configuration must not be null! This only happens with WeightedRouletteSelector, so what is really the problem?
Thanks you so much!
Sincerely,
Rick
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free!
http://p.sf.net/sfu/Citrix-VDIinabox_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users