Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Imagine a virtual world in which all that exists are strings of characters from the following set, namely, capital letters, a space, a hyphen, and
Imagine a virtual world in which all that exists are strings of characters from the following set,
namely, capital letters, a space, a hyphen, and an apostrophe:
A B C D E F G H I, J K L M N O P Q R S T U V W X Y Z
The
character stands for a blank space, and is displayed like this merely to be more easily
visible Strings in this world can reproduce new strings and die if they are not fit enough. You will
evolve strings in this world until they spell your name. To do this you will create a Genome class
which will contain a list of characters from the above set representing a string in your world, and
you will create a Population class which will contain a list of Genomes representing all the strings
in your world.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started