src/GenFx/GeneticAlgorithm.cs
/// <summary>
/// Returns all <see cref="GeneticComponent"/> instances contained by this algorithm.
/// </summary>
/// <returns>All <see cref="GeneticComponent"/> instances contained by this algorithm.</returns>
Returns all  instances contained by this algorithm.
Returns all instances contained by this algorithm .
internal IEnumerable<GeneticComponent> GetAllComponents()
        {
            if (this.CrossoverOperator != null)
            {
                yield return this.CrossoverOperator;
            }
            if (this.ElitismStrategy != null)
            {
                yield return this.ElitismStrategy;
            }
            if (this.FitnessScalingStrategy != null)
            {
                yield return this.FitnessScalingStrategy;
            }
            if (this.MutationOperator != null)
            {
                yield return this.MutationOperator;
            }
            foreach (Metric metric in this.Metrics)
            {
                yield return metric;
            }
            foreach (Plugin pluginConfig in this.Plugins)
            {
                yield return pluginConfig;
            }
            if (this.Terminator != null)
            {
                yield return terminator;
            }
            yield return this.FitnessEvaluator!;
            yield return this.SelectionOperator!;
            yield return this.GeneticEntitySeed!;
            yield return this.PopulationSeed!;
        }
internal IEnumerable < GeneticComponent > GetAllComponents ( ) { if ( this . CrossoverOperator != null ) { yield return this . CrossoverOperator ; } if ( this . ElitismStrategy != null ) { yield return this . ElitismStrategy ; } if ( this . FitnessScalingStrategy != null ) { yield return this . FitnessScalingStrategy ; } if ( this . MutationOperator != null ) { yield return this . MutationOperator ; } foreach ( Metric metric in this . Metrics ) { yield return metric ; } foreach ( Plugin pluginConfig in this . Plugins ) { yield return pluginConfig ; } if ( this . Terminator != null ) { yield return terminator ; } yield return this . FitnessEvaluator ! ; yield return this . SelectionOperator ! ; yield return this . GeneticEntitySeed ! ; yield return this . PopulationSeed ! ; }
Returns all  instances contained by this algorithm.
Returns all instances contained by this algorithm .
All  instances contained by this algorithm.
All instances contained by this algorithm .