From b694bb2a6551d6a37e85805ded0e59cde4f485e8 Mon Sep 17 00:00:00 2001 From: xschen Date: Sat, 17 Jun 2017 22:33:54 +0800 Subject: [PATCH] maven deployed --- README.md | 25 +++++++++++++++++++++++++ pom.xml | 6 +++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d0e4ff2..b133b89 100644 --- a/README.md +++ b/README.md @@ -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 + + com.github.chen0040 + java-moea + 1.0.1 + +``` + +# 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(); +``` diff --git a/pom.xml b/pom.xml index 425520c..c1f7a6c 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.chen0040 java-moea - 1.0.1 + 1.0.2 @@ -38,8 +38,8 @@ - Self-Organizing Feature Map - Java implementation of self-organizing feature map (Kohonen map) + Multi-Objective Optimization Framework + Multi-Objective Optimization Framework in Java https://github.com/chen0040/java-moea