For anyone who is a newcomer to Noble Ape here is a high level overview of the genetics and how it operates. This system is loosely, although not literally, based upon biological genetics. Currently there are no epigenetic switches, but that also might be added in later versions.
Chromosomes
Each individual has four diploid chromosomes, each consisting of 32bits with 2 bits per base. An example genome looks like the following:
| 1 |
2 |
3 |
4 |
|
| GTGTTGAA |
CACCAATA |
TTTTTAAT |
ATTTTGCA |
|
| TGGCCAAA |
CATGATGC |
TGTGGACA |
CCGGTTCA |
|
This may not look like much, but the genome could better be thought of as a program or a combinatorial system which can generate a larger set of information from a relatively small genetic origin.
Recombination
At conception we have the familiar crossover and mutation operators, along with the possibility for deletions or insertions. The crossover point for each chromosome is randomly selected.
In many genetic algorithms only point mutations provide a source of novelty, but here in addition a few types of transcription can also occur. With some probability, sections of the genome may be copied from one location in a chromosome to another, or between chromosomes. During transcription a chunk of genetic code may sometimes become inverted whilst in transit. This is a major source of genetic change and differences between siblings.
Genes
Gene values corresponding to, or influencing, phenotypic traits are extracted from the genome by taking pairs of bases from different locations and joining them together to make a single 4 bit value. The locations for the two bases are not necessarily sequential and are specified by regulator genes in separate areas of the genome. This means that phenotypes are a product of a web of inter-connected genes, and that an alteration in one gene might also have cascading effects upon others, resulting in non-trivial dynamics over successive generations. Changes in regulator genes may also have multiple effects on other genes, in line with the idea of punctuated equilibrium in evolution.
Some genes are sex linked. The first chromosome is inherited exclusively down the male or female line, such that a daughter inherits chromosome 1 from her mother and a son inherits chromosome 1 from his father. The outcome is that there can be sexual dimorphism in various characteristics, such as appearance and mating preferences.
Genes influencing physical appearance
These genes are sex linked, so that males and females may have different versions of the gene.
| GENE_RATE_OF_GROWTH |
Influences the rate of the growth in height |
|
| GENE_PIGMENTATION |
Determines the fur pigmentation |
|
| GENE_HAIR |
Determines the fur length |
|
| GENE_FRAME |
Determines the body frame |
|
| GENE_EYE_SHAPE |
Shape of the eyes |
|
| GENE_EYE_COLOR |
Colour of eyes |
|
| GENE_EYE_SEPARATION |
Separation between eyes (binocular effect) |
|
| GENE_NOSE_SHAPE |
Nose shape |
|
| GENE_EAR_SHAPE |
Ear shape |
|
| GENE_EYEBROW_SHAPE |
Eyebrow shape |
|
| GENE_MOUTH_SHAPE |
Mouth shape |
|
Genes influencing psychology
| GENE_POSITIVE_AFFECT_FADE |
Controls the rate of decay of episodic memories with positive affect |
|
| GENE_NEGATIVE_AFFECT_FADE |
Controls the rate of decay of episodic memories with negative affect |
|
| GENE_BRAINCODE_SENSORS |
Determines the initial percentage at birth of braincode instructions related to sensing |
|
| GENE_BRAINCODE_ACTUATORS |
Determines the initial percentage at birth of braincode instructions related to actions |
|
| GENE_BRAINCODE_CONDITIONALS |
Determines the initial percentage at birth of braincode instructions related to if/then conditionals |
|
| GENE_BRAINCODE_OPERATORS |
Determines the initial percentage at birth of braincode instructions related to operators, such as add, divide, move, etc |
|
| GENE_BRAINCODE_DATA |
Determines the initial percentage at birth of braincode instructions related to data storage |
|
Genes influencing behavior
| GENE_GROOM |
Biases the tendency to groom others |
|
| GENE_AGGRESSION |
How likely the ape is to engage in acts of aggression. You can think of this as regulating rate of testosterone production. |
|
| GENE_SPEED |
Influences how fast the ape can move |
|
| GENE_STAGGER |
Determines randomness in locomotion. This is only used as a placeholder if the cognitive simulation is disabled |
|
| GENE_SWIM |
Influences speed of swimming |
|
| GENE_HILL_CLIMB |
Controls how efficient the ape is at climbing |
|
| GENE_LATENT_ENERGY_USE |
Metabolic rate |
|
Genes influencing mating preferences
These genes are sex linked, such that males and females may have different versions of the gene.
| GENE_STATUS_PREFERENCE |
Weights the preference for social status |
|
| GENE_PIGMENTATION_PREFERENCE |
Determines the preference for fur pigmentation |
|
| GENE_HEIGHT_PREFERENCE |
Determines the preference for height |
|
| GENE_FRAME_PREFERENCE |
Determines the preference for body frame |
|
| GENE_HAIR_PREFERENCE |
Determines the preference for fur length |
|
| GENE_MATE_SEEK |
Determines the extent to which the ape seeks out previous mates |
|
| GENE_MATE_BOND |
How strong the bond must be between two apes before mating can occur |
|
| GENE_INCEST_AVERSION |
The degree to which the ape avoids mating with its close relations (based upon pheromone) |
|
Genes related to production of digestive enzymes
The efficiency of nutrient absorption for any food type is based upon a normalized weighted sum of these values. This helps to prevent an uninteresting scenario where all these values are driven to maximum, and creates trade-offs and the possibility for specialist grazers.
| GENE_ENERGY_FROM_VEGETABLES |
Efficiency of energy absorption from vegetables. |
|
| GENE_ENERGY_FROM_FRUITS |
Efficiency of energy absorption from fruits. |
|
| GENE_ENERGY_FROM_SHELLFISH |
Efficiency of energy absorption from shellfish. |
|
| GENE_ENERGY_FROM_SEAWEED |
Efficiency of energy absorption from seaweed. |
|
Inheritance
The double chromosomes also facilitates Mendelian inheritance, such that genes may be inherited but remain latent, with the possibility of them being expressed only in some later generation. This increases the informational carrying capacity of the genome, facilitating biodiversity. It also means that mutations or changes due to transcription may not necessarily be expressed in the current generation, but may turn up later.
Not by genes alone
There’s a fair amount of genetic determinism within Noble Ape, but genes don’t completely determine behavior or survival value. Largely in parallel to the genetics there is a system of cultural transmission, supported by the cognitive system, which can evolve independently.