Artificial Mind Help

GeneticAlgorithm Members

GeneticAlgorithm overview

Public Instance Properties

BestPopulationsHistorySize Specifies the number of best populations to keep.
GenerationNumber Current generation number.
OptimizationType Specifies desired optimization type for the problem.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
EvolveOverloaded. Start searching for problem solution.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

NewGeneration Ocures when new generation has been born and evaluated.
SolutionFound Ocures when the problem solution has been found.

Protected Instance Constructors

GeneticAlgorithm Constructor Initializes GeneticAlgorithm class instance.

Protected Instance Fields

bestPopulations holds an array of nest populations.
bestSolutionsHistorySize specifies the length (size) of the best population history.
currentGenerationNumber holds current generation number.

Protected Instance Methods

EvaluatePopulation Evaluates population and calculates population fitness. Assigns array of evalutaion and fitness properties for population.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindSolution The child class overrides this method to find a solution in current population.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnNewGeneration Raises the NewGeneration event.
OnSolutionFound Raises the SolutionFound event.
PerformCrossover Selects individuals from currentPopulation and adds their children to intermediatePopulation until intermediatePopulation size becomes equal currentPopulation size.
PerformMutation Performs mutations on members of intermediatePopulation. After that step intermediatePopulation becomes current population.
PerformSelection Selects individuals from currentPopulation and adds their clones to intermediatePopulation.

See Also

GeneticAlgorithm Class | AnticipatingMinds.ArtificialMind.GeneticAlgorithms Namespace