12-Genetic Algorithm
12-Genetic Algorithm
Keeps ‘k’ states for record and jump to best successor per need.
Genetic Algorithms (GAs) are search based algorithms based on the concepts of natural selection
and genetics.
GAs are a subset of a much larger branch of computation known as Evolutionary Computation.
Evolutionary algorithms have three main characteristics:
Population-Based The set of current solutions from which new solutions are to be generated is
called the population.
Fitness-Oriented There is a fitness value associated with each individual solution calculated from
a fitness function. Such fitness value reflects how good the solution is.
Variation-Driven individual solutions will undergo a number of variations to generate new
solutions.
The idea of selection phase is to select the fittest individuals and let them pass their genes
to the next generation.
Two pairs of individuals (parents) are selected based on their fitness scores. Individuals
with high fitness have more chance to be selected for reproduction.
Crossover
also called recombination, is a genetic operator used to combine the genetic information of two
parents to generate new offspring. ...
In certain new offspring formed, some of their genes can be subjected to a mutation with a low
random probability. This implies that some of the bits in the bit string can be flipped.
Mutation occurs to maintain diversity within the population and prevent premature convergence.
Note that without mutation the offspring will have all of its properties from its parents. To
add new features to such offspring, mutation took place
The individual after mutation is called mutant.
Total = 23
Total =
78
Combine an uphill tendency with random exploration and exchange of information among
parallel search threads.
Advantage, genetic algorithm comes from the crossover operation.
If the positions of the genetic code are permuted initially in a random order, a crossover
conveys no advantage.
Raises the level of granularity.
A useful block can be combined with other blocks to construct a solution.
Algorithm
Adversarial Search
Games
Alpha-Beta Pruning
To cover this topic, different reference material has been used for consultation.
Artificial Intelligence: A Modern Approach by Stuart J. Russell and Peter Norvig, 3 rd edition,