This is a repository that contains genetic algorithms written in javascript using typescript. The written algorithms are based on the book called "Genetic Algorithms with Python" by Clinton Sheppard.
The intention of create it with javascript is to see the execution directly in the browser.
For the installation is necessary to have the following tools:
You can install TypeScript using Node.js
- Install typescript
npm install -g typescript
- Clone the repository
https://github.com/EladioRocha/genetic-algorithms-js.git
- Access the project path
cd genetic-algorithms-js
- Compile .ts files to .js
tsc
Once installed the necessary tools, at this step you should be able to run the algorithms, to do this, we open the file index.html