Skip to content

Proyect developed in Java 1.8 to solve optimization problems minimize cost or fitness funtion associate by user.

Notifications You must be signed in to change notification settings

ARomoH/Genetic-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Genetic-Algorithm

Proyect developed in Java 1.8 to solve optimization problems minimizing cost/fitness function associated by user.

Introduction

This proyect was originally create for optimizing several metrics in a maritime environment. The parameters of this tool was coded to represent all of metrics in a binary genome of size 14.

Execution

At the top of Main.class, the next parameters must be modified depending of the problem:

  • populationSize: number of individuals in population.
  • tourSize: number of inidivuals that compete in tournaments.
  • n_iter: number of iterations.
  • geneLength: lenght of gen. It is fix by the problem.
  • mutationRate: probability of one gen within a genome is changed by mutation method.
  • uniformRate: probability of one gen within a genome is inherited by its "father" or its "mother".

Futhermore, it is necessary to define cost/fitness function (in "INSERT YOUR CODE HERE" comments) depending on the problem that you want to solve.

About

Proyect developed in Java 1.8 to solve optimization problems minimize cost or fitness funtion associate by user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages