src/GenFx/GeneticComponentWithAlgorithm.cs
/// <summary>
/// Initializes the component to ensure its readiness for algorithm execution.
/// </summary>
/// <param name="algorithm">The algorithm that is to use this component.</param>
Initializes the component to ensure its readiness for algorithm execution.
Initializes the component to ensure its readiness for algorithm execution .
public virtual void Initialize(GeneticAlgorithm algorithm)
        {
            this.Algorithm = algorithm ?? throw new ArgumentNullException(nameof(algorithm));
            this.IsInitialized = true;
        }
public virtual void Initialize ( GeneticAlgorithm algorithm ) { this . Algorithm = algorithm ?? throw new ArgumentNullException ( nameof ( algorithm ) ) ; this . IsInitialized = true ; }
Initializes the component to ensure its readiness for algorithm execution.
Initializes the component to ensure its readiness for algorithm execution .
algorithm
GeneticAlgorithm
The algorithm that is to use this component.
The algorithm that is to use this component .