<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2>Hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2>I am having a problem
in using GALib for solving a routing problem.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2>1. using
GARouletteWheelSelector, if I select from a population, after the first two
selections, it repeats the same individual for the following selections. Kindly
let me know the reason for the same and if possible, how to avoid this
behaviour.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2>2. Next after crossover and
mutation, I have a new set of individuals. When I try adding them the code hangs
there.</FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2>I have traced that it hangs
in the following position of GAPopulation.C</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 face="Comic Sans MS"
size=2>int<BR>GAPopulation::grow(unsigned int s) {<BR> if(s <= N)
return N;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2> int oldsize =
N;<BR> while(N < s) N += csz;<BR></FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2>Out here csz becomes 0. Any
suggestions on how to overcome this. What are the properties of the population
on which csz depends? So that I can accordingly set it.</FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2></FONT> </DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2>Thanks in advance and
waiting for a response,</FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS" size=2>Regards,</FONT></DIV>
<DIV><FONT color=#000080 face="Comic Sans MS"
size=2>Pragyan</FONT></DIV></BODY></HTML>