diff options
Diffstat (limited to 'src/jcgp/population/Population.java')
-rw-r--r-- | src/jcgp/population/Population.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/jcgp/population/Population.java b/src/jcgp/population/Population.java index b56d992..fb968fb 100644 --- a/src/jcgp/population/Population.java +++ b/src/jcgp/population/Population.java @@ -11,10 +11,7 @@ public class Population implements Iterable<Chromosome> { public Population() { population = new Chromosome[Parameters.getPopulationSize()]; for (int c = 0; c < population.length; c++) { - population[c] = new Chromosome(Parameters.getInputs(), - Parameters.getRows(), - Parameters.getColumns(), - Parameters.getOutputs()); + population[c] = new Chromosome(); } } |