diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-02-04 16:53:19 +0000 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-02-04 16:53:19 +0000 |
commit | 0e34bfdb60c28a6118ec93893ddc7ceb6fa50cb5 (patch) | |
tree | 77f27ba5656e31e3bd75aebf21a96a840f813667 /src/jcgp/population | |
parent | 1fd678821cf133c7c431daea687f3467bb0be2dd (diff) |
Started work on StandardEA, will require some modifications.
Diffstat (limited to 'src/jcgp/population')
-rw-r--r-- | src/jcgp/population/Population.java | 4 |
1 files changed, 4 insertions, 0 deletions
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<Chromosome> { Parameters.getOutputs()); } } + + public Population(Chromosome ... chromosomes) { + population = chromosomes; + } @Override public Iterator<Chromosome> iterator() { |