Exemplo n.º 1
0
 protected virtual void OnNewGeneration(GenerationResult <T, TScore> e)
 {
     NewGeneration?.Invoke(this, e);
 }
Exemplo n.º 2
0
 private bool IsEarlyStopConditionHit(GenerationResult <T, TScore> generationResult)
 {
     return(_earlyStoppingConditions.Any(condition =>
                                         condition.Match(generationResult)));
 }