src/GenFx.Components/Algorithms/MultiDemeGeneticAlgorithm.cs
/// <summary>
/// Handles the event when a generation has been created.
/// </summary>
/// <param name="sender">Sender of the event.</param>
/// <param name="e">The event args.</param>
Handles the event when a generation has been created.
Handles the event when a generation has been created .
private void MultiDemeGeneticAlgorithm_GenerationCreated(object sender, EventArgs e)
        {
            if (this.CurrentGeneration % this.MigrateEachGeneration == 0)
            {
                this.Migrate();
            }
        }
private void MultiDemeGeneticAlgorithm_GenerationCreated ( object sender , EventArgs e ) { if ( this . CurrentGeneration % this . MigrateEachGeneration == 0 ) { this . Migrate ( ) ; } }
Handles the event when a generation has been created.
Handles the event when a generation has been created .
// We should only migrate on every generation increment as defined by the settings.
sender
object
Sender of the event.
Sender of the event .
e
EventArgs
The event args.
The event args .