Skip to content

Commit ce99cab

Browse files
committed
bugfix for MA with Clearing
1 parent 82a5ca7 commit ce99cab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ First, you need to add the following repository, which is a repository that can
4444
```
4545

4646
Than you can add the dependency on our `aitoa-code` repository into your `dependencies` section.
47-
Here, `0.8.51` is the current version of `aitoa-code`.
47+
Here, `0.8.52` is the current version of `aitoa-code`.
4848
Notice that you may have more dependencies in your `dependencies` section, say on `junit`, but here I just put the one for `aitoa-code` as example.
4949

5050
```xml
5151
<dependencies>
5252
<dependency>
5353
<groupId>com.github.thomasWeise</groupId>
5454
<artifactId>aitoa-code</artifactId>
55-
<version>0.8.51</version>
55+
<version>0.8.52</version>
5656
</dependency>
5757
</dependencies>
5858
```

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>aitoa</groupId>
77
<artifactId>aitoa-code</artifactId>
8-
<version>0.8.51</version>
8+
<version>0.8.52</version>
99
<packaging>jar</packaging>
1010
<name>aitoa-code</name>
1111
<description>Example Source Codes from the Book "Introduction to Optimization Algorithms"</description>

src/main/java/aitoa/algorithms/MAWithClearing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public final void solve(final IBlackBoxProcess<X, Y> process) {
230230
binary.apply(sel.x, P[p2].x, dest.x, random);
231231
dest.quality = process.evaluate(dest.x);
232232
} // the end of the offspring generation
233-
localSearchStart = this.mu; // ls only for lambda new
233+
localSearchStart = u; // ls only for lambda +mu-u new
234234
} // the end of the main loop
235235
} // end of the restart loop
236236
}

0 commit comments

Comments
 (0)