If you add reset() to the last line of
public NEATPopulation(final int inputCount, final int outputCount, final int populationSize)
population genomes is filled properly. The previous versions has this line but in the master branch it is somehow deleted.
best regards
Note:
How can I get a write access to suggest sone fixes? Thx
public NEATPopulation(final int inputCount, final int outputCount,
final int populationSize) {
super(populationSize, null);
this.inputCount = inputCount;
this.outputCount = outputCount;
this.setNEATActivationFunction(new ActivationSteepenedSigmoid());
if (populationSize == 0) {
throw new NeuralNetworkError(
"Population must have more than zero genomes.");
}
reset();
}
If you add reset() to the last line of public NEATPopulation(final int inputCount, final int outputCount, final int populationSize) population genomes is filled properly. The previous versions has this line but in the master branch it is somehow deleted.
best regards
Note: How can I get a write access to suggest sone fixes? Thx
public NEATPopulation(final int inputCount, final int outputCount, final int populationSize) { super(populationSize, null); this.inputCount = inputCount; this.outputCount = outputCount;