public IGenome ChooseParent()
{
IGenome baby;
// If there is a single member, then choose that one.
if (_members.Count == 1)
{
baby = _members[0];
}
else
{
// If there are many, then choose the population based on survival
// rate
// and select a random genome.
int maxIndexSize = (int) (_population.SurvivalRate*_members.Count) + 1;
var theOne = (int) RangeRandomizer.Randomize(0, maxIndexSize);
baby = _members[theOne];
}
return baby;
}