Simple Genetic Algorithm base framework, supporting population, evaluation, mutators, crossover
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
samples
test
.gitignore
.npmignore
LICENSE
README.md
package.json
test.js

README.md

SimpleGA

Simple Genetic Algorithm base framework, supporting population, evaluation, mutators, crossover and next generation.

Reference http://reference.kfupm.edu.sa/content/g/e/a_genetic_algorithm_tutorial_80073.pdf

Installation

Via npm on Node:

npm install simplega

Usage

Reference in your program:

var simplega = require('simplega');

TBD

Development

git clone git://github.com/ajlopez/SimpleGA.git
cd SimpleGA
npm install
npm test

Samples

Travelling Saleman Problem console program.

TSP in browser.

TSP client/server.

Distributed TSP.

References

Books

  • Genetic Algorithm Essentials - Oliver Kramer (2017, Springer)
  • Genetic Algorithms + Data Structures = Evolution Programs, Zbigniew Michalewicz (1998, Springer)
  • Representations for Genetic and Evolutionary Algorithms - Franz Rothlauf (2006, Springer)
  • An Introduction to Genetic Algorithms - Melanie Mitchell (1998, Springer-Verlag)

To do

  • Samples
  • Distributed Sample

Contribution

Feel free to file issues and submit pull requests — contributions are welcome.

If you submit a pull request, please be sure to add or update corresponding test cases, and ensure that npm test continues to pass.

(Thanks to JSON5 by aseemk. This file is based on that project README.md).