예제 #1
0
 public ToDoAction EvolveIterate()
 {
     if (_population.GenerationCount > 1)
     {
         var parents  = _Select();
         var children = _Cross(parents);
         _Mutate(children);
         children = _Adjustment(children, parents);
         _population.GenerateGeneration(children);
     }
     return(_TryEndEvolveIterate() ? ToDoAction.Stop : ToDoAction.Continue);
 }