Hi Anais, This works for me: ---- ParameterDatabase problemParams = Evolve .loadParameterDatabase(new String[] { Evolve.A_FILE, "my_param_file.params" }); EvolutionState problemState = Evolve.initialize(problemParams, 0); ---- Cheers, Michael On 02/02/2008, at 12:19 AM, Anais Martínez wrote: > Hi. I'm trying to make a GA problem in which each evaluation of > individuals > is other GA. I've followed the example in this list of GA nested GP, > but it > doesn't work. > > My code is: > > --- > File f = new File("ec/app/EC/EC.params"); > try{ > dataB = new ParameterDatabase(f); > }catch(Exception e){ > System.out.println(e); > } > > state2 = Evolve.initialize(dataB,ECRandomOffset++); > --- > when it is executed, dataB has got all parameters of EC.params, but > state2 > doesn't. Where is the mistake? > > Thank you.