tesseradecades / dndCharGASandbox

A thought experiment in creating dnd characters using genetic algorithms
0 stars 0 forks source link

Initial Population #5

Open tesseradecades opened 5 years ago

tesseradecades commented 5 years ago

The process begins with a set of individuals which is called a Population. Each individual is a solution to the problem you want to solve.

An individual is characterized by a set of parameters (variables) known as Genes. Genes are joined into a string to form a Chromosome (solution).

In a genetic algorithm, the set of genes of an individual is represented using a string, in terms of an alphabet. Usually, binary values are used (string of 1s and 0s). We say that we encode the genes in a chromosome.