ECJ-INTEREST-L Archives

February 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Xiaomeng Ye <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Thu, 20 Feb 2014 11:46:34 -0500
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1158 bytes) , text/html (1675 bytes)
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.
>


ATOM RSS1 RSS2