A Genetic Programming Framework for .NET

GPEngine.Run Method 

Performs a run of the Genetic Programming algorithm or, if a previous run was interrupted, resumes that run.

public void Run();

Remarks

The basic algorithm performed by the Run method is shown below. Links to the related class and methods involved are included for ease of reference.

CurrentGeneration = 0;
CreateRandomPopulation();
EvaluatePopulation();     // Tester
while( CurrentGeneration < GenerationLimit ) {
   ++CurrentGeneration;
   SelectBreeders();      // selection
   BreedChildren();       // recombination
   MutateChildren();      // mutation
   EvaluatePopulation();  // Tester
}

Exceptions

Exception Type Condition
InvalidOperationException Thrown when the Run method is called before the ProblemSpaceClasses property is set.

See Also

GPEngine Class | GeneticProgrammingEngine Namespace | run Term | Genetic Programming Term