question about PushProgram.mutate

"Travis Kriplean" <[email protected]> Thu, 7 Apr 2005 15:03:58 -0500
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
Hi Jon, 

 

I have a question about the push mutation operator as implemented in breve.
The documentation states the following definition:

 

mutate with-max-new-code-size treeSize = 50 (int) with-interpreter
interpreter (object) 

Mutates this code object by adding a new subtree. The maximum size of the
subtree is specified in the optional argument treeSize, which has a default
value of 50. The interpreter provided determines the instruction set used to
generate the random code.      

However, this form of mutation isn't necessarily the most proper for my
purposes. The functionality I'm looking for in a mutation operator is not
adding another subtree (although I'd like to use this operator also), but
rather one that has a small chance of changing each existing function of a
program into a different function from the function set. Is this operator
represented under a different name? 

 

I looked at the pushprogram implementation, but it is just a front to
hooking into the core breve engine. If the functionality isn't implemented
elsewhere, would it be possible to add this additional mutation operator?

 

Thanks,

Travis

_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve