node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป


GA Sampler

GA Sampler stand for Genetic Algorithm Sampler, this Sampler focused on JS. i made this for my research purpose so you can use it and also develop it if you find something to be improved.

yeah i think there's a lot to be improved :-)

Development Methodology

GA Sampler use event driven programming and focused on main phase in Genetic Algorithm.

Short Description about Genetic Algorithm

genetic algorithm is an algorithm that mimics neutral evolution with 5 main phase:

  • init population

    generating all population, unit, or objects

  • fitness functions

    check how good the object is

  • selection

    natural selection, you know..

  • crossover

    married, joining DNA

  • mutation

    x-men? hmm..

GA used advantages of crossover to make a better generation.