Aha, ok ok, i think that i should start to use CVS repositorys.. btw i finally achieve to run the example making some experiments, but it's nice to know that are on CVS.
Alejandro, what Keith means is that on the CVS repository there is a special directory called "contrib" which contains external contributed packages which are not part of ECJ proper. The GEP module is one of them. If you have access to CVS you can download the most recent GEP sources; otherwise contact Bob Orchard for a recent snapshot.
Sean
Alejandro Rodríguez González wrote:
The problem is that when i download the ECJ package ( http://www.cs.gmu.edu/~eclab/projects/ecj/ecj.tar.gz or http://www.cs.gmu.edu/~eclab/projects/ecj/ecj.zip ) , i don't have the contrib directory inside..
Maybe am i downloading the incorrect version?
On Tue, Jun 2, 2009 at 3:56 PM, Keith Sullivan <[log in to unmask] <mailto:[log in to unmask]>> wrote:> and found it on koders.com <http://koders.com>, i modify the
The GEP package is in the contrib directory. So Make sure that <ECJ
home>/contrib/gep is in your classpath.
Keith
On Tue, 2009-06-02 at 15:12 +0200, Alejandro Rodríguez González wrote:
> Hello,
>
>
> I'm trying to execute some examples of GEP extension for EJC
developed
> by Bob Orchard but i'm having some problems.
>
>
> After search some parameter files like "gep.params" and "ec.params"[log in to unmask] <mailto:[log in to unmask]> |
test1.param example of GEP
> examples in order to make the example works.
>
>
> The problem now is that ECJ can't find the class
> "GEPSimpleStatistics", that, in the test1.param file is mentioned to
> be used by ECJ:
>
>
> state = ec.gep.GEPSimpleStatistics
>
>
> The output that i obtain is the next:
>
>
> ________________
>
>
> C:\Descargas\ecj\ecj>java -classpath ./;./start/javacsv.jar ec.Evolve
> -file c:\D
escargas\ecj18Gep\ecj18MultipleChromosomes\ec\app\gep\test1
> \test1.params | ECJ | An evolutionary computation system (version 18)
> | By Sean Luke | Contributors: L. Panait, G. Balan, S. Paus, Z.
> Skolicki, R. Kicinger, E. Popov ici, | J. Harrison, J. Bassett, R.
> Hubley, A. Desai, and A. Chircop | URL:
> http://cs.gmu.edu/~eclab/projects/ecj/ | Mail:
> (better: join ECJ-INTEREST at URL above) | Date: June 23, 2008 |
> Current Java: 1.6.0_13 / Java HotSpot(TM) Client VM-11.3-b02 |
> Required Minimum Java: 1.3 Exception in thread "main"
> ec.util.ParamClassLoadException: Class not found:
> ec.gep.GEPSimpleStatistics PARAMETER: state EXCEPTION:
> java.lang.ClassNotFoundException: ec.gep.GEPSimpleStatistics at
> ec.util.ParameterDatabase.getInstanceForParameter(ParameterDatabase.j
> ava:451) at ec.Evolve.initialize(Evolve.java:362) at
> ec.Evolve.main(Evolve.java:627)
>
>
> ________________
>
>
> I was searching this classes, and i found that exists in EJC
> (
http://www.koders.com/noncode/fid450A0F990F704BEDED764BB1A30573181C3349C9.aspx?s=Pdef#L55
), but in the package that i download from original EJC page, this
classes are not included, and i don't know where download they.
>
>
> Can anyone help me with that?
>
>
> Thanks.
--
Alejandro Rodríguez González - Researcher
Computer Science Department
Universidad Carlos III de Madrid
http://www.alejandrorg.com
Telf: +34916245936