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!!!
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.
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.