Monochrome biomorphs
Alan Canon edited this page Jan 9, 2017
·
3 revisions
type
SwellType = (Swell, Same, Shrink);
CompletenessType = (Single, Double);
SpokesType = (NorthOnly, NSouth, Radial);
chromosome = array[1..9] of Integer;
person = record
gene: chromosome;
dgene: array[1..10] of SwellType;
SegNoGene: Integer;
SegDistGene: Integer;
CompletenessGene: CompletenessType;
SpokesGene: SpokesType;
tricklegene,
mutsizegene,
mutprobgene: Integer;
end;
The Monochrome biomorph genome starts with an array of nine genes, called "Gene 1" through "Gene 9", each of which has an accompanying "gradient" gene of SwellType, which can be one of Shrink, Same, or Swell.
SegNoGene is a plain integer.
SegDistGene is a plain integer, also decorated with a gradient (SwellType) gene.
CompletenessGene is of CompletenessType
SpokesGene is of SpokesType
The last three genes in the genome are integer, called Trickle, MutSizeGene (mutation size), and MutProbGene (mutation probabiliy.)