Skip to content

Commit

Permalink
downgrade Java dependency to 1.8 for maximum compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Debabrata Acharya authored and Debabrata Acharya committed May 21, 2020
1 parent 25a4698 commit 19d192f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.debacharya</groupId>
<artifactId>nsgaii</artifactId>
<version>3.0.1</version>
<version>3.0.2</version>
<packaging>jar</packaging>

<inceptionYear>2019</inceptionYear>
Expand Down Expand Up @@ -153,7 +153,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>13</maven.compiler.source>
<maven.compiler.target>13</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>
</project>
8 changes: 8 additions & 0 deletions src/main/java/com/debacharya/nsgaii/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@

import java.util.List;

/**
* The Configuration class is used to setup the runtime settings of the NSGA-II algorithm.
* Since a lot of the settings within the algorithm can be changed, this class manages them all.
* An instance of this class is needed to be setup before creating an instance of
* NSGA2 class or running the algorithm. Changing settings of an instance of a Configuration class between
* runs will also reflect immediately on the result. This means that, if required (but almost rarely),
* the configuration of the algorithm within the same run can be changed dynamically.
*/
public class Configuration {

public static final String CONFIGURATION_NOT_SETUP = "The NSGA-II configuration object is not setup properly!";
Expand Down

0 comments on commit 19d192f

Please sign in to comment.