1. I would suggest subclass the Individual class. YourIndividual class stores a number indicating number of trees, and ofc, bunch of trees.

2. 3. I believe you need to write your own crossover for that purpose. And you can do so. You should be able to find good clues in subclasses of BreedingPipeline. http://cs.gmu.edu/~eclab/projects/ecj/docs/classdocs/index.html.



On Thu, Feb 20, 2014 at 9:40 AM, Emre AYDO&#286;AN <[log in to unmask]> wrote:
Hi, I want to ask some questions about genetic programming.

Firstly, (1)Can each Individual classes separately hold trees in different number?
So, first Individual holds 3 trees, second Individual holds 6 trees, ..., thirtieth
Individual holds 10 trees and etc. Is this possible?

if this is possible, in default crossover class, for example (2)will the crossover
be between first Individual's first tree and thirtieth Individual's first tree? or
(3)can the crossover be first Individual's third tree and thirtieth Individual's sixth
tree?

if the default crossover class can't do like this, can i manually write my own
Crossover class that do crossover like i said in (3) questions?

Thanks.