<br>yeah but all that is written inside GAPopulation.clone() is this:<br><br><br>virtual GAPopulation * clone() const {return new GAPopulation(*this);} //this code is written //inside GAPopulation.h<br><br><div><span class="gmail_quote">
On 5/15/06, <b class="gmail_sendername">Neil S. Harmon</b> &lt;<a href="mailto:hneil@fastwebnet.it">hneil@fastwebnet.it</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It's a problem with the GAPopulation.<br><br>You need to go into the clone method and disable the partial copying (ATTRIBUTES<br>I think they called it).&nbsp;&nbsp;Make it copy the entire solution always.<br><br>That should fix it.
<br><br>Neil<br><br>&gt;-- Original Message --<br>&gt;Date: Sun, 14 May 2006 08:37:23 -0700<br>&gt;From: &quot;topojoy biswas&quot; &lt;<a href="mailto:topojoy.biswas@gmail.com">topojoy.biswas@gmail.com</a>&gt;<br>&gt;To: 
<a href="mailto:galib@mit.edu">galib@mit.edu</a><br>&gt;Subject: [galib] illegal program termination<br>&gt;<br>&gt;<br>&gt;In using the GASimpleGA(GaGenome &amp;) constructor i encountered a illegal<br>&gt;program termination error. On further analysis i found that the problem
<br>was<br>&gt;with clone() member funtion.... some how it is not being able to allocate<br>&gt;space for a new population object .. i dont know why.. i have chosen<br>&gt;population size to be 1 and then also the error is persisting. Could any
<br>&gt;one<br>&gt;help me with this problem..<br>&gt;<br>&gt;thank you,<br>&gt;<br>&gt;--<br>&gt;_________________________________________________________________________________<br>&gt;TOPOJOY BISWAS<br>&gt;Undergraduate(final year)
<br>&gt;Electrical Engineering Department<br>&gt;Jadavpur University<br>&gt;Kolkata<br>&gt;India<br>&gt;[University registration no:83377 of 2002-03<br>&gt;University roll no:02149<br>&gt;Sec-A2]<br>&gt;_______________________________________________
<br>&gt;galib mailing list<br>&gt;<a href="mailto:galib@mit.edu">galib@mit.edu</a><br>&gt;<a href="http://mailman.mit.edu/mailman/listinfo/galib">http://mailman.mit.edu/mailman/listinfo/galib</a><br><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>_________________________________________________________________________________<br>TOPOJOY BISWAS<br>Undergraduate(final year)<br>Electrical Engineering Department<br>Jadavpur University <br>
Kolkata<br>India<br>[University registration no:83377 of 2002-03<br>University roll no:02149<br>Sec-A2]<br>