kikilizle at June 21st, 2011 11:19 — #1
I'm new in programming especially in this area. I'm kinda stuck in generating an initial population which i believe is the first step in a genetic algorithm. Can anyone please help...Thanks!!!
reedbeta at June 21st, 2011 13:23 — #2
Well, first you have to decide on the representation for your agents. What will the "genome" be? What parameters will it consist of, and what are the valid ranges for these parameters?
Once you've answered that question, generating an initial population should be easy - you just decide how many agents you want, and then for each agent, pick a random value for each of its parameters.
thenut at June 21st, 2011 13:35 — #3
Have a look at AI-Junkie's genetic algorithms tutorial. If you're itching to learn more, consider picking up his book. He explains genetic algorithms and artificial neural nets quite well.