Skip to content

Genetic algorithm that evolves a population to match a phrase given as input.

Notifications You must be signed in to change notification settings

alexandrumeterez/MonkeyType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MonkeyType

Evolutionary based algorithm that grows to match a phrase given as input.

About the project

An individual is marked as a phrase the same length as the target one, formed randomly from ASCII characters and spaces. After every generation, the top 2 fittest individuals are picked and mated(by randomly choosing a crossover point and forming the children by cutting the strings at that point and joining them) and mutated with a probability(a letter is randomly modified).

The fitness function is the number of characters that are the same between the individual and the target phrase.

Authors

  • Alexandru Meterez

License

This project is licensed under the MIT License.

About

Genetic algorithm that evolves a population to match a phrase given as input.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages