Professional Documents
Culture Documents
12/08/2021
TheGeneticAlgorithm
INTRODUCTION
Directed search algorithms based on the mechanics of biological evolution
To design artificial systems software that retains the robustness of natural
systems
12/08/2021
DEFINITION
Genetic algorithm (GA) is a search that mimics the
process of natural evolution. This heuristic is routinely
used to generate useful solutions
to optimization and search problems.
12/08/2021
ComponentsofaGA
A problem to solve, and ...
Encoding technique (gene, chromosome)
Initialization procedure (creation)
Evaluation function (environment)
Selection of parents (reproduction)
Genetic operators (mutation, recombination)
Parameter settings (practice and art)
12/08/2021
Ga cycle
children
reproduction modification
modified
parents children
population evaluation
evaluated children
deleted
members
discard
12/08/2021
Population :It can be any information , or data
12/08/2021
EXAMPLE:
A SALES PERSON HAVE TO VISIT 9 CITIES .
Find a tour of a given set of cities so that
each city is visited only once
the total distance traveled is minimized
12/08/2021
Initialize population: no of cities
Evaluate problem: visit each city once
Not Satisfied: by his schedule
Elect parents for reproduction: ways to
decide
Perform recombination and mutation:
made various ways to travel
Evaluate population: finally result
12/08/2021
SOLUTION WITH GA ORDINARY SOLUTION
12/08/2021
BENEFITSOFGA
Concept is easy to understand
Modular, separate from application
Supports multi-objective optimization
Good for “noisy” environments
Always an answer; answer gets better with time
Inherently parallel; easily distributed
12/08/2021
PROBLEMTOGA
The search space is large, complex or poorly
understood
Domain knowledge is scarce or expert knowledge is
difficult to encode to narrow the search space
No mathematical analysis is available
Traditional search methods fail
12/08/2021
CONCLUSION
Genetic Algorithms are easy to apply to a wide range of
problems, from optimization problems like the
traveling salesperson problem, to inductive concept
learning, scheduling, and layout problems. The results
can be very good on some problems, and rather poor
on others
12/08/2021