C# Class Encog.Neural.Networks.Training.Genetic.NeuralGeneticAlgorithm

Inheritance: BasicTraining, IMultiThreadable
显示文件 Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Iteration ( ) : void

Perform one training iteration.

NeuralGeneticAlgorithm ( BasicNetwork network, IRandomizer randomizer, ICalculateScore calculateScore, int populationSize, double mutationPercent, double percentToMate ) : Encog.MathUtil.Randomize

Construct a neural genetic algorithm.

Pause ( ) : TrainingContinuation
Resume ( TrainingContinuation state ) : void

Method Details

Iteration() public final method

Perform one training iteration.
public final Iteration ( ) : void
return void

NeuralGeneticAlgorithm() public method

Construct a neural genetic algorithm.
public NeuralGeneticAlgorithm ( BasicNetwork network, IRandomizer randomizer, ICalculateScore calculateScore, int populationSize, double mutationPercent, double percentToMate ) : Encog.MathUtil.Randomize
network BasicNetwork The network to base this on.
randomizer IRandomizer The randomizer used to create this initial population.
calculateScore ICalculateScore The score calculation object.
populationSize int The population size.
mutationPercent double The percent of offspring to mutate.
percentToMate double The percent of the population allowed to mate.
return Encog.MathUtil.Randomize

Pause() public final method

public final Pause ( ) : TrainingContinuation
return TrainingContinuation

Resume() public final method

public final Resume ( TrainingContinuation state ) : void
state TrainingContinuation
return void