= ((NEATTraining) getGeneticAlgorithm())
.getInnovations().checkInnovation(newNeuronID, to,
NEATInnovationType.NewLink);
if ((innovationLink1 == null) || (innovationLink2 == null)) {
throw new NeuralNetworkError("NEAT Error");
}
final NEATLinkGene link1 = new NEATLinkGene(from, newNeuronID,
true, innovationLink1.getInnovationID(), 1.0, false);
final NEATLinkGene link2 = new NEATLinkGene(newNeuronID, to, true,