TournamentSelection Members

GeneticSharp

TournamentSelection Members GeneticSharp

The TournamentSelection type exposes the following members.

Constructors

  NameDescription
Public methodTournamentSelection 
Initializes a new instance of the TournamentSelection class.
Remarks

The default Size is 2. The default AllowWinnerCompeteNextTournament is true.
Public methodTournamentSelection(Int32)
Initializes a new instance of the TournamentSelection class.
Remarks

The default AllowWinnerCompeteNextTournament is true.
Public methodTournamentSelection(Int32, Boolean)
Initializes a new instance of the TournamentSelection class.
Back to Top
Methods

  NameDescription
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.)
Protected methodPerformSelectChromosomes
Performs the selection of chromosomes from the generation specified.
(Overrides SelectionBase PerformSelectChromosomes(Int32, Generation).)
Public methodSelectChromosomes
Selects the number of chromosomes from the generation specified.
(Inherited from SelectionBase.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyAllowWinnerCompeteNextTournament
Gets or sets if allow any winner in a tournament to participate in the next tournament.
Remarks

In other words, if you want to allow a chromosome be selected more the one time.
Public propertySize
Gets or sets the size of the tournament.
Remarks

In other words, the number of chromosomes that will participate of each tournament until all need chromosomes be selected.
Back to Top
See Also