Skip to content

Refactoring and improving a gist from Vijini Mallawaarachchi

License

Notifications You must be signed in to change notification settings

averroes96/GeneticAlgorithm

This branch is 11 commits ahead of memento/GeneticAlgorithm:master.

Folders and files

NameName
Last commit message
Last commit date
Apr 8, 2020
Apr 8, 2020
Apr 8, 2020
Mar 18, 2020
Apr 8, 2020
Nov 14, 2019
Nov 14, 2019
Mar 18, 2020
Mar 12, 2020
Mar 12, 2020

Repository files navigation

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

About

Refactoring and improving a gist from Vijini Mallawaarachchi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.8%
  • CSS 3.2%