org.encog.ml.genetic
Class BasicGeneticAlgorithm
java.lang.Object
org.encog.ml.genetic.GeneticAlgorithm
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.
|
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 |
BasicGeneticAlgorithm
public BasicGeneticAlgorithm()
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.