diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-03-09 23:32:05 +0000 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-03-09 23:32:05 +0000 |
commit | c0269683bcc7fde0d437ae84cd89a93d9d8fd81b (patch) | |
tree | 62ef738e29ae310dff513cc44193c5169c4ea4ca /src/jcgp/modules/function/Arithmetic.java | |
parent | d63d3145f0f2abcee1bb88457324f4aaf9b9320e (diff) |
Started refactoring backend in preparation for integration with the GUI
Diffstat (limited to 'src/jcgp/modules/function/Arithmetic.java')
-rw-r--r-- | src/jcgp/modules/function/Arithmetic.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/jcgp/modules/function/Arithmetic.java b/src/jcgp/modules/function/Arithmetic.java index 73debd2..aa5e9bf 100644 --- a/src/jcgp/modules/function/Arithmetic.java +++ b/src/jcgp/modules/function/Arithmetic.java @@ -1,7 +1,6 @@ package jcgp.modules.function; import jcgp.exceptions.InvalidArgumentsException; -import jcgp.parameters.Parameters; import jcgp.population.Connection; public class Arithmetic { @@ -19,9 +18,6 @@ public class Arithmetic { Integer arg2 = ((Integer) connections[1].getValue()); Integer result = arg1 + arg2; - if (Parameters.getDebug()) { - System.out.println(arg1 + " + " + arg2 + " = " + result); - } return result; } } @@ -45,9 +41,6 @@ public class Arithmetic { Integer arg2 = ((Integer) connections[1].getValue()); Integer result = arg1 - arg2; - if (Parameters.getDebug()) { - System.out.println(arg1 + " - " + arg2 + " = " + result); - } return result; } } @@ -71,11 +64,6 @@ public class Arithmetic { Integer arg2 = ((Integer) connections[1].getValue()); Integer result = arg1 * arg2; - if (Parameters.getDebug()) { - System.out.println(arg1 + " * " + arg2 + " = " + result); - } - - return result; } } @@ -103,12 +91,6 @@ public class Arithmetic { } else { result = arg1 / arg2; } - - - if (Parameters.getDebug()) { - System.out.println(arg1 + " / " + arg2 + " = " + result); - } - return result; } |