aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/JCGP.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/JCGP.java')
-rw-r--r--src/jcgp/JCGP.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jcgp/JCGP.java b/src/jcgp/JCGP.java
index 1742b6a..807739f 100644
--- a/src/jcgp/JCGP.java
+++ b/src/jcgp/JCGP.java
@@ -196,6 +196,7 @@ public class JCGP {
public int getTestCaseCount() {
return testCases.length;
}
+
}
private Resources resources = new Resources();
@@ -228,6 +229,7 @@ public class JCGP {
*/
private Population population;
+
public JCGP() {
population = new Population(resources);
@@ -358,5 +360,5 @@ public class JCGP {
nextGeneration();
}
// TODO print something?
- }
+ }
}