public void Reset(GePrModel model) { _model = model; CrossoverProbability = _model.GetCrossoverProbability(); MutationProbability = _model.GetMutationProbability(); Population = new Population(_model.GetInitialGenome()); }
public void SetModel(GePrModel model) { _model = model; Population = new Population(_model.GetInitialGenome()); CrossoverProbability = _model.GetCrossoverProbability(); MutationProbability = _model.GetMutationProbability(); TimeEvolving = TimeSpan.Zero; Status.Initialisation = false; Status.Ready = true; }