BestPopulationsHistorySize | Specifies the number of best populations to keep. |
GenerationNumber | Current generation number. |
OptimizationType | Specifies desired optimization type for the problem. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
Evolve | 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. |
NewGeneration | Ocures when new generation has been born and evaluated. |
SolutionFound | Ocures when the problem solution has been found. |
GeneticAlgorithm Constructor | Initializes GeneticAlgorithm class instance. |
bestPopulations | holds an array of nest populations. |
bestSolutionsHistorySize | specifies the length (size) of the best population history. |
currentGenerationNumber | holds current generation number. |
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. |
GeneticAlgorithm Class | AnticipatingMinds.ArtificialMind.GeneticAlgorithms Namespace