Monkey Business illustrates the reproduction of the famous Shakespeare phrase "To be or not to be, that is the question!" by a simple genetic algorithm. It was inspired by the American physical chemist Henry Bent regarding the 2nd Law of Thermodynamics: "At room temperature, for example, conversion of a single calorie of thermal energy completely into potential energy is a less likely event than the production of Shakespeare's complete works fifteen quadrillion times in succession without error by a tribe of wild monkeys punching randomly on a set of typewriters." The model uses successive strings (phrases) from a random population without crossover but mutating, with a fixed probability to match the given phrase. Strings are kept or discarded using a fitness function as described in the documentation.
Monkey Business was developed using the Easy Java/JavaScript Simulations (EjsS) version 5 modeling tool. It is distributed as a ready-to-run (compiled) Java archive.
Please note that this resource requires
at least version 1,6 of Java (JRE).
Monkey Business: Genetic Algorithm Source Code
The source code zip archive contains an XML representation of the Monkey Business Model. Unzip this archive in your EjsS workspace to compile and run this model using EjsS ver 5. download 52kb .zip
Last Modified: September 9, 2016
<a href="https://www.compadre.org/OSP/items/detail.cfm?ID=14071">Fernandes, Fernando Silva. "Monkey Business: A Genetic Algorithm Model." Version 1.0.</a>
F. Fernandes, Computer Program MONKEY BUSINESS: A GENETIC ALGORITHM MODEL, Version 1.0 (2016), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14071&DocID=4508).
F. Fernandes, Computer Program MONKEY BUSINESS: A GENETIC ALGORITHM MODEL, Version 1.0 (2016), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14071&DocID=4508>.
Fernandes, F. (2016). Monkey Business: A Genetic Algorithm Model (Version 1.0) [Computer software]. Retrieved October 3, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14071&DocID=4508
Fernandes, Fernando Silva. "Monkey Business: A Genetic Algorithm Model." Version 1.0. https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14071&DocID=4508 (accessed 3 October 2024).
%0 Computer Program %A Fernandes, Fernando Silva %D August 9, 2016 %T Monkey Business: A Genetic Algorithm Model %7 1.0 %8 August 9, 2016 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=14071&DocID=4508
Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.
The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Monkey Business: A Genetic Algorithm Model.