Public Member Functions | |
Every (int selectionSize) | |
Creates an instance, which returns selections of a certain size. | |
int[][] | Select (ref int selectionStartIndex, ref int selectionEndIndex, Population population) |
Selects genotypes from population . | |
int[][] | Select (Population population) |
Selects genotypes from population . | |
Protected Attributes | |
int | _selectionSize |
The number of indexes in a selection. | |
int[][] | _selection |
The selection that will be returned through Every.Select. |
This selection is useful for genetic operators like Mutation or GeneTransposition, where you want to apply it to every genotype.
It preserves the order of genotypes in Common.Population._genotypes
Definition at line 15 of file Every.cs.