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

    F_NOISE = state.parameters.getDouble(base.push(P_FNOISE), null, 0.0);
    if (F_NOISE < 0.0)
      state.output.fatal(
          "Parameter not found, or its value is below 0.0.", base.push(P_FNOISE), null);
  }
 public void setup(final EvolutionState state, final Parameter base) {
   super.setup(state, base);
   Parameter def = defaultBase();
   tossSecondParent = state.parameters.getBoolean(base.push(P_TOSS), def.push(P_TOSS), false);
 }