Delve into the intricacies of genetic algorithms, tailored to the IB Computer Science curriculum. These student notes provide a comprehensive understanding of how genetic algorithms, inspired by nature's evolutionary principles, play a pivotal role in problem-solving within the realm of computer sc...
Five phases are considered in a genetic algorithm.
1. Initial population
2. Fitness function
3. Selection
4. Crossover
5. Mutation
An individual is a solution to the problem, and a population is a set of individuals
Individuals are characterized by parameters (genes). A chromosome is a string of genes.
The fitness function determines how effective the solution is.
A pair of parents are chosen based on their fitness
Crossover swap the genes of the parent to create the offspring. The crossover point is
randomized.
Mutation also causes from genes to be changed, but with low probability
When a set of population converges (offspring are similar to parents) the solution is found.
, Each generations are better than the last
https://www.wikiwand.com/en/Genetic_algorithm
Solutions are traditionally represented by binary
Initial population is usually generated randomly
Other heuristics may be employed as well, such as speciation where crossover between
similar parents are penalized.
Doesn’t scale well with complexity
Elitism - Best version is unaltered to ensure that the quality doesn’t drop in the next
simulation
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller thanatvarinkittikasemsak. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.99. You're not tied to anything after your purchase.