ECJ-INTEREST-L Archives

January 2016

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text 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:
Atm Golam Bari <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Sat, 9 Jan 2016 17:08:45 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
Is there any way to completely avoid selection operators from breeding pipeline? 
I want to pass each individual ( from index zero to max-1) from down to top of the pipeline without using any selection algorithm.

#. I tried omitting the sources (ie. base.source.0, base.source.1) in param file but it does not permit to omit them. 

#. Tried to override the alternate produce(, ,) which returns the index of the selected individual as follows :

       private int index = -1;
       produce (subpop, state , thread) {
          //just increment and return the index
       }
then putting the child selection class (say x) for base.source.0 = x, base.source.1 = x guessing that individual 1 will be selected from both sources and that ind will be passed to the top of the pipeline, then individual 2 will be selected and so on until index goes to max - 1. But I am not getting the expected result as it should be. So, I hope that I am missing something. Any clue?

Thanks in advance,
-Bari 

ATOM RSS1 RSS2