GAGenome "copy" member

Filip Ginter fginter at volny.cz
Thu Feb 8 16:44:56 EST 2001


On Thu, 8 Feb 2001, Andre du Toit wrote:

Hello,

> Could anyone tell me if it is preferred to implement the GAGenome
> "copy" member as a deep copy or a shallow copy in a derived genome class?

If it was shallow copy only, crossovers and such things would then inpact
also other members of the population. I think, that it's meant so, that
the population is made of really separate individuals. And thus I
think you should use a deep copy.

Hope this helps.

   Filip

-- 

>------------------------------------------<
Filip GINTER
Czech republic, Europe, Earth, Solar system, Milky Way, Universe
fginter at volny.cz





More information about the galib mailing list