Click or drag to resize

StochasticUniformSelectionT Class

Stochastic uniform lays out a line in which each parent corresponds to a section of the line of length proportional to its scaled value. The algorithm moves along the line in steps of equal size. At each step, the algorithm allocates a parent from the section it lands on.
Inheritance Hierarchy
SystemObject
  FinMath.MachineLearning.EvolutionaryAlgorithmsSelectionAlgorithmT
    FinMath.MachineLearning.EvolutionaryAlgorithmsStochasticUniformSelectionT

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

Type Parameters

T
Individual's type.

The StochasticUniformSelectionT 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