예제 #1
0
 public void Initialize()
 {
     ParameterAdjusters.ForEach(mutation =>
     {
         mutation.Algorithm = Algorithm;
         mutation.Initialize();
     });
     Crossover.Algorithm = Algorithm;
     Crossover.Initialize();
     Mutations.ForEach(mutation =>
     {
         mutation.Algorithm = Algorithm;
         mutation.Initialize();
     });
 }
예제 #2
0
 public void Update()
 {
     ParameterAdjusters.ForEach(m => m.Update());
     Crossover.Update();
     Mutations.ForEach(mutation => mutation.Update());
 }