In computer science and operations research, a genetic algorithm (GA) is a metaheuristic inspired by the process of natural selection that belongs to the larger class of evolutionary algorithms (EA). Genetic algorithms are commonly used to generate high-quality solutions to optimization and search problems by relying on biologically inspired operators such as mutation, crossover and selection.
Simple project to introduce anyone to GA, currently the population will try to solve the One max problem.
- Java
- Gradle
- java
- intellij
- Build the project with gradle
- go into the main class and change the variable as you please
- run main