Show / Hide Table of Contents

Class TournamentSelectionOperator<TProblem, TSolution, TObjective, TFitness>

A selector selecting individials using a tournament base selection.

Inheritance
System.Object
TournamentSelectionOperator<TProblem, TSolution, TObjective, TFitness>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class TournamentSelectionOperator<TProblem, TSolution, TObjective, TFitness> : ISelectionOperator<TProblem, TSolution, TObjective, TFitness> where TObjective : ObjectiveBase<TProblem, TSolution, TFitness>
Type Parameters
TProblem

TSolution

TObjective

TFitness

Constructors

TournamentSelectionOperator()

Creates a new tournament base selector.

Declaration
public TournamentSelectionOperator()

TournamentSelectionOperator(Double, Double)

Creates a new tournament base selector.

Declaration
public TournamentSelectionOperator(double tournamentSize, double tournamentProbability)
Parameters
System.Double tournamentSize

System.Double tournamentProbability

Properties

Name

Returns the name of the operator.

Declaration
public string Name { get; }
Property Value
System.String

Implements
ISelectionOperator<TProblem, TSolution, TObjective, TFitness>.Name

Methods

Select(TProblem, TObjective, Individual<TSolution, TFitness>[], ISet<Int32>)

Selects a new solution for reproduction.

Declaration
public int Select(TProblem problem, TObjective objective, Individual<TSolution, TFitness>[] population, ISet<int> exclude)
Parameters
TProblem problem

TObjective objective

Individual<TSolution, TFitness>[] population

System.Collections.Generic.ISet<System.Int32> exclude

Returns
System.Int32

Back to top Built by Itinero, MIT licensed.