[galib] illegal program termination

topojoy biswas topojoy.biswas at gmail.com
Tue May 16 01:17:08 EDT 2006


yeah but all that is written inside GAPopulation.clone() is this:


virtual GAPopulation * clone() const {return new GAPopulation(*this);}
//this code is written //inside GAPopulation.h

On 5/15/06, Neil S. Harmon <hneil at fastwebnet.it> wrote:
>
> It's a problem with the GAPopulation.
>
> You need to go into the clone method and disable the partial copying
> (ATTRIBUTES
> I think they called it).  Make it copy the entire solution always.
>
> That should fix it.
>
> Neil
>
> >-- Original Message --
> >Date: Sun, 14 May 2006 08:37:23 -0700
> >From: "topojoy biswas" <topojoy.biswas at gmail.com>
> >To: galib at mit.edu
> >Subject: [galib] illegal program termination
> >
> >
> >In using the GASimpleGA(GaGenome &) constructor i encountered a illegal
> >program termination error. On further analysis i found that the problem
> was
> >with clone() member funtion.... some how it is not being able to allocate
> >space for a new population object .. i dont know why.. i have chosen
> >population size to be 1 and then also the error is persisting. Could any
> >one
> >help me with this problem..
> >
> >thank you,
> >
> >--
>
> >_________________________________________________________________________________
> >TOPOJOY BISWAS
> >Undergraduate(final year)
> >Electrical Engineering Department
> >Jadavpur University
> >Kolkata
> >India
> >[University registration no:83377 of 2002-03
> >University roll no:02149
> >Sec-A2]
> >_______________________________________________
> >galib mailing list
> >galib at mit.edu
> >http://mailman.mit.edu/mailman/listinfo/galib
>
>
>


-- 
_________________________________________________________________________________
TOPOJOY BISWAS
Undergraduate(final year)
Electrical Engineering Department
Jadavpur University
Kolkata
India
[University registration no:83377 of 2002-03
University roll no:02149
Sec-A2]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20060515/23cb0059/attachment.htm


More information about the galib mailing list