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