ECJ-INTEREST-L Archives

October 2008

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:
Daniel Lombraña González <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Mon, 20 Oct 2008 13:55:29 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
Hi to all,

I'm trying to use ECJ with GP and dynamic populations. I have been
searching in the mailing list and I found the following conversation:

https://listserv.gmu.edu/cgi-bin/wa?A2=ind0404&L=ECJ-INTEREST-L&P=R72&I=-3

I have tried that solution, but I get an error when the
CrossoverPipeline tries to create two new offsprings. The obtained
error is the following one:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 18

It seems that the variable "q" is getting out of the bound in the inds
array. I don't know how to fix this. It seems that the problem relies
on the initial population length = 20, which is not varied at all
during the evolution.

Any ideas?

PS: By the way, if using the proposed solution you increase the size
of the subpopulation you get an error because ECJ tries to compute the
fitness of a null individual :)

--
··························································································································································
PhD Candidate
Cátedra Ceta-Ciemat de la Universidad de Extremadura
http://gea.unex.es/catedra-ceta-ciemat/
Universidad de Extremadura
··························································································································································
Por favor, NO utilice formatos de archivo propietarios para el
intercambio de documentos, como DOC y XLS, sino HTML, RTF, TXT, CSV
o cualquier otro que no obligue a utilizar un programa de un
fabricante concreto para tratar la información contenida en él.
··························································································································································



-- 
··························································································································································
PhD Candidate
Cátedra Ceta-Ciemat de la Universidad de Extremadura
http://gea.unex.es/catedra-ceta-ciemat/
Universidad de Extremadura
··························································································································································
Por favor, NO utilice formatos de archivo propietarios para el
intercambio de documentos, como DOC y XLS, sino HTML, RTF, TXT, CSV
o cualquier otro que no obligue a utilizar un programa de un
fabricante concreto para tratar la información contenida en él.
··························································································································································

ATOM RSS1 RSS2