/*
  Copyright 2012 by Sean Luke
  Licensed under the Academic Free License version 3.0
  See the file "LICENSE" for more information
*/


package ec.app.regression.func;
import ec.*;
import ec.app.regression.*;
import ec.gp.*;
import ec.util.*;
import java.io.*;


/* 
 * KeijzerERC.java
 * 
 * Created: Wed Nov  3 18:26:37 1999
 * By: Sean Luke

 

This ERC appears in the Keijzer function set. It is defined as a random value drawn from a Gaussian distriution with a mean of 0.0 and a standard deviation of 5.0.

M. Keijzer. Improving Symbolic Regression with Interval Arithmetic and Linear Scaling. In Proc. EuroGP. 2003. */ /** * @author Sean Luke * @version 1.0 */ public class KeijzerERC extends RegERC { public static final double MEAN = 0.0; public static final double STANDARD_DEVIATION = 5.0; public String name() { return "KeijzerERC"; } public void resetNode(final EvolutionState state, final int thread) { value = MEAN + state.random[thread].nextGaussian() * STANDARD_DEVIATION; } }

Ads help maintain this website.