gpsys
Class ADFunction

java.lang.Object
  |
  +--gpsys.Primitive
        |
        +--gpsys.Function
              |
              +--gpsys.ADFunction
Direct Known Subclasses:
ADF2

public abstract class ADFunction
extends Function

An Automatically Defined Function is a Function that is evolved. ADFunctions take arguments just like other Functions. ADFunctions need to be defined by extending this class for each ADF taking arguments execept ADF0 (the root ADF).

Version:
$Revision: 1.1 $, $Date: 2000/07/05 16:21:25 $
Author:
Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.
See Also:
Function, Serialized Form

Field Summary
 int adfIndex
          should be set to the index corresponding to this ADF in the adf array defined in your GPParameters extension.
 
Fields inherited from class gpsys.Function
argTypes
 
Fields inherited from class gpsys.Primitive
type
 
Constructor Summary
ADFunction()
           
 
Methods inherited from class gpsys.Function
evaluateBoolean, evaluateByte, evaluateChar, evaluateDouble, evaluateFloat, evaluateInt, evaluateLong, evaluateObject, evaluateShort
 
Methods inherited from class gpsys.Primitive
instance, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

adfIndex

public int adfIndex
should be set to the index corresponding to this ADF in the adf array defined in your GPParameters extension.
See Also:
GPParameters
Constructor Detail

ADFunction

public ADFunction()