ec.app.regression
Class Sextic

java.lang.Object
  extended by ec.Problem
      extended by ec.gp.GPProblem
          extended by ec.app.regression.Regression
              extended by ec.app.regression.Sextic
All Implemented Interfaces:
Prototype, Setup, SimpleProblemForm, java.io.Serializable, java.lang.Cloneable

public class Sextic
extends Regression

Sextic implements a Symbolic Regression problem.

The equation to be regressed is y = x^6 - 2x^4 + x^2, {x in [-1,1]}

This equation was introduced in J. R. Koza, GP II, 1994.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ec.app.regression.Regression
currentValue, input, inputs, outputs, P_SIZE, trainingSetSize
 
Fields inherited from class ec.gp.GPProblem
data, P_DATA, P_GPPROBLEM, P_STACK, stack
 
Fields inherited from class ec.Problem
P_PROBLEM
 
Constructor Summary
Sextic()
           
 
Method Summary
 double func(double x)
           
 
Methods inherited from class ec.app.regression.Regression
clone, evaluate, setup
 
Methods inherited from class ec.gp.GPProblem
defaultBase, describe
 
Methods inherited from class ec.Problem
canEvaluate, closeContacts, describe, evaluate, finishEvaluating, getBase, initializeContacts, prepareToEvaluate, reinitializeContacts, setBase
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ec.simple.SimpleProblemForm
canEvaluate, describe, describe, evaluate
 

Constructor Detail

Sextic

public Sextic()
Method Detail

func

public double func(double x)
Overrides:
func in class Regression