From 0e34bfdb60c28a6118ec93893ddc7ceb6fa50cb5 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 4 Feb 2014 16:53:19 +0000 Subject: Started work on StandardEA, will require some modifications. --- src/jcgp/population/Population.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/jcgp/population') diff --git a/src/jcgp/population/Population.java b/src/jcgp/population/Population.java index e171a2f..c4a0776 100644 --- a/src/jcgp/population/Population.java +++ b/src/jcgp/population/Population.java @@ -17,6 +17,10 @@ public class Population implements Iterable { Parameters.getOutputs()); } } + + public Population(Chromosome ... chromosomes) { + population = chromosomes; + } @Override public Iterator iterator() { -- cgit v1.2.3