8000 GitHub - DKeAlvaro/Infinite-Monkey-Theorem: Watch monkeys randomly smash keyboards until they accidentally write "Hello World" . A genetic algorithm simulates evolution in Java
[go: up one dir, main page]

Skip to content

Watch monkeys randomly smash keyboards until they accidentally write "Hello World" . A genetic algorithm simulates evolution in Java

Notifications You must be signed in to change notification settings

DKeAlvaro/Infinite-Monkey-Theorem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infinite-Monkey-Theorem

monkey

Overview

In this assignment, we created a genetic algorithm that simulates a simplified version of the infinite monkey theorem. It tries to evolve a random set of strings to a desired sentence, in this case "Hello World".

We implemented all of our code in Java, using object-oriented programming principles and concepts of populations and genetics.

The goal of this assignment is to have a better understanding of how natural selection works through programming.

Running the Program

Simply run the class Practical2 and you will see how many generations it takes to evolve the population to the desired sentence.


Made with ❤️ and evolutionary algorithms

About

Watch monkeys randomly smash keyboards until they accidentally write "Hello World" . A genetic algorithm simulates evolution in Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0