What's needed for evolutionary computation (abstract or real) to work
"Creatures" which
Give birth to other creatures, passing on their traits to them
Die
A way for traits to be passed on: an inherited genotype,
in interaction with the environment, results in a phenotype
A way of evaluating the creatures' traits: some aid in survival
or reproduction, others don't ("survival of the fittest")
A way of generating new traits: mutation
How it works
Each creature is born with some combination of traits;
it may not be possible to simply figure out what combination works
best for the environment of the creatures.
Creatures live their lives. Some survive long enough to reproduce
and have offspring.
If a particular trait or combination of traits helps creatures
reproduce or live longer, creatures with that trait (those traits)
will tend to have more offspring.
Creatures pass on (at least some of) their traits to their
offspring.
In sexual reproduction, they pass on a combination of the parents'
traits.
The percentage of creatures with the good traits
should increase on each generation.
There is a small probability that a new creature will end up with
some random traits which it did not inherit from its parent(s).
In this way new traits or combinations of traits can be tried out
in the world.