Genetic Algorithms Flashcards
Alteration (Crossover)
the random exchange of 2 parents’ chromosomes during reproduction, resulting in offspring that have some traits of each parent
Alteration requires
genetic diversity to ensure sufficiently varied offspring
Mutation
occurence of errors during the process of copying chromosome, can be harmful, beneficial, or neither
Natural Selection
the fittest survive in a competitive environment resulting in better organisms; better traits survive longer, better chance to reproduce; species improves as whole as better traits outnumber
representation of individuals for genetic algorithms
solutions represented as a vector of values
genetic algorithm
create initial population; evaluate fitness of each individual, check if termination criteria met; select parents according to fitness; recombine parents to generate offspring; mutate offspring; replace pop with new offspring
Initialization of population issues
size and diversity of initial population
A lack of diversity for initial population leads to what?
Premature convergence to a non-optimal solution
How is a diverse initial population generated?
uniformly random; grid initialization; non-clustering; local optimization
uniformly random
generate individuals randomly from a solution space with uniform distribution
grid initialization
choose individuals at regular “intervals” from the solution space
non-clustering
require individuals to be a predefined “distance” away from those already in the population
local optimization
find an initial population of local optima; does’t enforce diversity but guarantees solution to be no worse
evaluation ranks the individuals by what?
fitness measure
fitness measure
corresponds with the quality of the individual solutions