node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป


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.