function
Class ZDTFunction

java.lang.Object
  extended by function.BasicVectorFunction
      extended by function.ZDTFunction
All Implemented Interfaces:
Computable, VectorFunction
Direct Known Subclasses:
ZDT1

public abstract class ZDTFunction
extends BasicVectorFunction

Base class for Zitzler-Deb-Thiele multi-objective optimization test problems.

Author:
dgorur

Field Summary
protected  double f1
           
protected  double g
           
protected  double h
           
 
Fields inherited from class function.BasicVectorFunction
DEFAULT_BOUNDS, DEFAULT_INPUT_DIMENSION, DEFAULT_OUTPUT_DIMENSION, VALUE_OUTSIDE_BOUNDS
 
Constructor Summary
ZDTFunction()
           
 
Method Summary
protected abstract  void computeF1(double[] x)
           
protected abstract  void computeG(double[] x)
           
protected abstract  void computeH()
           
protected static void makeBounds()
           
 void quickCompute(double[] x, double[] y)
          Abstract method that all subclasses must implement.
 
Methods inherited from class function.BasicVectorFunction
checkInputDimension, compute, compute, compute, compute, compute, getBounds, getInputDimension, getOutputDimension, init, isWithinBounds, quickCompute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

f1

protected double f1

g

protected double g

h

protected double h
Constructor Detail

ZDTFunction

public ZDTFunction()
Method Detail

makeBounds

protected static void makeBounds()

quickCompute

public void quickCompute(double[] x,
                         double[] y)
Description copied from class: BasicVectorFunction
Abstract method that all subclasses must implement. This is the core compute method that takes an input double array and returns an output double array.

Specified by:
quickCompute in interface VectorFunction
Specified by:
quickCompute in class BasicVectorFunction
Parameters:
x - input array.
y - output array.

computeF1

protected abstract void computeF1(double[] x)

computeG

protected abstract void computeG(double[] x)

computeH

protected abstract void computeH()