-
-
Notifications
You must be signed in to change notification settings - Fork 335
/
ISelection.cs
21 lines (20 loc) · 999 Bytes
/
ISelection.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System.Collections.Generic;
namespace GeneticSharp
{
/// <summary>
/// Defines a interface for selection.
/// Selection is the stage of a genetic algorithm in which individual genomes are chosen from a population for later breeding (recombination or crossover).
/// <see href="http://en.wikipedia.org/wiki/Selection_(genetic_algorithm)">Wikipedia</see>
/// <see href=" http://www.ijest.info/docs/IJEST11-03-05-190.pdf">A Review of Selection Methods in Genetic Algorithm</see>
/// </summary>
public interface ISelection
{
/// <summary>
/// Selects the number of chromosomes from the generation specified.
/// </summary>
/// <returns>The selected chromosomes.</returns>
/// <param name="number">The number of chromosomes to select.</param>
/// <param name="generation">The generation where the selection will be made.</param>
IList<IChromosome> SelectChromosomes(int number, Generation generation);
}
}