Skip to content

Commit

Permalink
maven deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
chen0040 committed Jun 17, 2017
1 parent d322d0e commit b694bb2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions README.md
Expand Up @@ -3,3 +3,28 @@ An optimization framework for multi-objective evolutionary algorithms

[![Build Status](https://travis-ci.org/chen0040/java-moea.svg?branch=master)](https://travis-ci.org/chen0040/java-moea) [![Coverage Status](https://coveralls.io/repos/github/chen0040/java-moea/badge.svg?branch=master)](https://coveralls.io/github/chen0040/java-moea?branch=master)

# Install

Add the follow dependency to your POM file:

```xml
<dependency>
<groupId>com.github.chen0040</groupId>
<artifactId>java-moea</artifactId>
<version>1.0.1</version>
</dependency>
```

# Usage

The following sample code shows how to use NSGA-II to solve the NDND 2-objective optimization problem:

```java
NSGAII algorithm = new NSGAII();
algorithm.getMediator().read(new TNK());
algorithm.getMediator().setPopulationSize(1000);
algorithm.getMediator().setMaxGenerations(100);
algorithm.setDisplayEvery(10);

NondominatedPopulation pareto_front = algorithm.solve();
```
6 changes: 3 additions & 3 deletions pom.xml
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.chen0040</groupId>
<artifactId>java-moea</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>


<licenses>
Expand Down Expand Up @@ -38,8 +38,8 @@
</issueManagement>


<name>Self-Organizing Feature Map</name>
<description>Java implementation of self-organizing feature map (Kohonen map)</description>
<name>Multi-Objective Optimization Framework</name>
<description>Multi-Objective Optimization Framework in Java</description>
<url>https://github.com/chen0040/java-moea</url>

<distributionManagement>
Expand Down

0 comments on commit b694bb2

Please sign in to comment.