org.encog.ml.genetic
Class BasicGeneticAlgorithm

java.lang.Object
  extended by org.encog.ml.genetic.GeneticAlgorithm
      extended by org.encog.ml.genetic.BasicGeneticAlgorithm
All Implemented Interfaces:
MultiThreadable
Direct Known Subclasses:
NeuralGeneticAlgorithm.NeuralGeneticAlgorithmHelper

public class BasicGeneticAlgorithm
extends GeneticAlgorithm

Provides a basic implementation of a genetic algorithm.


Constructor Summary
BasicGeneticAlgorithm()
           
 
Method Summary
 void iteration()
          Modify the weight matrix and bias values based on the last call to calcError.
 
Methods inherited from class org.encog.ml.genetic.GeneticAlgorithm
addSpeciesMember, calculateScore, getCalculateScore, getComparator, getCrossover, getMatingPopulation, getMutate, getMutationPercent, getPercentToMate, getPopulation, getThreadCount, setCalculateScore, setComparator, setCrossover, setMatingPopulation, setMutate, setMutationPercent, setPercentToMate, setPopulation, setThreadCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicGeneticAlgorithm

public BasicGeneticAlgorithm()
Method Detail

iteration

public final void iteration()
Modify the weight matrix and bias values based on the last call to calcError.

Specified by:
iteration in class GeneticAlgorithm
Throws:
NeuralNetworkException


Copyright © 2012. All Rights Reserved.