public LearningProcess(int populationCount, GeneticAlgorithmConfig alg, List <int> layerCounts, List <Type> neuronTypes) : base()
 {
     NewRandomPopulation(populationCount, layerCounts, neuronTypes);
     Generation               = 0;
     HistoricalData           = new List <ProcessData>();
     LearningAlgorithm.Config = alg;
 }
Esempio n. 2
0
 public GeneticAlgorithm()
 {
     CanSelfReproduce   = true;
     Random             = new TRandom();
     Config             = new GeneticAlgorithmConfig();
     Config.RandOptions = new RandomizerOptions(-1, 1);
 }