org.vizzini.ai.geneticprogramming
Interface IGeneticAlgorithmGP

All Superinterfaces:
IGeneticAlgorithm
All Known Subinterfaces:
IGameGeneticAlgorithmGP
All Known Implementing Classes:
AbstractGeneticAlgorithmGP, Ant, CartCentering, CharacterRecognition, SymbolicRegression, TicTacToeGeneticAlgorithmGP, XOR

public interface IGeneticAlgorithmGP
extends IGeneticAlgorithm

Defines methods required by a genetic programming genetic algorithm.

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

Method Summary
 void addFunction(IFunction function)
          Add a function exemplar to the function set.
 void addTerminal(ITerminal terminal)
          Add a terminal exemplar to the terminal set.
 int getFunctionCount()
          Return the function count.
 int getTerminalCount()
          Return the terminal count.
 
Methods inherited from interface org.vizzini.ai.geneticalgorithm.IGeneticAlgorithm
getCrossoverFraction, getCrossoverType, getElapsedTime, getGeneration, getMostFit, getMutationFraction, getMutationMagnitude, getMutationRate, getPopulationSize, getProcessingRate, reset, runGenerations, setAverageCrossoverFraction, setCrossoverFraction, setCrossoverType, setDuplicateAllowed, setMutationFraction, setMutationMagnitude, setMutationRate, setPopulationSize, writeReport
 

Method Detail

addFunction

void addFunction(IFunction function)
Add a function exemplar to the function set.

Parameters:
function - Function exemplar.
Since:
v0.3

addTerminal

void addTerminal(ITerminal terminal)
Add a terminal exemplar to the terminal set.

Parameters:
terminal - Terminal exemplar.
Since:
v0.3

getFunctionCount

int getFunctionCount()
Return the function count.

Since:
v0.3

getTerminalCount

int getTerminalCount()
Return the terminal count.

Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02