Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Update for 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Dec 9, 2022
1 parent bde7809 commit f2943ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.moeaframework</groupId>
<artifactId>moeaframework</artifactId>
<version>3.1</version>
<version>3.2</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/moeaframework/gd/GDMOEADProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private Algorithm newGDMOEAD(TypedProperties properties, Problem problem) {
populationSize = problem.getNumberOfObjectives();
}

Initialization initialization = new RandomInitialization(problem, populationSize);
Initialization initialization = new RandomInitialization(problem);

//default to de+pm for real-encodings
String operator = properties.getString("operator", null);
Expand Down Expand Up @@ -85,6 +85,7 @@ private Algorithm newGDMOEAD(TypedProperties properties, Problem problem) {

return new MOEAD(
problem,
populationSize,
neighborhoodSize,
weightGenerator,
initialization,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import org.junit.Assert;
import org.junit.Test;
import org.moeaframework.Analyzer;
import org.moeaframework.Executor;
import org.moeaframework.core.NondominatedPopulation;

Expand Down

0 comments on commit f2943ca

Please sign in to comment.