Population Members

GeneticSharp

Population Members GeneticSharp

The Population type exposes the following members.

Constructors

  NameDescription
Public methodPopulation
Initializes a new instance of the Population class.
Back to Top
Methods

  NameDescription
Public methodCreateInitialGeneration
Creates the initial generation.
Public methodCreateNewGeneration
Creates a new generation.
Public methodEndCurrentGeneration
Ends the current generation.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the type of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyBestChromosome
Gets the best chromosome.
Public propertyCreationDate
Gets the creation date.
Public propertyCurrentGeneration
Gets the current generation.
Public propertyGenerations
Gets the generations.
Remarks

The information of Generations can vary depending of the IGenerationStrategy used.
Public propertyGenerationsNumber
Gets the total number of generations executed.
Remarks

Use this information to know how many generations have been executed, because Generations.Count can vary depending of the IGenerationStrategy used.
Public propertyGenerationStrategy
Gets os sets the generation strategy.
Public propertyMaxSize
Gets the size of the max.
Public propertyMinSize
Gets the minimum size.
Back to Top
Events

  NameDescription
Public eventBestChromosomeChanged
Occurs when best chromosome changed.
Back to Top
See Also