From 2a655a0b1654a2721089f0f8d99b846d7e198f38 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Thu, 15 May 2014 09:16:20 +0100 Subject: Cleaned up a few comments --- src/jcgp/backend/modules/es/MuPlusLambda.java | 2 +- src/jcgp/backend/resources/ModifiableResources.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jcgp/backend') diff --git a/src/jcgp/backend/modules/es/MuPlusLambda.java b/src/jcgp/backend/modules/es/MuPlusLambda.java index 6a6870f..c2981cb 100644 --- a/src/jcgp/backend/modules/es/MuPlusLambda.java +++ b/src/jcgp/backend/modules/es/MuPlusLambda.java @@ -117,7 +117,7 @@ public class MuPlusLambda extends EvolutionaryStrategy { private void sort(Population population) { /* Create an array with the index of each of the current parents. * This is done to speed up the sort. No deep chromosome copies are - * made until the algorithm is finished; instead, only indices are copied. + * made until the sort is finished; instead, only indices are copied. */ int[] parents = new int[mu.get()]; for (int i = 0; i < parents.length; i++) { diff --git a/src/jcgp/backend/resources/ModifiableResources.java b/src/jcgp/backend/resources/ModifiableResources.java index 5df26e2..2b0c039 100644 --- a/src/jcgp/backend/resources/ModifiableResources.java +++ b/src/jcgp/backend/resources/ModifiableResources.java @@ -126,7 +126,7 @@ public class ModifiableResources extends Resources { /** * @param seed the seed to set. */ - public void setSeed(int seed) { + public void setSeed(long seed) { this.seed.set(seed); } -- cgit v1.2.3