org.vizzini.ai.geneticprogramming
Class DefaultFunctionGenerator

java.lang.Object
  extended by org.vizzini.ai.geneticprogramming.AbstractFunctionGenerator
      extended by org.vizzini.ai.geneticprogramming.DefaultFunctionGenerator
All Implemented Interfaces:
IFunctionGenerator

public class DefaultFunctionGenerator
extends AbstractFunctionGenerator

Provides a default implementation of a function generator in genetic programming.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Constructor Summary
DefaultFunctionGenerator()
          Construct this object.
DefaultFunctionGenerator(Class returnType)
          Construct this object with the given parameters.
DefaultFunctionGenerator(Class returnType, int maxDepth)
          Construct this object with the given parameters.
 
Method Summary
 
Methods inherited from class org.vizzini.ai.geneticprogramming.AbstractFunctionGenerator
addFunction, addTerminal, create, createCompleteFunction, createNewInstanceOfFunctionAt, createNewInstanceOfTerminalAt, createTerminal, getFunctionCount, getFunctionCount, getFunctionList, getMaxDepth, getReturnType, getTerminalCount, getTerminalCount, getTerminalList, setMaxDepth, setReturnType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFunctionGenerator

public DefaultFunctionGenerator()
Construct this object.

Since:
v0.3

DefaultFunctionGenerator

public DefaultFunctionGenerator(Class returnType)
Construct this object with the given parameters.

Parameters:
returnType - Return type.
Since:
v0.3

DefaultFunctionGenerator

public DefaultFunctionGenerator(Class returnType,
                                int maxDepth)
Construct this object with the given parameters.

Parameters:
returnType - Return type.
maxDepth - Maximum depth of created functions.
Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02