Hi Paul,<div><br></div><div>Here is simple code snippet of evolution of GA  for generation</div><div><br></div><div><div>while( !ga.done() )</div><div>{</div><div>    ga.step();</div><div><br></div><div>   //Get current population from ga</div>

<div>   poulation = ga.population();</div><div><br></div><div>  // Get best genome from the population which will give u the best score</div><div>   genome = poulation.best();</div><div>    </div><div> //print your genome</div>

<div><br></div><div>}</div><div><br></div><div>Please correct me if I&#39;m wrong.</div><div><br></div><div>Sincerely,</div><div>Sandip</div><br><div class="gmail_quote">On Fri, Aug 20, 2010 at 9:32 PM,  <span dir="ltr">&lt;<a href="mailto:galib-request@mit.edu">galib-request@mit.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send galib mailing list submissions to<br>
        <a href="mailto:galib@mit.edu">galib@mit.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mailman.mit.edu/mailman/listinfo/galib" target="_blank">http://mailman.mit.edu/mailman/listinfo/galib</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:galib-request@mit.edu">galib-request@mit.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:galib-owner@mit.edu">galib-owner@mit.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of galib digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. How to print on the screen the best score of each generation<br>
      as the GA is evolving? (Paul Smith)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 20 Aug 2010 13:46:29 +0100<br>
From: Paul Smith &lt;<a href="mailto:phhs80@gmail.com">phhs80@gmail.com</a>&gt;<br>
Subject: [galib] How to print on the screen the best score of each<br>
        generation as the GA is evolving?<br>
To: <a href="mailto:galib@mit.edu">galib@mit.edu</a><br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTinNq%2Be%2BW6aLTC56tGHgOYV0c4MtT6fXZmokesxa@mail.gmail.com">AANLkTinNq+e+W6aLTC56tGHgOYV0c4MtT6fXZmokesxa@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Dear All,<br>
<br>
How to print on the screen the best score of each generation as the GA<br>
is evolving? Is that possible?<br>
<br>
Thanks in advance,<br>
<br>
Paul<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
galib mailing list<br>
<a href="mailto:galib@mit.edu">galib@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/galib" target="_blank">http://mailman.mit.edu/mailman/listinfo/galib</a><br>
<br>
<br>
End of galib Digest, Vol 83, Issue 1<br>
************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>I wish to walk alone always...but will be happy, if you with me....<br>
</div>