150 likes | 394 Views
Applications of Genetic Algorithms. By Harry Beddo 3 rd Quarter. Basic Genetic Algorithm. Create Initial Population Pairing Mating Mutation Checking. Initial Population. Chromosome made up of 1’s and 0’s Large initial population. Pairing. Simple pairing Random pairing
E N D
Applications of Genetic Algorithms By Harry Beddo 3rd Quarter
Basic Genetic Algorithm • Create Initial Population • Pairing • Mating • Mutation • Checking
Initial Population • Chromosome made up of 1’s and 0’s • Large initial population
Pairing • Simple pairing • Random pairing • Random weighted pairing • Tournament style pairing
Mating • Random selection point • Crossover 010100110110101010001001 010101000010100101010101010100101010 101010101000010100111101 101010101011010111010101011010110110 010100110110101010001001 101010101011010111010101011010110110 101010101000010100111101 010101000010100101010101010100101010
Mutations • Change a 1 to a 0 and visa versa • Only 5%
Checking • Reached iteration limit • Convergence • Stops or goes back to pairing step
Cost Function • Cost = ANSWER EDCDEEEholdDDDholdEGGhold 101 100 011 100 101 101 101 000 100 100 100 000 101 111 111 000
Results • Find solution • Limit search area