Click or drag to resize

UniformSelectionT Class

Uniform selection chooses each individual with equal probability.
Inheritance Hierarchy
SystemObject
  FinMath.MachineLearning.EvolutionaryAlgorithmsSelectionAlgorithmT
    FinMath.MachineLearning.EvolutionaryAlgorithmsUniformSelectionT

Namespace:  FinMath.MachineLearning.EvolutionaryAlgorithms
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public class UniformSelection<T> : SelectionAlgorithm<T>

Type Parameters

T
Individual's type.

The UniformSelectionT type exposes the following members.

Constructors
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNewGeneration
This method is called by genetic algorithm one time per generation before selection occurs.
(Overrides SelectionAlgorithmTNewGeneration(T, Double, Int32).)
Public methodSelect
This method is called each time genetic algorithm needs a parent for crossover.
(Overrides SelectionAlgorithmTSelect.)
Public methodSelect(T, T)
This method is called each time genetic algorithm needs two parents for crossover. This method calls Select() two times by default.
(Inherited from SelectionAlgorithmT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also