Artificial Mind Help

GenerationalGA Members

GenerationalGA overview

Public Instance Constructors

GenerationalGA ConstructorInitializes a new instance of the GenerationalGA class.

Public Instance Properties

BestPopulationsHistorySize (inherited from GeneticAlgorithm) Specifies the number of best populations to keep.
GenerationNumber (inherited from GeneticAlgorithm) Current generation number.
KinFitnessDecrease The value from 0 to 1 that used to decrease fittness of identical members of the population (all the kins).
MutationRate A chance of individual to mutate.
OptimizationType (inherited from GeneticAlgorithm) Specifies desired optimization type for the problem.
SelectionType Selection type to use int the algorithm.
TargetEvaluation A desired value of evaluation function.
TargetEvaluationTolerance A tollerance for desired value. The Gene with evaluation value equals TargetEvaluation+- tollerance considered to be a solution.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Evolve (inherited from GeneticAlgorithm)Overloaded. 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 (inherited from GeneticAlgorithm) Ocures when new generation has been born and evaluated.
SolutionFound (inherited from GeneticAlgorithm) Ocures when the problem solution has been found.

Protected Instance Fields

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

Protected Instance Methods

EvaluatePopulation Evaluates population. Assigns array of evalutaion and fittnes 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 GA implementation overrides this method to find the solution in current population.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnNewGeneration (inherited from GeneticAlgorithm) Raises the NewGeneration event.
OnSolutionFound (inherited from GeneticAlgorithm) 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

GenerationalGA Class | AnticipatingMinds.ArtificialMind.GeneticAlgorithms Namespace