[galib] Bug report

AN NGO-THE ngothean at shaw.ca
Thu Mar 23 05:34:10 EST 2006


Hi all, 
There is a bug in the methods clone of all the classes SelectionScheme 
(GASelector.h) 

Starting with RankSelector 

class GARankSelector : public GASelectionScheme {
...
  virtual GASelectionScheme* clone() const { return new GARankSelector; }
...

This function does not clone!
Would be 

class GARankSelector : public GASelectionScheme {
...
virtual GASelectionScheme* clone() const { 
return new GARankSelector(*this); }
...


similar to all other classes in GASelector.h


Regards
An

Content-Type: multipart/alternative; boundary="0-1128324399-1142832568=:57749"


--0-1128324399-1142832568=:57749
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hai,
   
              Anybody knows how to change the default crossover operator of a representation , while customising composite genome???
                   Herewith i have attatched my coding which is similar to example 5 of the galib documentation. I m using galist representation as one of the composite genome representation.
            Can any body give suggestion how to change the crossover operator for that representation into Partial Match cross over (default is onepoint).
                         Thankyou
                                                                                    Sincerely,
                                                                                   Subha, IIT Madras
   
   
   
     
   
   

				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
--0-1128324399-1142832568=:57749
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>Hai,</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Anybody knows how to change the default crossover operator of a representation&nbsp;, while customising composite genome???</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Herewith i have attatched my coding which is similar to example 5 of the galib documentation.&nbsp;I m using galist representation as one of the composite genome representation.</DIV>  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Can any body give&nbsp;suggestion how to change the&nbsp;crossover&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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subha, IIT Madras</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;&nbsp; </DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV><p>
	

	
		<hr size=1> 
Jiyo cricket on <a href="http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/">Yahoo! India cricket</a><br>
<a href="http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/">Yahoo! Messenger Mobile</a> Stay in touch with your buddies all the time.
--0-1128324399-1142832568=:57749--
-------------- next part --------------
_______________________________________________
galib mailing list
galib at mit.edu
http://mailman.mit.edu/mailman/listinfo/galib


More information about the galib mailing list