/// <summary> /// The constructor sets up to train the neural network with a GA. /// </summary> /// <param name="genetic">The genetic algorithm to use.</param> /// <param name="network">The neural network to use.</param> public TrainingSetNeuralChromosome( TrainingSetNeuralGeneticAlgorithm genetic, FeedforwardNetwork network) { this.GA = genetic; this.Network = network; InitGenes(network.MatrixSize); UpdateGenes(); }