public void Initialize() { ParameterAdjusters.ForEach(mutation => { mutation.Algorithm = Algorithm; mutation.Initialize(); }); Crossover.Algorithm = Algorithm; Crossover.Initialize(); Mutations.ForEach(mutation => { mutation.Algorithm = Algorithm; mutation.Initialize(); }); }
public void Update() { ParameterAdjusters.ForEach(m => m.Update()); Crossover.Update(); Mutations.ForEach(mutation => mutation.Update()); }