Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 2.26 KB

README.md

File metadata and controls

35 lines (24 loc) · 2.26 KB

GeneticAlgorithm

Refactoring and improving a gist from Ms Vijini Mallawaarachchi ( @Vini2 )
I also took the edit of @liangyihuai into account.

For this software I'll iteratively refactor the code with some of the best practices in the software industry. However, I kept the lab "sensation", hence, Ms Vijini Mallawaarachchi could keep experimenting in the public static void main() method, as most data scientists do ;)

I won't use fancy external lib such as for logging as I want Mrs Vijini Mallawaarachchi and her datascience readers to easily clone the repository and run it with no maven/gradle dependency to install.

This is my gift to her for her very interrresting article.

This repo focuses on :

  • Object Oriented Programming refactoring (if this work ins't done and she wants to continue improving her program, she'll find it harder to reuse the code if the structure is wobbly)
  • adding usefull and nice customizable printouts
  • going forward (I'try to add some more features I have in mind, relative to her genetic algorithm :) )

averroes96 contribution :

After reading Ms Vijini Mallawaarachchi's article, i came accross this optimized version to make it as the starting point to develop my study project which is about implementing a solution for SAT problem using genetic Algorithm with Java.

My contribution revolves around creating a simple GUI for Genetic Algorithms using :

  • javaFX
  • netbeans as IDE
  • SceneBuilder to design my interface
  • JFoenix library for material design

This interface is based on MVC modeling and offers the ability to specify :

  • Number of starting population
  • Number of genes per individual
  • Maximum number of generations
  • Showing the genetic poll for each individual - or not -
  • TextArea to print the generated results

with some large parameters