src/GenFx/Plugin.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 override void Initialize(GeneticAlgorithm algorithm)
        {
            base.Initialize(algorithm);
#pragma warning disable CA1062 
            algorithm.FitnessEvaluated += Algorithm_FitnessEvaluated;
            algorithm.AlgorithmStarting += Algorithm_AlgorithmStarting;
            algorithm.AlgorithmCompleted += Algorithm_AlgorithmCompleted;
#pragma warning restore CA1062 
        }
public override void Initialize ( GeneticAlgorithm algorithm ) { base . Initialize ( algorithm ) ; pragma warning disable CA1062 algorithm . FitnessEvaluated += Algorithm_FitnessEvaluated ; algorithm . AlgorithmStarting += Algorithm_AlgorithmStarting ; algorithm . AlgorithmCompleted += Algorithm_AlgorithmCompleted ; pragma warning restore CA1062 }
Initializes the component to ensure its readiness for algorithm execution.
Initializes the component to ensure its readiness for algorithm execution .
// Validate arguments of public methods // Validate arguments of public methods
algorithm
GeneticAlgorithm
The algorithm that is to use this component.
The algorithm that is to use this component .