Print

Print


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.