src/GenFx/ElitismStrategy.cs
/// <summary>
/// Returns the collection of <see cref="GeneticEntity"/> objects from the <paramref name="population"/>
/// that are to be treated as elite and move on to the next generation unchanged.
/// </summary>
/// <param name="population"><see cref="Population"/> containing the <see cref="GeneticEntity"/> objects
/// from which to select.</param>
/// <returns>
/// The collection of <see cref="GeneticEntity"/> objects from the <paramref name="population"/>
/// that are to be treated as elite.
/// </returns>
/// <exception cref="ArgumentNullException"><paramref name="population"/> is null.</exception>
/// <exception cref="ArgumentException"><paramref name="population"/> contains no entities.</exception>
Returns the collection of  objects from the
that are to be treated as elite and move on to the next generation unchanged.
Returns the collection of objects from the that are to be treated as elite and move on to the next generation unchanged .
public IList<GeneticEntity> GetEliteEntities(Population population)
        {
            if (population == null)
            {
                throw new ArgumentNullException(nameof(population));
            }
            if (population.Entities.Count == 0)
            {
                throw new ArgumentException(Resources.ErrorMsg_EntityListEmpty, nameof(population));
            }
            return this.GetEliteGeneticEntitiesCore(population);
        }
public IList < GeneticEntity > GetEliteEntities ( Population population ) { if ( population == null ) { throw new ArgumentNullException ( nameof ( population ) ) ; } if ( population . Entities . Count == 0 ) { throw new ArgumentException ( Resources . ErrorMsg_EntityListEmpty , nameof ( population ) ) ; } return this . GetEliteGeneticEntitiesCore ( population ) ; }
Returns the collection of  objects from the
that are to be treated as elite and move on to the next generation unchanged.
Returns the collection of objects from the that are to be treated as elite and move on to the next generation unchanged .
The collection of  objects from the
that are to be treated as elite.
The collection of objects from the that are to be treated as elite .
None
contains no entities.
contains no entities .
population
Population
containing the  objects
from which to select.
containing the objects from which to select .