예제 #1
0
  public void setup(final EvolutionState state, final Parameter base) {
    // very important, remember this
    super.setup(state, base);

    // set up our input -- don't want to use the default base, it's unsafe here
    input =
        (DoubleData)
            state.parameters.getInstanceForParameterEq(base.push(P_DATA), null, DoubleData.class);
    input.setup(state, base.push(P_DATA));
  }
예제 #2
0
 public void setup(final EvolutionState state, final Parameter base) {
   // very important, remember this
   super.setup(state, base);
   generateTrials(state, 0);
 }