[galib] Multiple destuctor calls

Erik Chelstad chelstad at gmail.com
Wed Mar 28 02:02:29 EDT 2007


Hi, I'm pretty new to the GaLib, so perhaps I'm missing something, but I've
derived a new class based upon GAGenome,
and when I create a GASimpleGA and call the populationSize method, I notice
the destructor to my derived class being called about 40 times, with the
constructor
only being called once.

Am I doing something wrong, or is this expected behavior?

Thanks!

 - Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20070327/e4f61d44/attachment.htm


More information about the galib mailing list