Denis, I misread your message - you're trying to limit the tree size
that occurs during crossover, is that correct? As opposed to the
size of trees generated during tree initialization operators. In
that case, you don't want to full with the parameters I told you.
Before I look further into this, what *are* your operators at
pop.subpop.0.species.pipe.source.0 and pop.subpop.
On Oct 27, 2006, at 6:18 AM, Denis Robilliard wrote:
> Indeed I also did set gp.koza.half.max-depth = 5 (and min-depth =
> 2) . I just tried it again and it still grows trees as big as if no
> size limit was given.
> Sean Luke a écrit :
>> maxdepth are used to control the depth of trees that crossover and
>> mutation can wind up with. If you're trying to control the size
>> of initial trees, or of the subtree generated during mutation, you
>> need to change your tree-builder's depth parameter. I think the
>> default uses ramped half-and-half as so:
>> gp.koza.half.min-depth = 2
>> gp.koza.half.max-depth = 6
>> On Oct 26, 2006, at 12:19 PM, Denis Robilliard wrote:
>>> When trying to obtain short trees, I first copied the two
>>> following lines from the koza.params file:
>>> # I want very short trees
>>> But the trees were as deep as before, until I replaced these
>>> lines with the following:
>>> pop.subpop.0.species.pipe.source.0.maxdepth = 5
>>> pop.subpop.0.species.pipe.source.1.maxdepth = 5
>>> Are the gp.koza.crossover/mutate.maxdepth params somehow
>>> discontinued ?
> Denis Robilliard
> Laboratoire d'Informatique du Littoral
> 50 rue Ferdinand Buisson
> 62100 CALAIS