From 1fd678821cf133c7c431daea687f3467bb0be2dd Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 4 Feb 2014 16:20:33 +0000 Subject: Added fitness evaluation mechanism, though it might not be a very good design. Tests will be done to verify that. --- src/jcgp/population/Output.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/jcgp/population/Output.java') diff --git a/src/jcgp/population/Output.java b/src/jcgp/population/Output.java index 1640deb..eeae743 100644 --- a/src/jcgp/population/Output.java +++ b/src/jcgp/population/Output.java @@ -1,5 +1,7 @@ package jcgp.population; +import jcgp.CGP.Parameters; + public class Output implements MutableElement { @@ -15,4 +17,9 @@ public class Output implements MutableElement { } + @Override + public int getColumn() { + return Parameters.getColumns(); + } + } -- cgit v1.2.3